CVE-2026-139741

Source
https://cve.org/CVERecord?id=CVE-2026-139741
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139741.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139741
Downstream
Published
2026-11-30T13:37:32Z
Modified
2026-11-30T15:02:30Z
Summary
dmaengine: at_hdmac: Fix use-after-free by proper tasklet cleanup
Details

In the Linux kernel, the following vulnerability has been resolved:

dmaengine: at_hdmac: Fix use-after-free by proper tasklet cleanup

Current cleanup paths have a use-after-free vulnerability:

  • vchan_init() creates tasklets that access at_dma_chan memory
  • free_irq() only waits for IRQ handler, NOT tasklets
  • atdma is devm-managed and freed after probe/remove
  • Running tasklets accessing freed memory → Use-After-Free!

The fix requires careful ordering:

  • free_irq() FIRST to synchronize with running IRQ handlers and prevent them from scheduling new tasklets
  • Then kill tasklets to wait for already-scheduled ones to complete
  • Only then free other resources
Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139741.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ac803b56860f6506c55a3c9330007837e3f4edda
Fixed
388543f737b64a44fdc72678308df56dbcc094d4
Fixed
284e48d2166d78442b75884bed9ee6aac2ec90a2
Fixed
f0908a5cb329cd43ece59b4ad9a32259701d52d7
Fixed
48156abf1f13519242ab96e89d6871cff6fbeedb
Fixed
13f2d32a09609d083ace2d589fbdc68e970ae34c

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139741.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139741.json"