CVE-2026-142912: thermal/drivers/qcom-spmi-temp-alarm: Fix temp_map indexing

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

thermal/drivers/qcom-spmi-temp-alarm: Fix tempmap indexing

Fix the following issue noticed when booting on the db845c-dragonboard:

BUG: KASAN: global-out-of-bounds in qpnptmsyncthresholds+0x11c/0x180 [qcomspmitempalarm] Read of size 24 at addr ffffdd2495f01200 by task (udev-worker)/371

CPU: 3 UID: 0 PID: 371 Comm: (udev-worker) Not tainted 7.3.0-rc3 #116 PREEMPT Hardware name: Thundercomm Dragonboard 845c (DT) Call trace: showstack+0x18/0x24 (C) dumpstacklvl+0xa4/0xf4 printreport+0x1f4/0x5ac kasanreport+0x84/0xcc kasancheckrange+0xf0/0x1a4 memcpy+0x3c/0xa4 qpnptmsyncthresholds+0x11c/0x180 [qcomspmitempalarm] qpnptmprobe+0x3dc/0xae8 [qcomspmitempalarm] platformprobe+0xc4/0x18c reallyprobe+0x17c/0x4fc ...

The buggy address belongs to the variable: tempmapgen1+0x60/0xc4 [qcomspmitempalarm]

It looks like tempmap is a pointer to the complete temperature map. Indexing it directly advances the entire map, rather than selecting a threshold row.

Fix this by dereferencing the tempmap before indexing it to select the requested threshold row.

Affected Software

1 affected component
Linux Linux kernel

Event History

Dec 3, 2026
CVE Published
via MITRE·03:25 AM
Data Sourced
via MITRE·03:25 AM
Description

Frequently Asked Questions

1

Which systems are known to exhibit this issue?

The issue was observed while booting a Thundercomm Dragonboard 845c (db845c) using the qcom_spmi_temp_alarm driver.

2

How can I tell whether the problem is occurring on a system?

A KASAN-enabled kernel can report a global-out-of-bounds read during driver probe, with qpnp_tm_sync_thresholds and qpnp_tm_probe in the call trace. The report identifies temp_map_gen1 as the affected global variable and may occur in a udev-worker process during boot.

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