Skip to contentSkip to conversation

CVE-2026-72167: mtd: rawnand: pl353: fix probe resource allocation

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 15

lore
Share & tools
lore
#0 lore raw

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

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

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

mtd: rawnand: pl353: fix probe resource allocation

During probe(), the devm_ioremap() is called with the parent device instead of the current one. So when the module is unloaded, the register area isn't released.

Target the pl35x device in the devm_ioremap() instead of its parent.

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

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

	Issue introduced in 5.14 with commit 08d8c62164a322eb923034acacf25246b775593a and fixed in 5.15.212 with commit 593201a8f43864cb7e25197095f6716a589584fd
	Issue introduced in 5.14 with commit 08d8c62164a322eb923034acacf25246b775593a and fixed in 6.1.178 with commit 862c6738833b5b01c801cc47023272f5eaa9a7b2
	Issue introduced in 5.14 with commit 08d8c62164a322eb923034acacf25246b775593a and fixed in 6.6.145 with commit afddc648403511b6d2e978e73686c77549bc72b3
	Issue introduced in 5.14 with commit 08d8c62164a322eb923034acacf25246b775593a and fixed in 6.12.97 with commit c4c9180b3b23f82e1ec429350b420c45c5b5100e
	Issue introduced in 5.14 with commit 08d8c62164a322eb923034acacf25246b775593a and fixed in 6.18.40 with commit ace3a0c839f3bfe1779c6708e7709c824b96dc2f
	Issue introduced in 5.14 with commit 08d8c62164a322eb923034acacf25246b775593a and fixed in 7.1.5 with commit 3c44f6c62f652d3ac9d03beb8a199e6388256cdd
	Issue introduced in 5.14 with commit 08d8c62164a322eb923034acacf25246b775593a and fixed in 7.2-rc1 with commit 19ed11aee966d91beebdef9d32ce926474872f79

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-72167

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/mtd/nand/raw/pl35x-nand-controller.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/593201a8f43864cb7e25197095f6716a589584fd
	https://git.kernel.org/stable/c/862c6738833b5b01c801cc47023272f5eaa9a7b2
	https://git.kernel.org/stable/c/afddc648403511b6d2e978e73686c77549bc72b3
	https://git.kernel.org/stable/c/c4c9180b3b23f82e1ec429350b420c45c5b5100e
	https://git.kernel.org/stable/c/ace3a0c839f3bfe1779c6708e7709c824b96dc2f
	https://git.kernel.org/stable/c/3c44f6c62f652d3ac9d03beb8a199e6388256cdd
	https://git.kernel.org/stable/c/19ed11aee966d91beebdef9d32ce926474872f79