Security mailing lists by PureSourceCode

CVE-2026-142912

not scored yet

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

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

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

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

BUG: KASAN: global-out-of-bounds in qpnp_tm_sync_thresholds+0x11c/0x180 [qcom_spmi_temp_alarm]
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:
show_stack+0x18/0x24 (C)
dump_stack_lvl+0xa4/0xf4
print_report+0x1f4/0x5ac
kasan_report+0x84/0xcc
kasan_check_range+0xf0/0x1a4
memcpy+0x3c/0xa4
qpnp_tm_sync_thresholds+0x11c/0x180 [qcom_spmi_temp_alarm]
qpnp_tm_probe+0x3dc/0xae8 [qcom_spmi_temp_alarm]
platform_probe+0xc4/0x18c
really_probe+0x17c/0x4fc
...

The buggy address belongs to the variable:
temp_map_gen1+0x60/0xc4 [qcom_spmi_temp_alarm]

It looks like temp_map 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 temp_map before indexing it to select the
requested threshold row.

Published
3 Dec 2026
Last modified
3 Dec 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 703f13285a6c5d94e67e5fe2a8c15ee51e1d76ca, < 2f7014d80e238511b05cc7d4c92ef618a715cba1; >= 703f13285a6c5d94e67e5fe2a8c15ee51e1d76ca, < e5f18210c8e8ce233a23c59def1bf92ae142e8c8; >= 703f13285a6c5d94e67e5fe2a8c15ee51e1d76ca, < 51c262cf2aa9dfd97591e570d4e82af493ad1689 2f7014d80e238511b05cc7d4c92ef618a715cba1, e5f18210c8e8ce233a23c59def1bf92ae142e8c8, 51c262cf2aa9dfd97591e570d4e82af493ad1689
CVE List Linux Linux = 6.17

References

History

  • 3 Dec 2026 05:06 UTC · NVD: first stored (published 3 Dec 2026)
  • 3 Dec 2026 04:06 UTC · CVE List: first stored (published 3 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.