---
id: "CVE-2026-98671"
kind: "vulnerability"
aliases: ["CVE-2026-98671"]
title: "Linux kernel: sun4i ADC probe leaks resources after thermal registration failure"
severity: "unknown"
cvss: null
epss: null
exploited: false
status: "open"
category: "infrastructure"
products: []
ecosystems: []
tags: ["allwinner-sun4i", "iio", "infrastructure", "linux-kernel"]
not_affected_if: []
published_at: "2026-10-18T16:17:20+00:00"
first_seen_at: "2026-10-23T21:57:16+00:00"
updated_at: "2026-10-25T05:19:20+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98671", "first_seen_at": "2026-10-23T21:57:16+00:00"}]
---

# Linux kernel: sun4i ADC probe leaks resources after thermal registration failure

In the Linux IIO driver for the Allwinner sun4i GPADC, a failed thermal zone registration makes probe return without unregistering the IIO map or disabling runtime PM. The fix jumps to the existing cleanup label so those resources are released.

_Summary, check and fix written by a model from the sources; labelled as such._

## Timeline

- 2026-10-23T21:57:16+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-98671

## From the sources

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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
