CVE-2026-142961
Received Received - Intake

Linux Kernel IIO Humidity Sensor Callback Use-After-Free

Vulnerability report for CVE-2026-142961, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-03

Last updated on: 2026-12-03

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: iio: humidity: hid-sensor-humidity: Use per-instance callbacks hid-sensor-humidity keeps a single static struct hid_sensor_hub_callbacks for all instances and overwrites its pdev in every probe, so with two humidity sensors, input reports for one are delivered with the other's platform device, and a NULL dereference follows once that device is removed. The same bug was found in hid-sensor-temperature, which shares this code. Keep the callbacks in struct hid_humidity_state, as the other HID sensor drivers (accel, gyro, als, ...) do.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-03
Last Modified
2026-12-03
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the Linux kernel's IIO humidity and temperature sensor drivers. It involves a bug where a single static callback structure is shared across multiple sensor instances, causing input reports from one sensor to be incorrectly delivered to another. This can lead to a NULL pointer dereference when the affected device is removed.

Detection Guidance

This vulnerability affects the Linux kernel's hid-sensor-humidity and hid-sensor-temperature drivers. Detection requires checking kernel logs for NULL pointer dereference errors related to these drivers or inspecting the driver code for the static callback issue.

Impact Analysis

If you use a system with multiple humidity or temperature sensors using the affected drivers, this bug could cause incorrect sensor data to be processed or system crashes when devices are removed. It may lead to unreliable sensor readings or system instability.

Mitigation Strategies

Apply the latest Linux kernel update to patch the vulnerability. If immediate patching is not possible, disable the affected drivers (hid-sensor-humidity and hid-sensor-temperature) to prevent exploitation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-142961. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...