thermal/drivers/ti-soc-thermal: Cancel pending alert work on remove

Summary

CVECVE-2026-139405
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:19:08 UTC
Updated2026-11-30 14:19:08 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 445eaf871bf94eb496b9b610e35b9e8c8830219f c6bf7c8c3ff447a23c9ca70496e23bbee8021ff5 git Not specified
CNA Linux Linux affected 445eaf871bf94eb496b9b610e35b9e8c8830219f 178e078eee6f99a771683321607afc1e8452e724 git Not specified
CNA Linux Linux affected 445eaf871bf94eb496b9b610e35b9e8c8830219f da057b9533721fdeaae30772fdf6a8d8b01d6870 git Not specified
CNA Linux Linux affected 445eaf871bf94eb496b9b610e35b9e8c8830219f 4183df28a3564878457f7bc9f35b5fc9fa4fe28a git Not specified
CNA Linux Linux affected 445eaf871bf94eb496b9b610e35b9e8c8830219f 992585e3729ac54b882dcecc38b34b1060a5b386 git Not specified
CNA Linux Linux affected 445eaf871bf94eb496b9b610e35b9e8c8830219f 0888e4e235f281bedb7c1c7c5a27a0bf0064b6f7 git Not specified
CNA Linux Linux affected 445eaf871bf94eb496b9b610e35b9e8c8830219f 9d8d1431ca2bf32658a7494770f6bfb2e478ee98 git Not specified
CNA Linux Linux affected 445eaf871bf94eb496b9b610e35b9e8c8830219f aaa6c8dec49339710f9fd2a2af5646cf4111dbd4 git Not specified
CNA Linux Linux affected 3.6 Not specified
CNA Linux Linux unaffected 3.6 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/0888e4e235f281bedb7c1c7c5a27a0bf0064b6f7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/4183df28a3564878457f7bc9f35b5fc9fa4fe28a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/da057b9533721fdeaae30772fdf6a8d8b01d6870 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/178e078eee6f99a771683321607afc1e8452e724 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9d8d1431ca2bf32658a7494770f6bfb2e478ee98 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c6bf7c8c3ff447a23c9ca70496e23bbee8021ff5 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/aaa6c8dec49339710f9fd2a2af5646cf4111dbd4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/992585e3729ac54b882dcecc38b34b1060a5b386 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report