CVE-2026-142957

Not scored yetLast modified Dec 3, 2026

Description

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-142958In the Linux kernel, the following vulnerability has been resolved: iio: proximity: sx9500: ignore event config writes that don't change stCVE-2026-142959In the Linux kernel, the following vulnerability has been resolved: iio: light: tsl2591: don't divide by zero The TSL2591 has two raw lighCVE-2026-142967.5When using the Direct XIP update strategy, the main application image starts other cores (i.e. radio core), based on the currently active slCVE-2026-142960In the Linux kernel, the following vulnerability has been resolved: iio: imu: kmx61: reject duplicate event disable The IIO core does not CVE-2026-142961In the Linux kernel, the following vulnerability has been resolved: iio: humidity: hid-sensor-humidity: Use per-instance callbacks hid-senCVE-2026-142962In the Linux kernel, the following vulnerability has been resolved: iio: gyro: bmg160: reject duplicate event disable The IIO core does noCVE-2026-142963In the Linux kernel, the following vulnerability has been resolved: iio: accel: kxsd9: Fix potential use-after-free on removal UnregisteriCVE-2026-142964In the Linux kernel, the following vulnerability has been resolved: USB: serial: io_edgeport: fix potential use-after-free on disconnect TCVE-2026-142965In the Linux kernel, the following vulnerability has been resolved: USB: serial: io_edgeport: fix potential fifo corruption The device bufCVE-2026-142966In the Linux kernel, the following vulnerability has been resolved: USB: serial: io_edgeport: fix potential NULL-deref at open Do not markCVE-2026-142967In the Linux kernel, the following vulnerability has been resolved: USB: serial: io_edgeport: fix potential close() use-after-free Add theCVE-2026-142968In the Linux kernel, the following vulnerability has been resolved: USB: serial: io_edgeport: fix NULL-deref on early status The driver su
CVE-2026-142957: Unscored | Vulnix