AZL-117794: CVE-2026-142957 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

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 hidsensorhubcallbacks 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, platformgetdrvdata() returns NULL and temperaturecapturesample() dereferences it:

BUG: kernel NULL pointer dereference, address: 00000000000003a8 RIP: 0010:temperaturecapturesample+0xd/0x50 [hidsensortemperature]

The oops happens in sensorhubrawevent() 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 temperaturestate, as the other HID sensor drivers (accel, gyro, als, ...) do.

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Event History

Dec 3, 2026
Advisory Published
via OSV·10:17 AM
Data Sourced
via OSV·10:17 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using two HID temperature sensor instances are exposed when their drivers share the static callback structure. The reported failure scenario uses two uhid devices that each declare a temperature sensor.

2

What must happen for an attacker or test case to trigger the failure?

One temperature sensor device must be destroyed or removed while the other continues sending input reports. Reports from the remaining sensor can then be associated with the removed device, causing its driver data lookup to return NULL.

3

What is the operational impact of a successful trigger?

The kernel can hit a NULL pointer dereference in temperature_capture_sample() during sensor_hub_raw_event(). Because the event runs while the sensor hub spinlock is held, subsequent hub removal can hang.

4

How can I recognize that this issue has occurred?

Affected systems may log a kernel oops showing a NULL pointer dereference at temperature_capture_sample() in the hid_sensor_temperature module. The sensor hub may also hang during removal after the oops.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203