{"id":"CVE-2026-31389","published":"2026-04-03T15:15:55Z","modified":"2026-11-10T12:43:47Z","title":"spi: fix use-after-free on controller registration failure","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: fix use-after-free on controller registration failure\n\nMake sure to deregister from driver core also in the unlikely event that\nper-cpu statistics allocation fails during controller registration to\navoid use-after-free (of driver resources) and unclocked register\naccesses.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00127,"percentile":0.02419,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/stable/c/0e23f50086da7d0b183dfeac26021acfcdee086b","tags":[]},{"url":"https://git.kernel.org/stable/c/6bbd385b30c7fb6c7ee0669e9ada91490938c051","tags":[]},{"url":"https://git.kernel.org/stable/c/afe27c1f43aa57530011f419be6ddf71306565d2","tags":[]},{"url":"https://git.kernel.org/stable/c/80f3e8cd2b4ad355b2ad2024cf423f6d183404f7","tags":[]},{"url":"https://git.kernel.org/stable/c/23b51bad2eb8787aa74324cfccefb258515ae5ba","tags":[]},{"url":"https://git.kernel.org/stable/c/8634e05b08ead636e926022f4a98416e13440df9","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[]}],"priority":{"score":5.9,"factors":[{"name":"EPSS percentile","points":0.48},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 6598b91b5ac32bc756d7c3000a31f775d4ead1c4, < 0e23f50086da7d0b183dfeac26021acfcdee086b",">= 6598b91b5ac32bc756d7c3000a31f775d4ead1c4, < 6bbd385b30c7fb6c7ee0669e9ada91490938c051",">= 6598b91b5ac32bc756d7c3000a31f775d4ead1c4, < afe27c1f43aa57530011f419be6ddf71306565d2",">= 6598b91b5ac32bc756d7c3000a31f775d4ead1c4, < 80f3e8cd2b4ad355b2ad2024cf423f6d183404f7",">= 6598b91b5ac32bc756d7c3000a31f775d4ead1c4, < 23b51bad2eb8787aa74324cfccefb258515ae5ba",">= 6598b91b5ac32bc756d7c3000a31f775d4ead1c4, < 8634e05b08ead636e926022f4a98416e13440df9"]},{"vendor":"Linux","product":"Linux","versions":["6.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T15:08:39.847987Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-18761","exploited":false,"provenance":"source"}}