AZL-117806: CVE-2026-142961 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
iio: humidity: hid-sensor-humidity: Use per-instance callbacks
hid-sensor-humidity keeps a single static struct hidsensorhubcallbacks for all instances and overwrites its pdev in every probe, so with two humidity sensors, input reports for one are delivered with the other's platform device, and a NULL dereference follows once that device is removed. The same bug was found in hid-sensor-temperature, which shares this code.
Keep the callbacks in struct hidhumiditystate, as the other HID sensor drivers (accel, gyro, als, ...) do.
Affected Software
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using the HID humidity sensor driver are affected when more than one humidity sensor instance is present. The related HID temperature sensor driver shares the affected code path.
What conditions are needed to trigger the failure?
Input reports must be handled for one humidity sensor after the shared callback state has been overwritten by another sensor instance. A NULL dereference can occur after the platform device associated with the misdirected report has been removed.
Is a single humidity sensor sufficient to trigger the described issue?
The described failure depends on the driver sharing one callback structure across multiple instances, so the reported scenario requires two humidity sensors. The provided information does not identify an issue with only one instance.