CVE-2026-142961: iio: humidity: hid-sensor-humidity: Use per-instance callbacks
iio: humidity: hid-sensor-humidity: Use per-instance callbacks
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Compensating control
In hid-sensor-humidity, keep the hid_sensor_hub_callbacks in struct hid_humidity_state and use per-instance callbacks instead of a single static callback structure shared across sensor instances.
Event History
Frequently Asked Questions
Which systems are exposed to the failure condition?
Systems with more than one HID humidity sensor instance are exposed because the driver shares one callback structure across all instances. The same shared-code issue also affects hid-sensor-temperature.
What sequence can lead to a kernel NULL dereference?
One sensor instance must overwrite the shared callback device pointer, then the device currently referenced by that pointer must be removed. A later input report from the other sensor can then be delivered using the removed device and cause a NULL dereference.
What does the available fix change?
The fix stores callback data per device instance in struct hid_humidity_state instead of using a single static callback structure shared by all instances. This prevents one sensor probe from replacing another sensor's callback device pointer.