{"schemaVersion":4,"id":"CVE-2026-143437","aliases":["DEBIAN-CVE-2026-143437"],"status":"published","duplicateOf":null,"title":"thermal/drivers/sprd: validate the sensor id from the device tree","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nthermal/drivers/sprd: validate the sensor id from the device tree\n\nsprd_thm_probe() reads each sensor child node's \"reg\" property into\nsen->id and uses it without validation: to compute the sensor's\nregister offsets in sprd_thm_sensor_init(), as the thermal zone id, and\nfinally as an index into thm->sensor[], which has SPRD_THM_MAX_SENSOR\n(8) entries:\n\n\tret = of_property_read_u32(sen_child, \"reg\", &sen->id);\n\t...\n\tthm->sensor[sen->id] = sen;\n\nOnly the number of sensor nodes is checked against SPRD_THM_MAX_SENSOR.\nA \"reg\" value of 8 or more, or one that is negative once stored in the\nint sen->id, makes the register offsets point outside the sensor range\nand the final store land outside thm->sensor[], overwriting the fields\nthat follow it in struct sprd_thermal_data or other memory.\n\nReject an out-of-range id right after reading it, before it is used.\n\nThis does not address sparse ids, such as a single sensor with id 7:\nthey leave holes in thm->sensor[] that the later loops over\n0..nr_sensors-1 dereference. That needs a separate fix.\n\nFound by static analysis tool CodeQL.","dates":{"published":"2026-12-05T01:41:17.171Z","modified":"2026-12-05T20:34:37.710Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.4,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.4,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.4,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00311,"percentile":0.25855,"severity":"low","asOf":"2026-12-05T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-12-05T00:00:00.000Z","score":0.00311,"percentile":0.25855}],"last30":[{"date":"2026-12-05T00:00:00.000Z","score":0.00311,"percentile":0.25855}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"debian","product":"linux","name":"linux","label":"linux","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/linux","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 7.3.6-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"7.3.6-1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 7.3.6-1","eol":null,"hubHref":null},{"vendor":"linux","product":"linux","name":"Linux","label":"linux","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 554fdbaf19b188224d52d2fa80c049e4d42002e8, < edc6ace8ded417ad4fb55b1796da079c9d9994a4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"554fdbaf19b188224d52d2fa80c049e4d42002e8","startInclusive":true,"end":"edc6ace8ded417ad4fb55b1796da079c9d9994a4","endInclusive":false}},{"text":"≥ 554fdbaf19b188224d52d2fa80c049e4d42002e8, < 96cdcc8636c3bbfe37bb9eb72d83439712d9bb1c","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"554fdbaf19b188224d52d2fa80c049e4d42002e8","startInclusive":true,"end":"96cdcc8636c3bbfe37bb9eb72d83439712d9bb1c","endInclusive":false}},{"text":"≥ 554fdbaf19b188224d52d2fa80c049e4d42002e8, < 5e3325fa3ad3bdd703b94f27ea45768681d2881c","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"554fdbaf19b188224d52d2fa80c049e4d42002e8","startInclusive":true,"end":"5e3325fa3ad3bdd703b94f27ea45768681d2881c","endInclusive":false}},{"text":"≥ 554fdbaf19b188224d52d2fa80c049e4d42002e8, < d21e20b3a2537affafaa4e9e0f69cf0a11857955","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"554fdbaf19b188224d52d2fa80c049e4d42002e8","startInclusive":true,"end":"d21e20b3a2537affafaa4e9e0f69cf0a11857955","endInclusive":false}},{"text":"≥ 554fdbaf19b188224d52d2fa80c049e4d42002e8, < a6e7f7cc84b3ac0d3891d22f6014431d62442953","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"554fdbaf19b188224d52d2fa80c049e4d42002e8","startInclusive":true,"end":"a6e7f7cc84b3ac0d3891d22f6014431d62442953","endInclusive":false}},{"text":"≥ 554fdbaf19b188224d52d2fa80c049e4d42002e8, < 77e55f779c81495f66aa267f304429aaf2a56d45","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"554fdbaf19b188224d52d2fa80c049e4d42002e8","startInclusive":true,"end":"77e55f779c81495f66aa267f304429aaf2a56d45","endInclusive":false}},{"text":"≥ 554fdbaf19b188224d52d2fa80c049e4d42002e8, < 92d81fb62050a7da1c2bfb998ab6319aec1fdb3e","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"554fdbaf19b188224d52d2fa80c049e4d42002e8","startInclusive":true,"end":"92d81fb62050a7da1c2bfb998ab6319aec1fdb3e","endInclusive":false}},{"text":"≥ 554fdbaf19b188224d52d2fa80c049e4d42002e8, < b17d799ce49bfaad68be5ff3df995b3bd021a9d7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"554fdbaf19b188224d52d2fa80c049e4d42002e8","startInclusive":true,"end":"b17d799ce49bfaad68be5ff3df995b3bd021a9d7","endInclusive":false}},{"text":"5.7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.7","startInclusive":true,"end":"5.7","endInclusive":true}}],"versionsText":"≥ 554fdbaf19b188224d52d2fa80c049e4d42002e8, < edc6ace8ded417ad4fb55b1796da079c9d9994a4 | ≥ 554fdbaf19b188224d52d2fa80c049e4d42002e8, < 96cdcc8636c3bbfe37bb9eb72d83439712d9bb1c | ≥ 554fdbaf19b188224d52d2fa80c049e4d42002e8, < 5e3325fa3ad3bdd703b94f27ea45768681d2881c | ≥ 554fdbaf19b188224d52d2fa80c049e4d42002e8, < d21e20b3a2537affafaa4e9e0f69cf0a11857955 | ≥ 554fdbaf19b188224d52d2fa80c049e4d42002e8, < a6e7f7cc84b3ac0d3891d22f6014431d62442953 | ≥ 554fdbaf19b188224d52d2fa80c049e4d42002e8, < 77e55f779c81495f66aa267f304429aaf2a56d45 | ≥ 554fdbaf19b188224d52d2fa80c049e4d42002e8, < 92d81fb62050a7da1c2bfb998ab6319aec1fdb3e | ≥ 554fdbaf19b188224d52d2fa80c049e4d42002e8, < b17d799ce49bfaad68be5ff3df995b3bd021a9d7 | 5.7","eol":null,"hubHref":"/vendor/linux/linux"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://git.kernel.org/stable/c/edc6ace8ded417ad4fb55b1796da079c9d9994a4","label":"git.kernel.org/stable/c/edc6ace8ded417ad4fb55b1796da079c9d9994a4","hostname":"git.kernel.org","tags":[]},{"url":"https://git.kernel.org/stable/c/96cdcc8636c3bbfe37bb9eb72d83439712d9bb1c","label":"git.kernel.org/stable/c/96cdcc8636c3bbfe37bb9eb72d83439712d9bb1c","hostname":"git.kernel.org","tags":[]},{"url":"https://git.kernel.org/stable/c/5e3325fa3ad3bdd703b94f27ea45768681d2881c","label":"git.kernel.org/stable/c/5e3325fa3ad3bdd703b94f27ea45768681d2881c","hostname":"git.kernel.org","tags":[]},{"url":"https://git.kernel.org/stable/c/d21e20b3a2537affafaa4e9e0f69cf0a11857955","label":"git.kernel.org/stable/c/d21e20b3a2537affafaa4e9e0f69cf0a11857955","hostname":"git.kernel.org","tags":[]},{"url":"https://git.kernel.org/stable/c/a6e7f7cc84b3ac0d3891d22f6014431d62442953","label":"git.kernel.org/stable/c/a6e7f7cc84b3ac0d3891d22f6014431d62442953","hostname":"git.kernel.org","tags":[]},{"url":"https://git.kernel.org/stable/c/77e55f779c81495f66aa267f304429aaf2a56d45","label":"git.kernel.org/stable/c/77e55f779c81495f66aa267f304429aaf2a56d45","hostname":"git.kernel.org","tags":[]},{"url":"https://git.kernel.org/stable/c/92d81fb62050a7da1c2bfb998ab6319aec1fdb3e","label":"git.kernel.org/stable/c/92d81fb62050a7da1c2bfb998ab6319aec1fdb3e","hostname":"git.kernel.org","tags":[]},{"url":"https://git.kernel.org/stable/c/b17d799ce49bfaad68be5ff3df995b3bd021a9d7","label":"git.kernel.org/stable/c/b17d799ce49bfaad68be5ff3df995b3bd021a9d7","hostname":"git.kernel.org","tags":[]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-143437","label":"security-tracker.debian.org/tracker/CVE-2026-143437","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-12-05T01:41:17.171Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-05T20:34:37.710Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 8.4, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,84],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"cvss","source":"cve.org","date":"2026-12-05T20:34:37.710Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-05T20:34:37.710Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"epss","source":"FIRST","date":"2026-12-05T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00311,"stale":false,"promoted":null}],"epss":{"value":0.00311,"date":"2026-12-05T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-06T03:01:09.296Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-06T03:01:09.862Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-06T01:01:46.968Z","state":"stale"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-06T03:00:53.312Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-06T03:01:07.621Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-06T03:01:06.697Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-06T03:22:24.545Z","stale":false,"partial":false}}