CVE-2026-64492

iio: temperature: tmp006: use devm_iio_trigger_register

Published Jul 25, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

iio: temperature: tmp006: use devm_iio_trigger_register

tmp006_probe() allocates the DRDY trigger with devm_iio_trigger_alloc()
but registers it with plain iio_trigger_register(). The driver has no
.remove() callback, so on module unload the trigger stays in the global
trigger list while its memory is freed by devm, leaving a dangling
entry.

Switch to devm_iio_trigger_register() so the registration is undone in
the same devm scope as the allocation.

Analysis

AI-generated

Technical impact

In the tmp006 driver for the Linux kernel, the probe routine allocates a data‑ready trigger with devm_iio_trigger_alloc but registers it using iio_trigger_register. The driver has no .remove() callback, so when the module is unloaded the trigger remains in the global trigger list while its memory is freed by the device‑managed allocator, creating a dangling pointer. This resource‑management flaw, identified as CWE‑416 and CWE‑825, can lead to kernel instability or a panic, effectively denying service to the system.

Affected Systems

The vulnerability affects any Linux kernel that includes the unpatched tmp006 temperature sensor driver in the Industrial I/O (IIO) subsystem. Because no specific kernel version is identified, any build containing the unpatched driver is potentially at risk.

Risk and Exploitability

The EPSS score of 0.00126 indicates a low probability of exploitation in the wild, and the vulnerability is not listed in the CISA KEV catalog. The CVSS score of 5.5 indicates moderate severity. The likely attack vector involves an attacker with local root privileges who loads or unloads the tmp006 module, triggering the dangling entry and potentially causing a crash. Exploitation would require kernel‑level or local privileges; remote exploitation is unlikely without additional vectors. Even with the low EPSS probability, a kernel crash can lead to an unplanned reboot or data loss.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel or apply the vendor‑supplied patch that switches tmp006_probe() to use devm_iio_trigger_register so registration is automatically released with deallocation.
  • If an upgrade is not yet available, avoid unloading the tmp006 module while the system is running to prevent the dangling entry from forming.
  • Continuously monitor kernel logs for crash or panic messages related to the IIO subsystem; if such events occur, perform a kernel dump analysis and restrict further module operations until a fix is applied.

Generated by OpenCVE AI on November 22, 2026 at 23:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8726-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8727-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-3 Linux kernel (IBM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8800-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-2 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-4 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-416
Metrics cvssV3_1

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

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: iio: temperature: tmp006: use devm_iio_trigger_register tmp006_probe() allocates the DRDY trigger with devm_iio_trigger_alloc() but registers it with plain iio_trigger_register(). The driver has no .remove() callback, so on module unload the trigger stays in the global trigger list while its memory is freed by devm, leaving a dangling entry. Switch to devm_iio_trigger_register() so the registration is undone in the same devm scope as the allocation.
Title iio: temperature: tmp006: use devm_iio_trigger_register
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 17, 2026, 4:56 AM
Reserved
Jul 19, 2026, 3:36 PM
Status
Analyzed
Published
Jul 25, 2026, 10:17 AM
Modified
Nov 18, 2026, 9:47 PM
Severity
Moderate
Public date
Jul 25, 2026, 12:00 AM