CVE-2026-98671

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

Published Oct 18, 2026 CVSS 3.1 · 2.3 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The sun4i-gpadc-iio driver in the Linux kernel fails to clean up allocated resources when thermal zone registration fails. If devm_thermal_of_zone_register() returns an error, the probe returns without releasing the IIO map array or disabling runtime power management. This leads to a leak of kernel memory and stale references in the driver, potentially causing kernel instability or a denial of service after repeated failures, a flaw classified as CWE-749 and CWE-772.

Affected Systems

This vulnerability affects any Linux kernel that includes the sun4i-gpadc-iio driver before the patch. Devices running earlier kernel releases that provide this driver are potentially impacted. The vendor is Linux kernel, and the specific versions are not listed in the advisory, so any kernel prior to the fix is considered vulnerable.

Risk and Exploitability

The CVSS score is 2.3 and the EPSS score is < 1%. The CVE is not in the CISA KEV catalog. The flaw can be exploited only if an attacker can trigger the failed thermal zone registration, which typically requires local access or control over device tree configuration. While the likelihood of remote exploitation is low, repeated failures may exhaust kernel memory or destabilize the system, resulting in a denial of service. The overall risk is moderate due to the limited attack surface and the need for local privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the sun4i-gpadc-iio cleanup fix.
  • If a kernel upgrade is not immediately possible, disable the sun4i-gpadc-iio driver or remove the device from the device tree to prevent its initialization.
  • Monitor system logs for thermal zone registration failures and reboot the system after any failure to reset runtime power management state.

Generated by OpenCVE AI on October 22, 2026 at 21:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4906-1 linux security update
Ubuntu USN Ubuntu USN USN-9018-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9018-2 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9167-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9168-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9168-2 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9167-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9168-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9168-4 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9167-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 2.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-749
Type Values Removed Values Added
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.
Title iio: adc: sun4i-gpadc-iio: clean up on thermal zone registration failure
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-749

    Exposed Dangerous Method or Function

  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:38 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 18, 2026, 4:17 PM
Modified
Oct 30, 2026, 1:21 PM
Severity
Low
Public date
Oct 18, 2026, 12:00 AM