Skip to contentSkip to conversation

CVE-2026-98671: iio: adc: sun4i-gpadc-iio: clean up on thermal zone registration failure

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 18

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: sun4i-gpadc-iio: clean up on thermal zone registration failure

If devm_thermal_of_zone_register() fails, probe returns without unregistering the IIO map array or disabling runtime PM.

Jump to err_map to release them.

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

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

	Issue introduced in 4.15 with commit b0a242894f11d2a357a77e0eedebb16477151ddd and fixed in 6.12.113 with commit 1bad19e598cd77884d812fd2f88b05c635b5e7ad
	Issue introduced in 4.15 with commit b0a242894f11d2a357a77e0eedebb16477151ddd and fixed in 6.18.56 with commit d74c2489acc5f0a281e7ad00b94912235729a911
	Issue introduced in 4.15 with commit b0a242894f11d2a357a77e0eedebb16477151ddd and fixed in 7.2.10 with commit feae7e0f40d607dda57d476da65beaae76a45142
	Issue introduced in 4.15 with commit b0a242894f11d2a357a77e0eedebb16477151ddd and fixed in 7.3-rc6 with commit 2cdc7ef31827db4fbc6283750420639569e1f0e9

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

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/sun4i-gpadc-iio.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/1bad19e598cd77884d812fd2f88b05c635b5e7ad
	https://git.kernel.org/stable/c/d74c2489acc5f0a281e7ad00b94912235729a911
	https://git.kernel.org/stable/c/feae7e0f40d607dda57d476da65beaae76a45142
	https://git.kernel.org/stable/c/2cdc7ef31827db4fbc6283750420639569e1f0e9