CVE-2026-46301: spi: topcliff-pch: fix use-after-free on unbind
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
spi: topcliff-pch: fix use-after-free on unbind
Give the driver a chance to flush its queue before releasing the DMA buffers on driver unbind
The Linux kernel CVE team has assigned CVE-2026-46301 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.1 with commit c37f3c2749b53225d36faa5c583203c5f12ae15b and fixed in 5.10.258 with commit 43334836b907adc21eab3079d2e6b26754468786 Issue introduced in 3.1 with commit c37f3c2749b53225d36faa5c583203c5f12ae15b and fixed in 5.15.209 with commit 36e58c436d2c2a797800427dc04d74ffd8b6ce1c Issue introduced in 3.1 with commit c37f3c2749b53225d36faa5c583203c5f12ae15b and fixed in 6.1.175 with commit 4ca90deeca1c7dd72c1c380ba8143565516def2d Issue introduced in 3.1 with commit c37f3c2749b53225d36faa5c583203c5f12ae15b and fixed in 6.6.140 with commit d79e92161b65832e0b8cad5f3d84d17e5cd7a970 Issue introduced in 3.1 with commit c37f3c2749b53225d36faa5c583203c5f12ae15b and fixed in 6.12.88 with commit 8822980668c96b5aa251c1e2daec1873262b8f3f Issue introduced in 3.1 with commit c37f3c2749b53225d36faa5c583203c5f12ae15b and fixed in 6.18.30 with commit d50ef3553acbacce6f2843304d41d06dca358bb6 Issue introduced in 3.1 with commit c37f3c2749b53225d36faa5c583203c5f12ae15b and fixed in 7.0.7 with commit 0e8e57f9737ea257634db1d152fc430a0788a3e1 Issue introduced in 3.1 with commit c37f3c2749b53225d36faa5c583203c5f12ae15b and fixed in 7.1-rc1 with commit 9d72732fe70c11424bc90ed466c7ccfa58b42a9a
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-46301
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-topcliff-pch.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/43334836b907adc21eab3079d2e6b26754468786 https://git.kernel.org/stable/c/36e58c436d2c2a797800427dc04d74ffd8b6ce1c https://git.kernel.org/stable/c/4ca90deeca1c7dd72c1c380ba8143565516def2d https://git.kernel.org/stable/c/d79e92161b65832e0b8cad5f3d84d17e5cd7a970 https://git.kernel.org/stable/c/8822980668c96b5aa251c1e2daec1873262b8f3f https://git.kernel.org/stable/c/d50ef3553acbacce6f2843304d41d06dca358bb6 https://git.kernel.org/stable/c/0e8e57f9737ea257634db1d152fc430a0788a3e1 https://git.kernel.org/stable/c/9d72732fe70c11424bc90ed466c7ccfa58b42a9a