{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142912",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.337Z",
        "datePublished": "2026-12-03T03:25:55.051Z",
        "dateUpdated": "2026-12-03T03:25:55.051Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T03:25:55.051Z"
            },
            "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": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/thermal/qcom/qcom-spmi-temp-alarm.c"
                    ],
                    "versions": [
                        {
                            "version": "703f13285a6c5d94e67e5fe2a8c15ee51e1d76ca",
                            "lessThan": "2f7014d80e238511b05cc7d4c92ef618a715cba1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "703f13285a6c5d94e67e5fe2a8c15ee51e1d76ca",
                            "lessThan": "e5f18210c8e8ce233a23c59def1bf92ae142e8c8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "703f13285a6c5d94e67e5fe2a8c15ee51e1d76ca",
                            "lessThan": "51c262cf2aa9dfd97591e570d4e82af493ad1689",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/thermal/qcom/qcom-spmi-temp-alarm.c"
                    ],
                    "versions": [
                        {
                            "version": "6.17",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.17",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.17",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.17",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.17",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/2f7014d80e238511b05cc7d4c92ef618a715cba1"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e5f18210c8e8ce233a23c59def1bf92ae142e8c8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/51c262cf2aa9dfd97591e570d4e82af493ad1689"
                }
            ],
            "title": "thermal/drivers/qcom-spmi-temp-alarm: Fix temp_map indexing",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}