Security mailing lists by PureSourceCode

CVE-2026-142957

HIGH 8.8CVSS 3.1

iio: temperature: hid-sensor-temperature: Use per-instance callbacks

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.

Published
3 Dec 2026
Last modified
4 Dec 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE List Linux CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 59d0f2da35693bfbcf6ffb014213cb8e225c8928, < 2ad1c3e70c826892fc3a19b6c9a26489ee1f14cf; >= 59d0f2da35693bfbcf6ffb014213cb8e225c8928, < 36eeb26031e90eeb81bbac3d3acad61d23fcbdf3 2ad1c3e70c826892fc3a19b6c9a26489ee1f14cf, 36eeb26031e90eeb81bbac3d3acad61d23fcbdf3
CVE List Linux Linux = 4.12

References

History

  • 4 Dec 2026 05:56 UTC · NVD: scored 8.8
  • 4 Dec 2026 03:56 UTC · CVE List: scored 8.8
  • 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
  • 3 Dec 2026 10:07 UTC · CVE List: first stored (published 3 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.