← CVE Intelligence

CVE-2026-64492

iio: temperature: tmp006: use devm_iio_trigger_register PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 91f75ccf9f032e17cde54f0c01eae2da4f067bc5 before a4f8491da9563ba6eb77969ac26fc7052114c476; affected 91f75ccf9f032e17cde54f0c01eae2da4f067bc5 before d90f868f56a16e10eedc6552f48d99dff4d275b7; affected 91f75ccf9f032e17cde54f0c01eae2da4f067bc5 before 3c5eed894efd93d68d7f6a359a81ddef0e928774
Linux / Linuxaffected 6.13; unaffected 0 before 6.13; unaffected 6.18.39 through 6.18.*; unaffected 7.1.4 through 7.1.*; unaffected 7.2 through *

CWE

No CWE identifiers supplied.

References