CVE-2026-142912

Source
https://cve.org/CVERecord?id=CVE-2026-142912
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142912.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142912
Published
2026-12-03T03:25:55Z
Modified
2026-12-03T05:01:17Z
Summary
thermal/drivers/qcom-spmi-temp-alarm: Fix temp_map indexing
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142912.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
703f13285a6c5d94e67e5fe2a8c15ee51e1d76ca
Fixed
2f7014d80e238511b05cc7d4c92ef618a715cba1
Fixed
e5f18210c8e8ce233a23c59def1bf92ae142e8c8
Fixed
51c262cf2aa9dfd97591e570d4e82af493ad1689

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142912.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.17.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142912.json"