CVE-2026-143437
Last modified
CVE-2026-143437 is a high-severity vulnerability rated 8.4/10 on the CVSS scale. 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..
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.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 554fdbaf19b188224d52d2fa80c049e4d42002e8, < edc6ace8ded417ad4fb55b1796da079c9d9994a4; >= 554fdbaf19b188224d52d2fa80c049e4d42002e8, < 96cdcc8636c3bbfe37bb9eb72d83439712d9bb1c; >= 554fdbaf19b188224d52d2fa80c049e4d42002e8, < 5e3325fa3ad3bdd703b94f27ea45768681d2881c; >= 554fdbaf19b188224d52d2fa80c049e4d42002e8, < d21e20b3a2537affafaa4e9e0f69cf0a11857955; >= 554fdbaf19b188224d52d2fa80c049e4d42002e8, < a6e7f7cc84b3ac0d3891d22f6014431d62442953; >= 554fdbaf19b188224d52d2fa80c049e4d42002e8, < 77e55f779c81495f66aa267f304429aaf2a56d45; >= 554fdbaf19b188224d52d2fa80c049e4d42002e8, < 92d81fb62050a7da1c2bfb998ab6319aec1fdb3e; >= 554fdbaf19b188224d52d2fa80c049e4d42002e8, < b17d799ce49bfaad68be5ff3df995b3bd021a9d7 |
| Linux | Linux | 5.7 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-143437?
How severe is CVE-2026-143437?
How do I fix CVE-2026-143437?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-143431In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143432In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143433In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143434In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143435In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143436In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143438In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143439In the Linux kernel, the following vulnerability has been re…
- CVE-2026-14344Mattermost versions 11.9.x <= 11.9.0, 11.8.x <= 11.8.4, 11.7…4.3
- CVE-2026-143440In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143441In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143442In the Linux kernel, the following vulnerability has been re…8.4
Are you affected by CVE-2026-143437?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
