CVE 7.8 HIGH

spi: fix use-after-free on controller registration failure_CVE-2026-31389

7.8 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

In the Linux kernel, the following vulnerability has been resolved:

spi: fix use-after-free on controller registration failure

Make sure to deregister from driver core also in the unlikely event that
per-cpu statistics allocation fails during controller registration to
avoid use-after-free (of driver resources) and unclocked register
accesses.

Basic Information

ID CVE-2026-31389
Source Linux
Published Apr 3, 2026 at 15:15
Modified Apr 27, 2026 at 14:02

Affected Product

Vendor Linux
Product Linux
Version 6598b91b5ac32bc756d7c3000a31f775d4ead1c4
Affected Versions Linux Linux 6598b91b5ac32bc756d7c3000a31f775d4ead1c4
Linux Linux 6598b91b5ac32bc756d7c3000a31f775d4ead1c4
Linux Linux 6598b91b5ac32bc756d7c3000a31f775d4ead1c4
Linux Linux 6598b91b5ac32bc756d7c3000a31f775d4ead1c4
Linux Linux 6598b91b5ac32bc756d7c3000a31f775d4ead1c4
Linux Linux 6598b91b5ac32bc756d7c3000a31f775d4ead1c4
Linux Linux 6.0

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.