Linux kernel out-of-bounds write in Spreadtrum thermal driver
- Exploited
- No known exploitation
- Fix
- No fix listed
- Who is exposed
- Specific setups only
Summary
The Linux kernel's Spreadtrum thermal driver does not check the sensor ID read from a device tree node before using it as an array index. A malformed "reg" value can write past the end of the sensor array and overwrite nearby memory. The attack path is not stated in the available details, so it is not described here.
Written by a model
Original description
In the Linux kernel, the following vulnerability has been resolved:
thermal/drivers/sprd: validate the sensor id from the device tree
sprd_thm_probe() reads each sensor child node's "reg" property into sen->id and uses it without validation: to compute the sensor's register offsets in sprd_thm_sensor_init(), as the thermal zone id, and finally as an index into thm->sensor[], which has SPRD_THM_MAX_SENSOR (8) entries:
ret = of_property_read_u32(sen_child, "reg", &sen->id); ... thm->sensor[sen->id] = sen;
Only the number of sensor nodes is checked against SPRD_THM_MAX_SENSOR. A "reg" value of 8 or more, or one that is negative once stored in the int sen->id, makes the register offsets point outside the sensor range and the final store land outside thm->sensor[], overwriting the fields that follow it in struct sprd_thermal_data or other memory.
Reject an out-of-range id right after reading it, before it is used.
This does not address sparse ids, such as a single sensor with id 7: they leave holes in thm->sensor[] that the later loops over 0..nr_sensors-1 dereference. That needs a separate fix.
Found by static analysis tool CodeQL.
What to do
Check whether your setup matches what the bug needs.
Linux kernel with the Spreadtrum thermal driver (sprd_thermal) where a sensor child node's reg value is 8 or more, or negative. The sprd,ums512-thermal node is present in the boot device tree and gets instantiated at boot.Workaround: The facts name no workaround. The listed condition is the sprd,ums512-thermal node being present in the boot device tree and instantiated at boot.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-143437 (thermal/drivers/sprd: validate the sensor id from the device tree), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-143437 (entry last updated 2026-12-05):
Affected:
- Linux Linux: version range not reported
- Linux Linux: versions 5.7
Fix: partial. The advisory says the fix does not fully address the issue.
Conditions (all must be true for the bug to be hit):
- Linux kernel with the Spreadtrum thermal driver (sprd_thermal) where a sensor child node's reg value is 8 or more, or negative. (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=edc6ace8ded417ad4fb55b1796da079c9d9994a4)
- The sprd,ums512-thermal node is present in the boot device tree and gets instantiated at boot. (source: https://www.cve.org/CVERecord?id=CVE-2026-143437)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, no login, no user action.
CISA KEV: CVE-2026-143437 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-143437 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/edc6ace8ded417ad4fb55b1796da079c9d9994a4
- https://git.kernel.org/stable/c/96cdcc8636c3bbfe37bb9eb72d83439712d9bb1c
- https://git.kernel.org/stable/c/5e3325fa3ad3bdd703b94f27ea45768681d2881c
- https://git.kernel.org/stable/c/d21e20b3a2537affafaa4e9e0f69cf0a11857955
- https://git.kernel.org/stable/c/a6e7f7cc84b3ac0d3891d22f6014431d62442953
- https://git.kernel.org/stable/c/77e55f779c81495f66aa267f304429aaf2a56d45
- https://git.kernel.org/stable/c/92d81fb62050a7da1c2bfb998ab6319aec1fdb3e
- https://git.kernel.org/stable/c/b17d799ce49bfaad68be5ff3df995b3bd021a9d7
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-143437
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-143437"}.Affected versions
- Linux LinuxVersion range not reported
- Linux Linux5.7
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure5/25Specific setups only
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity8.4/10CVSS 8.4
- No patch5/5No patch listed yet
What would change the score
- Would score about 88 if added to CISA KEV
- Would score about 83 if CISA's SSVC rates exploitation active
- Would score about 48 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now
- Record last updated
- Posted on X by cve.now
Evidence 10
Questions about CVE-2026-143437
Is CVE-2026-143437 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
The Spreadtrum thermal driver (sprd_thermal) does not validate a sensor child node's reg value. A value of 8 or more, or a negative value once stored, causes an out-of-bounds write in kernel memory. The advisory says this may allow kernel memory disclosure or a kernel crash.
Source: git.kernel.org, cve.org
Which versions are affected by CVE-2026-143437?
Linux: version 5.7.
Source: cve.now feed data
Am I affected, and how do I check?
The condition involves a Linux kernel with the Spreadtrum thermal driver where a sensor child node has a reg value of 8 or more, or a negative value, and the sprd,ums512-thermal node is in the boot device tree and instantiated at boot. The facts do not list affected kernel versions, so check the kernel version and the boot device tree against these conditions.
Source: git.kernel.org, cve.org
How do I fix CVE-2026-143437?
The facts name no fixed kernel version and no patch identifiers. The advisory's fix rejects an out-of-range sensor id right after it is read, before it is used.
Source: git.kernel.org, cve.org
What if there's no patch?
The facts name no workaround. The listed condition is the sprd,ums512-thermal node being present in the boot device tree and instantiated at boot.
Source: git.kernel.org, cve.org
Is the fix complete?
The fix is recorded as partial, but the facts do not say what remains unfixed.
Source: git.kernel.org, cve.org
Related
- CVE-2026-143448RDMA/bnxt_re: Validate SRQ max_sge at create time
- CVE-2026-143464arm64: dts: ti: k3-am62d2-evm: Fix wkup R5F memory region size
- CVE-2026-143463arm64: dts: ti: k3-am62a7-sk: Fix wkup R5F memory region size
- CVE-2026-143465arm64: dts: mediatek: mt8188-geralt: Enlarge SCP core0 memory region
- CVE-2026-143462arm64: dts: ti: k3-am62p5-sk: Fix wkup R5F memory region size
- CVE-2026-143461net: fix frag_list leak in skb_segment_list() error path
No corrections so far. Something wrong on this page? Report an error.