{"id":"CVE-2026-142961","summary":"iio: humidity: hid-sensor-humidity: Use per-instance callbacks","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: humidity: hid-sensor-humidity: Use per-instance callbacks\n\nhid-sensor-humidity keeps a single static struct\nhid_sensor_hub_callbacks for all instances and overwrites its pdev in\nevery probe, so with two humidity sensors, input reports for one are\ndelivered with the other's platform device, and a NULL dereference\nfollows once that device is removed.  The same bug was found in\nhid-sensor-temperature, which shares this code.\n\nKeep the callbacks in struct hid_humidity_state, as the other HID\nsensor drivers (accel, gyro, als, ...) do.","modified":"2026-12-03T11:00:19.886720318Z","published":"2026-12-03T09:16:50.266Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142961.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b7fbfe0c814b6c13f2d793765b08dc2ad64547d6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bbe4f3f668babc9443fc1f075695e43e17ca7976"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142961.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142961"}],"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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.2"}