Skip to contentSkip to conversation

CVE-2025-38573: spi: cs42l43: Property entry should be a null-terminated array

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 19, 2025

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: cs42l43: Property entry should be a null-terminated array

The software node does not specify a count of property entries, so the array must be null-terminated.

When unterminated, this can lead to a fault in the downstream cs35l56 amplifier driver, because the node parse walks off the end of the array into unknown memory.

The Linux kernel CVE team has assigned CVE-2025-38573 to this issue.

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

	Issue introduced in 6.11 with commit 0ca645ab5b1528666f6662a0e620140355b5aea3 and fixed in 6.12.42 with commit 674328102baad76c7a06628efc01974ece5ae27f
	Issue introduced in 6.11 with commit 0ca645ab5b1528666f6662a0e620140355b5aea3 and fixed in 6.15.10 with commit 9f0035ae38d2571f5ddedc829d74492013caa625
	Issue introduced in 6.11 with commit 0ca645ab5b1528666f6662a0e620140355b5aea3 and fixed in 6.16.1 with commit 139b5df757a0aa436f763b0038e0b73808d2f4b6
	Issue introduced in 6.11 with commit 0ca645ab5b1528666f6662a0e620140355b5aea3 and fixed in 6.17-rc1 with commit ffcfd071eec7973e58c4ffff7da4cb0e9ca7b667

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-2025-38573

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-cs42l43.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/674328102baad76c7a06628efc01974ece5ae27f
	https://git.kernel.org/stable/c/9f0035ae38d2571f5ddedc829d74492013caa625
	https://git.kernel.org/stable/c/139b5df757a0aa436f763b0038e0b73808d2f4b6
	https://git.kernel.org/stable/c/ffcfd071eec7973e58c4ffff7da4cb0e9ca7b667