PT-2026-166812

CVE-2026-142957

·

Published

2026-12-03

·

Updated

2026-12-03

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

In the Linux kernel, the following vulnerability has been resolved:
iio: temperature: hid-sensor-temperature: Use per-instance callbacks
hid-sensor-temperature keeps a single static struct hid sensor hub callbacks for all instances and overwrites its pdev in every probe. With two temperature sensors, input reports for one are delivered with the other's platform device; once that device is removed, platform get drvdata() returns NULL and temperature capture sample() dereferences it:
BUG: kernel NULL pointer dereference, address: 00000000000003a8 RIP: 0010:temperature capture sample+0xd/0x50 [hid sensor temperature]
The oops happens in sensor hub raw event() with the hub's spinlock held, so the hub's removal then hangs. It reproduces with two uhid devices that each declare a temperature sensor, one destroyed while the other still sends input reports.
Keep the callbacks in struct temperature state, as the other HID sensor drivers (accel, gyro, als, ...) do.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾