CVE-2026-64492 PUBLISHED

iio: temperature: tmp006: use devm_iio_trigger_register

Assigner: Linux
Reserved: 19.07.2026 Published: 25.07.2026 Updated: 25.07.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 91f75ccf9f032e17cde54f0c01eae2da4f067bc5 to a4f8491da9563ba6eb77969ac26fc7052114c476 (excl.)
  • affected from 91f75ccf9f032e17cde54f0c01eae2da4f067bc5 to d90f868f56a16e10eedc6552f48d99dff4d275b7 (excl.)
  • affected from 91f75ccf9f032e17cde54f0c01eae2da4f067bc5 to 3c5eed894efd93d68d7f6a359a81ddef0e928774 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.13 is affected
  • unaffected from 0 to 6.13 (excl.)
  • unaffected from 6.18.39 to 6.18.* (incl.)
  • unaffected from 7.1.4 to 7.1.* (incl.)
  • unaffected from 7.2-rc1 to * (incl.)

References