| Name | CVE-2026-31389 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4561-1, DSA-6238-1, DSA-6243-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| linux (PTS) | bullseye | 5.10.223-1 | fixed |
| bullseye (security) | 5.10.251-4 | fixed | |
| bookworm | 6.1.159-1 | vulnerable | |
| bookworm (security) | 6.1.170-3 | fixed | |
| trixie | 6.12.73-1 | vulnerable | |
| trixie (security) | 6.12.86-1 | fixed | |
| forky, sid | 7.0.4-1 | fixed | |
| linux-6.1 (PTS) | bullseye (security) | 6.1.170-3~deb11u1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| linux | source | bullseye | (not affected) | |||
| linux | source | bookworm | 6.1.170-1 | DSA-6243-1 | ||
| linux | source | trixie | 6.12.85-1 | DSA-6238-1 | ||
| linux | source | (unstable) | 6.19.10-1 | |||
| linux-6.1 | source | bullseye | 6.1.170-1~deb11u1 | DLA-4561-1 |
[bullseye] - linux <not-affected> (Vulnerable code not present)
https://git.kernel.org/linus/8634e05b08ead636e926022f4a98416e13440df9 (7.0-rc5)