GHSA-fg54-gxf9-gvmvunknown
In the Linux kernel, the following vulnerability has been resolved: iio: temperature: tmp006:...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-64492
- https://git.kernel.org/stable/c/3c5eed894efd93d68d7f6a359a81ddef0e928774
- https://git.kernel.org/stable/c/a4f8491da9563ba6eb77969ac26fc7052114c476
- https://git.kernel.org/stable/c/d90f868f56a16e10eedc6552f48d99dff4d275b7
- https://github.com/advisories/GHSA-fg54-gxf9-gvmv