CVE-2026-142957
Last modified
CVE-2026-142957 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
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
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 59d0f2da35693bfbcf6ffb014213cb8e225c8928, < 2ad1c3e70c826892fc3a19b6c9a26489ee1f14cf; >= 59d0f2da35693bfbcf6ffb014213cb8e225c8928, < 36eeb26031e90eeb81bbac3d3acad61d23fcbdf3 |
| Linux | Linux | 4.12 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-142957?
How severe is CVE-2026-142957?
How do I fix CVE-2026-142957?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-142951In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142952In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142953In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142954In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142955In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142956In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142958In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142959In the Linux kernel, the following vulnerability has been re…
- CVE-2026-14296When using the Direct XIP update strategy, the main applicat…7.5
- CVE-2026-142960In the Linux kernel, the following vulnerability has been re…
- CVE-2026-142961In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-142962In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-142957?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
