{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139405",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.931Z",
        "datePublished": "2026-11-30T13:34:27.168Z",
        "dateUpdated": "2026-11-30T13:34:27.168Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:34:27.168Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nthermal/drivers/ti-soc-thermal: Cancel pending alert work on remove\n\nOn a threshold crossing, the talert IRQ handler calls\nti_thermal_report_sensor_temperature(), which queues the work embedded\nin the sensor's ti_thermal_data on the system workqueue. Nothing ever\ncancels or flushes that work.\n\nti_bandgap_remove() frees the talert IRQ last. free_irq() waits for a\nrunning handler, but not for the work the handler has queued. When\nremove returns, devres unregisters and frees the thermal zones and then\nfrees the devm-allocated ti_thermal_data, so a work item that is still\npending runs ti_thermal_work() on freed memory:\n\n\tti_thermal_work()\n\t  data = container_of(work, struct ti_thermal_data, thermal_wq);\n\t  thermal_zone_device_update(data->ti_thermal, ...);\n\nFree the talert IRQ before removing the sensors, so that no new work\ncan be queued, and cancel the work in ti_thermal_remove_sensor().\n\nThis needs an OMAP4460/4470 or OMAP5 SoC (DRA7 has TALERT but no\n->report_temperature, so it never queues the work), a threshold crossing\njust before the driver is unbound or unloaded, and the work still\npending when devres frees the data.\n\nFound by static analysis tool CodeQL."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/thermal/ti-soc-thermal/ti-bandgap.c",
                        "drivers/thermal/ti-soc-thermal/ti-thermal-common.c"
                    ],
                    "versions": [
                        {
                            "version": "445eaf871bf94eb496b9b610e35b9e8c8830219f",
                            "lessThan": "c6bf7c8c3ff447a23c9ca70496e23bbee8021ff5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "445eaf871bf94eb496b9b610e35b9e8c8830219f",
                            "lessThan": "178e078eee6f99a771683321607afc1e8452e724",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "445eaf871bf94eb496b9b610e35b9e8c8830219f",
                            "lessThan": "da057b9533721fdeaae30772fdf6a8d8b01d6870",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "445eaf871bf94eb496b9b610e35b9e8c8830219f",
                            "lessThan": "4183df28a3564878457f7bc9f35b5fc9fa4fe28a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "445eaf871bf94eb496b9b610e35b9e8c8830219f",
                            "lessThan": "992585e3729ac54b882dcecc38b34b1060a5b386",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "445eaf871bf94eb496b9b610e35b9e8c8830219f",
                            "lessThan": "0888e4e235f281bedb7c1c7c5a27a0bf0064b6f7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "445eaf871bf94eb496b9b610e35b9e8c8830219f",
                            "lessThan": "9d8d1431ca2bf32658a7494770f6bfb2e478ee98",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "445eaf871bf94eb496b9b610e35b9e8c8830219f",
                            "lessThan": "aaa6c8dec49339710f9fd2a2af5646cf4111dbd4",
                            "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/ti-soc-thermal/ti-bandgap.c",
                        "drivers/thermal/ti-soc-thermal/ti-thermal-common.c"
                    ],
                    "versions": [
                        {
                            "version": "3.6",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "3.6",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.119",
                            "lessThanOrEqual": "6.12.*",
                            "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": "3.6",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.6",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.6",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.6",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.6",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.6",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.6",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.6",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/c6bf7c8c3ff447a23c9ca70496e23bbee8021ff5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/178e078eee6f99a771683321607afc1e8452e724"
                },
                {
                    "url": "https://git.kernel.org/stable/c/da057b9533721fdeaae30772fdf6a8d8b01d6870"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4183df28a3564878457f7bc9f35b5fc9fa4fe28a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/992585e3729ac54b882dcecc38b34b1060a5b386"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0888e4e235f281bedb7c1c7c5a27a0bf0064b6f7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9d8d1431ca2bf32658a7494770f6bfb2e478ee98"
                },
                {
                    "url": "https://git.kernel.org/stable/c/aaa6c8dec49339710f9fd2a2af5646cf4111dbd4"
                }
            ],
            "title": "thermal/drivers/ti-soc-thermal: Cancel pending alert work on remove",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}