CVE-2026-139405
thermal/drivers/ti-soc-thermal: Cancel pending alert work on remove
Check your servers for CVE-2026-139405
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139405 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
thermal/drivers/ti-soc-thermal: Cancel pending alert work on remove
On a threshold crossing, the talert IRQ handler calls ti_thermal_report_sensor_temperature(), which queues the work embedded in the sensor's ti_thermal_data on the system workqueue. Nothing ever cancels or flushes that work.
ti_bandgap_remove() frees the talert IRQ last. free_irq() waits for a running handler, but not for the work the handler has queued. When remove returns, devres unregisters and frees the thermal zones and then frees the devm-allocated ti_thermal_data, so a work item that is still pending runs ti_thermal_work() on freed memory:
ti_thermal_work() data = container_of(work, struct ti_thermal_data, thermal_wq); thermal_zone_device_update(data->ti_thermal, ...);
Free the talert IRQ before removing the sensors, so that no new work can be queued, and cancel the work in ti_thermal_remove_sensor().
This needs an OMAP4460/4470 or OMAP5 SoC (DRA7 has TALERT but no ->report_temperature, so it never queues the work), a threshold crossing just before the driver is unbound or unloaded, and the work still pending when devres frees the data.
Found by static analysis tool CodeQL.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 445eaf871bf94eb496b9b610e35b9e8c8830219f, before c6bf7c8c3ff447a23c9ca70496e23bbee8021ff5 affected from 445eaf871bf94eb496b9b610e35b9e8c8830219f, before 178e078eee6f99a771683321607afc1e8452e724 affected from 445eaf871bf94eb496b9b610e35b9e8c8830219f, before da057b9533721fdeaae30772fdf6a8d8b01d6870 affected from 445eaf871bf94eb496b9b610e35b9e8c8830219f, before 4183df28a3564878457f7bc9f35b5fc9fa4fe28a affected from 445eaf871bf94eb496b9b610e35b9e8c8830219f, before 992585e3729ac54b882dcecc38b34b1060a5b386 affected from 445eaf871bf94eb496b9b610e35b9e8c8830219f, before 0888e4e235f281bedb7c1c7c5a27a0bf0064b6f7 affected from 445eaf871bf94eb496b9b610e35b9e8c8830219f, before 9d8d1431ca2bf32658a7494770f6bfb2e478ee98 affected from 445eaf871bf94eb496b9b610e35b9e8c8830219f, before aaa6c8dec49339710f9fd2a2af5646cf4111dbd4
Other versions: unaffected
|
| Linux |
affected 3.6 unaffected before 3.6 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139405 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139405
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139405
trivy image --scanners vuln IMAGE | grep CVE-2026-139405
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/c6bf7c8c3ff447a23c9ca70496e23bbee8021ff5 git.kernel.org
- https://git.kernel.org/stable/c/178e078eee6f99a771683321607afc1e8452e724 git.kernel.org
- https://git.kernel.org/stable/c/da057b9533721fdeaae30772fdf6a8d8b01d6870 git.kernel.org
- https://git.kernel.org/stable/c/4183df28a3564878457f7bc9f35b5fc9fa4fe28a git.kernel.org
- https://git.kernel.org/stable/c/992585e3729ac54b882dcecc38b34b1060a5b386 git.kernel.org
- https://git.kernel.org/stable/c/0888e4e235f281bedb7c1c7c5a27a0bf0064b6f7 git.kernel.org
- https://git.kernel.org/stable/c/9d8d1431ca2bf32658a7494770f6bfb2e478ee98 git.kernel.org
- https://git.kernel.org/stable/c/aaa6c8dec49339710f9fd2a2af5646cf4111dbd4 git.kernel.org
Source: the record CVE-2026-139405 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse