{"id":"AZL-117794","summary":"CVE-2026-142957 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: temperature: hid-sensor-temperature: Use per-instance callbacks\n\nhid-sensor-temperature keeps a single static struct\nhid_sensor_hub_callbacks for all instances and overwrites its pdev in\nevery probe.  With two temperature sensors, input reports for one are\ndelivered with the other's platform device; once that device is\nremoved, platform_get_drvdata() returns NULL and\ntemperature_capture_sample() dereferences it:\n\n  BUG: kernel NULL pointer dereference, address: 00000000000003a8\n  RIP: 0010:temperature_capture_sample+0xd/0x50 [hid_sensor_temperature]\n\nThe oops happens in sensor_hub_raw_event() with the hub's spinlock\nheld, so the hub's removal then hangs.  It reproduces with two uhid\ndevices that each declare a temperature sensor, one destroyed while\nthe other still sends input reports.\n\nKeep the callbacks in struct temperature_state, as the other HID\nsensor drivers (accel, gyro, als, ...) do.","modified":"2026-12-04T14:18:35.558830065Z","published":"2026-12-03T10:17:17Z","upstream":["CVE-2026-142957"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142957"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-117794.json"}}],"schema_version":"1.9.2"}