CVE-2026-142961

Source
https://cve.org/CVERecord?id=CVE-2026-142961
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142961.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142961
Downstream
Published
2026-12-03T09:16:50Z
Modified
2026-12-03T11:00:19Z
Summary
iio: humidity: hid-sensor-humidity: Use per-instance callbacks
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142961.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d7ed89d5aadf09f1060cd3a9cf07df17447c7392
Fixed
b7fbfe0c814b6c13f2d793765b08dc2ad64547d6
Fixed
bbe4f3f668babc9443fc1f075695e43e17ca7976

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142961.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.12.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142961.json"