---
id: CVE-2026-98671
title: 'iio: adc: sun4i-gpadc-iio: clean up on thermal zone registration failure'
summary: |-
  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 arra…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= b0a242894f11d2a357a77e0eedebb16477151ddd <
    1bad19e598cd77884d812fd2f88b05c635b5e7ad
  - >-
    Linux >= b0a242894f11d2a357a77e0eedebb16477151ddd <
    d74c2489acc5f0a281e7ad00b94912235729a911
  - >-
    Linux >= b0a242894f11d2a357a77e0eedebb16477151ddd <
    feae7e0f40d607dda57d476da65beaae76a45142
  - >-
    Linux >= b0a242894f11d2a357a77e0eedebb16477151ddd <
    2cdc7ef31827db4fbc6283750420639569e1f0e9
  - Linux 4.15
published: '2026-10-18'
updated: '2026-10-18'
sourceUpdated: '2026-10-18T15:45:17.500Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-98671'
references:
  - url: 'https://git.kernel.org/stable/c/1bad19e598cd77884d812fd2f88b05c635b5e7ad'
  - url: 'https://git.kernel.org/stable/c/d74c2489acc5f0a281e7ad00b94912235729a911'
  - url: 'https://git.kernel.org/stable/c/feae7e0f40d607dda57d476da65beaae76a45142'
  - url: 'https://git.kernel.org/stable/c/2cdc7ef31827db4fbc6283750420639569e1f0e9'
tags:
  - cve.org
ingestedAt: '2026-10-18T16:47:32.532Z'
---

## Overview

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.

## Affected

- `Linux >= b0a242894f11d2a357a77e0eedebb16477151ddd < 1bad19e598cd77884d812fd2f88b05c635b5e7ad`
- `Linux >= b0a242894f11d2a357a77e0eedebb16477151ddd < d74c2489acc5f0a281e7ad00b94912235729a911`
- `Linux >= b0a242894f11d2a357a77e0eedebb16477151ddd < feae7e0f40d607dda57d476da65beaae76a45142`
- `Linux >= b0a242894f11d2a357a77e0eedebb16477151ddd < 2cdc7ef31827db4fbc6283750420639569e1f0e9`
- `Linux 4.15`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
