Skip to contentSkip to conversation

CVE-2025-38547: iio: adc: axp20x_adc: Add missing sentinel to AXP717 ADC channel maps

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 16, 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:

iio: adc: axp20x_adc: Add missing sentinel to AXP717 ADC channel maps

The AXP717 ADC channel maps is missing a sentinel entry at the end. This causes a KASAN warning.

Add the missing sentinel entry.

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

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

	Issue introduced in 6.12 with commit 5ba0cb92584ba5e107c97001e09013c1da0772a8 and fixed in 6.12.40 with commit 086a76474121bf2351438e311376ec67b410b2ea
	Issue introduced in 6.12 with commit 5ba0cb92584ba5e107c97001e09013c1da0772a8 and fixed in 6.15.8 with commit 0c0c01c88bb69951539539d2001e67f0c613001f
	Issue introduced in 6.12 with commit 5ba0cb92584ba5e107c97001e09013c1da0772a8 and fixed in 6.16 with commit 3281ddcea6429f7bc1fdb39d407752dd1371aba9

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

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/iio/adc/axp20x_adc.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/086a76474121bf2351438e311376ec67b410b2ea
	https://git.kernel.org/stable/c/0c0c01c88bb69951539539d2001e67f0c613001f
	https://git.kernel.org/stable/c/3281ddcea6429f7bc1fdb39d407752dd1371aba9