Skip to contentSkip to conversation

CVE-2026-46219: spi: mpc52xx: fix use-after-free on unbind

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 28

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

spi: mpc52xx: fix use-after-free on unbind

The state machine work is scheduled by the interrupt handler and therefore needs to be cancelled after disabling interrupts to avoid a potential use-after-free.

The Linux kernel CVE team has assigned CVE-2026-46219 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.6.66 with commit f65d85bc1ffd8a2c194bb2cd65e35ed3648ddd59 and fixed in 6.6.140 with commit bb6b50f709c5a01906ff72a07fdc070bb3357188
	Issue introduced in 6.12.5 with commit 90b72189de2cddacb26250579da0510b29a8b82b and fixed in 6.12.90 with commit ee52da0dd83ebcd89ecbbe2660c57b15a25489f2
	Issue introduced in 6.13 with commit 984836621aad98802d92c4a3047114cf518074c8 and fixed in 6.18.32 with commit 6c3e413919a12627d04a31a4a5fccb9fc129bb02
	Issue introduced in 6.13 with commit 984836621aad98802d92c4a3047114cf518074c8 and fixed in 7.0.9 with commit bbcd6dd8e9f264440eaf6167382bf404911c1c46
	Issue introduced in 6.13 with commit 984836621aad98802d92c4a3047114cf518074c8 and fixed in 7.1-rc1 with commit 706b3dc2ac7a998c55e14b3fd2e8f934c367e6e0
	Issue introduced in 5.4.287 with commit d0cde3911cf24e1bcdd4caa1d1b9ef57589db5a1
	Issue introduced in 5.10.231 with commit e0c6ce8424095c2da32a063d3fc027494c689817
	Issue introduced in 5.15.174 with commit cd5106c77d6d6828aa82449f01f4eb436d602a21
	Issue introduced in 6.1.120 with commit 373d55a47dc662e5e30d12ad5d334312f757c1f1

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-46219

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/spi/spi-mpc52xx.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/bb6b50f709c5a01906ff72a07fdc070bb3357188
	https://git.kernel.org/stable/c/ee52da0dd83ebcd89ecbbe2660c57b15a25489f2
	https://git.kernel.org/stable/c/6c3e413919a12627d04a31a4a5fccb9fc129bb02
	https://git.kernel.org/stable/c/bbcd6dd8e9f264440eaf6167382bf404911c1c46
	https://git.kernel.org/stable/c/706b3dc2ac7a998c55e14b3fd2e8f934c367e6e0