{"id":"CVE-2026-142912","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T04:18:31.120","lastModified":"2026-12-03T04:18:31.120","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nthermal/drivers/qcom-spmi-temp-alarm: Fix temp_map indexing\n\nFix the following issue noticed when booting on the db845c-dragonboard:\n\nBUG: KASAN: global-out-of-bounds in qpnp_tm_sync_thresholds+0x11c/0x180 [qcom_spmi_temp_alarm]\nRead of size 24 at addr ffffdd2495f01200 by task (udev-worker)/371\n\nCPU: 3 UID: 0 PID: 371 Comm: (udev-worker) Not tainted 7.3.0-rc3 #116 PREEMPT\nHardware name: Thundercomm Dragonboard 845c (DT)\nCall trace:\n show_stack+0x18/0x24 (C)\n dump_stack_lvl+0xa4/0xf4\n print_report+0x1f4/0x5ac\n kasan_report+0x84/0xcc\n kasan_check_range+0xf0/0x1a4\n memcpy+0x3c/0xa4\n qpnp_tm_sync_thresholds+0x11c/0x180 [qcom_spmi_temp_alarm]\n qpnp_tm_probe+0x3dc/0xae8 [qcom_spmi_temp_alarm]\n platform_probe+0xc4/0x18c\n really_probe+0x17c/0x4fc\n ...\n\nThe buggy address belongs to the variable:\n temp_map_gen1+0x60/0xc4 [qcom_spmi_temp_alarm]\n\nIt looks like temp_map is a pointer to the complete temperature map.\nIndexing it directly advances the entire map, rather than selecting a\nthreshold row.\n\nFix this by dereferencing the temp_map before indexing it to select the\nrequested threshold row."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/thermal/qcom/qcom-spmi-temp-alarm.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"703f13285a6c5d94e67e5fe2a8c15ee51e1d76ca","lessThan":"2f7014d80e238511b05cc7d4c92ef618a715cba1","versionType":"git","status":"affected"},{"version":"703f13285a6c5d94e67e5fe2a8c15ee51e1d76ca","lessThan":"e5f18210c8e8ce233a23c59def1bf92ae142e8c8","versionType":"git","status":"affected"},{"version":"703f13285a6c5d94e67e5fe2a8c15ee51e1d76ca","lessThan":"51c262cf2aa9dfd97591e570d4e82af493ad1689","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/thermal/qcom/qcom-spmi-temp-alarm.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.17","status":"affected"},{"version":"0","lessThan":"6.17","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/2f7014d80e238511b05cc7d4c92ef618a715cba1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/51c262cf2aa9dfd97591e570d4e82af493ad1689","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e5f18210c8e8ce233a23c59def1bf92ae142e8c8","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}