# CVE-2026-142912: thermal/drivers/qcom-spmi-temp-alarm: Fix temp\_map indexing

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:25:55.051Z
- **Modified:** 2026-12-03T04:18:31.120Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker can trigger an out-of-bounds memory read in the Linux kernel's Qualcomm SPMI temperature alarm driver during probe, caused by incorrect temp\_map indexing.

## Who should check

- Anyone running Linux \>= 703f13285a6c5d94e67e5fe2a8c15ee51e1d76ca, \< 2f7014d80e238511b05cc7d4c92ef618a715cba1; \>= 703f13285a6c5d94e67e5fe2a8c15ee51e1d76ca, \< e5f18210c8e8ce233a23c59def1bf92ae142e8c8; \>= 703f13285a6c5d94e67e5fe2a8c15ee51e1d76ca, \< 51c262cf2aa9dfd97591e570d4e82af493ad1689
- Anyone running Linux 6.17

## Description

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.

## Affected and fixed versions

- Linux: \>= 703f13285a6c5d94e67e5fe2a8c15ee51e1d76ca, \< 2f7014d80e238511b05cc7d4c92ef618a715cba1; \>= 703f13285a6c5d94e67e5fe2a8c15ee51e1d76ca, \< e5f18210c8e8ce233a23c59def1bf92ae142e8c8; \>= 703f13285a6c5d94e67e5fe2a8c15ee51e1d76ca, \< 51c262cf2aa9dfd97591e570d4e82af493ad1689 (cvelist)
- Linux: 6.17 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 51c262cf2aa9dfd97591e570d4e82af493ad1689 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142912. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142912.md
Affected: Linux >= 703f13285a6c5d94e67e5fe2a8c15ee51e1d76ca, < 2f7014d80e238511b05cc7d4c92ef618a715cba1; >= 703f13285a6c5d94e67e5fe2a8c15ee51e1d76ca, < e5f18210c8e8ce233a23c59def1bf92ae142e8c8; >= 703f13285a6c5d94e67e5fe2a8c15ee51e1d76ca, < 51c262cf2aa9dfd97591e570d4e82af493ad1689; Linux 6.17
Fixed in: Linux 2f7014d80e238511b05cc7d4c92ef618a715cba1, Linux 51c262cf2aa9dfd97591e570d4e82af493ad1689

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142912 being exploited?

There is no confirmed exploitation: CVE-2026-142912 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142912?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-142912?

Linux \>= 703f13285a6c5d94e67e5fe2a8c15ee51e1d76ca, \< 2f7014d80e238511b05cc7d4c92ef618a715cba1; \>= 703f13285a6c5d94e67e5fe2a8c15ee51e1d76ca, \< e5f18210c8e8ce233a23c59def1bf92ae142e8c8; \>= 703f13285a6c5d94e67e5fe2a8c15ee51e1d76ca, \< 51c262cf2aa9dfd97591e570d4e82af493ad1689; Linux 6.17.

### Is there a fix for CVE-2026-142912?

Yes. Fixed in Linux 2f7014d80e238511b05cc7d4c92ef618a715cba1, Linux 51c262cf2aa9dfd97591e570d4e82af493ad1689. Upgrade Linux to 51c262cf2aa9dfd97591e570d4e82af493ad1689 or later.

### How do I check if I'm affected by CVE-2026-142912?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/2f7014d80e238511b05cc7d4c92ef618a715cba1>
- other: <https://git.kernel.org/stable/c/e5f18210c8e8ce233a23c59def1bf92ae142e8c8>
- other: <https://git.kernel.org/stable/c/51c262cf2aa9dfd97591e570d4e82af493ad1689>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142912>

HTML: <https://flawdb.com/CVE-2026-142912> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142912>
