{"id":"CVE-2026-31389","aliases":["CVE-2026-31389"],"related":[],"kind":"vulnerability","state":"published","title":"spi: fix use-after-free on controller registration failure","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nspi: corrección de uso después de liberación en caso de fallo de registro del controlador\n\nAsegúrese de anular el registro del núcleo del controlador también en el improbable caso de que falle la asignación de estadísticas por CPU durante el registro del controlador para evitar el uso después de liberación (de recursos del controlador) y los accesos a registros sin reloj.","source":"nvd"}],"published":"2026-04-03T15:15:55.068Z","modified":"2026-11-10T13:18:50.243Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"6598b91b5ac32bc756d7c3000a31f775d4ead1c4","fixed":"0e23f50086da7d0b183dfeac26021acfcdee086b","status":"affected"},{"type":"git","introduced":"6598b91b5ac32bc756d7c3000a31f775d4ead1c4","fixed":"6bbd385b30c7fb6c7ee0669e9ada91490938c051","status":"affected"},{"type":"git","introduced":"6598b91b5ac32bc756d7c3000a31f775d4ead1c4","fixed":"afe27c1f43aa57530011f419be6ddf71306565d2","status":"affected"},{"type":"git","introduced":"6598b91b5ac32bc756d7c3000a31f775d4ead1c4","fixed":"80f3e8cd2b4ad355b2ad2024cf423f6d183404f7","status":"affected"},{"type":"git","introduced":"6598b91b5ac32bc756d7c3000a31f775d4ead1c4","fixed":"23b51bad2eb8787aa74324cfccefb258515ae5ba","status":"affected"},{"type":"git","introduced":"6598b91b5ac32bc756d7c3000a31f775d4ead1c4","fixed":"8634e05b08ead636e926022f4a98416e13440df9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.0","status":"unaffected"},{"type":"semver","introduced":"6.1.167","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.130","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.78","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.20","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.10","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.0","fixed":"6.1.167"},{"status":"affected","introduced":"6.2","fixed":"6.6.130"},{"status":"affected","introduced":"6.7","fixed":"6.12.78"},{"status":"affected","introduced":"6.13","fixed":"6.18.20"},{"status":"affected","introduced":"6.19","fixed":"6.19.10"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0e23f50086da7d0b183dfeac26021acfcdee086b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6bbd385b30c7fb6c7ee0669e9ada91490938c051","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/afe27c1f43aa57530011f419be6ddf71306565d2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/80f3e8cd2b4ad355b2ad2024cf423f6d183404f7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/23b51bad2eb8787aa74324cfccefb258515ae5ba","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8634e05b08ead636e926022f4a98416e13440df9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:08:39.847Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31389","url":"https://www.cve.org/CVERecord?id=CVE-2026-31389","licence":"CVE Terms of Use","modified":"2026-11-10T12:43:47.019Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31389","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31389","licence":"Public domain","modified":"2026-11-10T13:18:50.243Z"}],"updatedAt":"2026-11-25T22:59:17.899Z","epss":{"score":0.00176,"percentile":0.07428,"date":"2026-12-02T12:00:21.000Z"}}