{"id":"CVE-2026-139741","aliases":["CVE-2026-139741"],"related":[],"kind":"vulnerability","state":"published","title":"dmaengine: at_hdmac: Fix use-after-free by proper tasklet cleanup","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: at_hdmac: Fix use-after-free by proper tasklet cleanup\n\nCurrent cleanup paths have a use-after-free vulnerability:\n- vchan_init() creates tasklets that access at_dma_chan memory\n- free_irq() only waits for IRQ handler, NOT tasklets\n- atdma is devm-managed and freed after probe/remove\n- Running tasklets accessing freed memory → Use-After-Free!\n\nThe fix requires careful ordering:\n- free_irq() FIRST to synchronize with running IRQ handlers and prevent\n  them from scheduling new tasklets\n- Then kill tasklets to wait for already-scheduled ones to complete\n- Only then free other resources","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: at_hdmac: Fix use-after-free by proper tasklet cleanup\n\nCurrent cleanup paths have a use-after-free vulnerability:\n- vchan_init() creates tasklets that access at_dma_chan memory\n- free_irq() only waits for IRQ handler, NOT tasklets\n- atdma is devm-managed and freed after probe/remove\n- Running tasklets accessing freed memory → Use-After-Free!\n\nThe fix requires careful ordering:\n- free_irq() FIRST to synchronize with running IRQ handlers and prevent\n  them from scheduling new tasklets\n- Then kill tasklets to wait for already-scheduled ones to complete\n- Only then free other resources","source":"cvelist"}],"published":"2026-11-30T13:37:32.826Z","modified":"2026-11-30T14:20:06.407Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ac803b56860f6506c55a3c9330007837e3f4edda","fixed":"388543f737b64a44fdc72678308df56dbcc094d4","status":"affected"},{"type":"git","introduced":"ac803b56860f6506c55a3c9330007837e3f4edda","fixed":"284e48d2166d78442b75884bed9ee6aac2ec90a2","status":"affected"},{"type":"git","introduced":"ac803b56860f6506c55a3c9330007837e3f4edda","fixed":"f0908a5cb329cd43ece59b4ad9a32259701d52d7","status":"affected"},{"type":"git","introduced":"ac803b56860f6506c55a3c9330007837e3f4edda","fixed":"48156abf1f13519242ab96e89d6871cff6fbeedb","status":"affected"},{"type":"git","introduced":"ac803b56860f6506c55a3c9330007837e3f4edda","fixed":"13f2d32a09609d083ace2d589fbdc68e970ae34c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.2","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/388543f737b64a44fdc72678308df56dbcc094d4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/284e48d2166d78442b75884bed9ee6aac2ec90a2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f0908a5cb329cd43ece59b4ad9a32259701d52d7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/48156abf1f13519242ab96e89d6871cff6fbeedb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/13f2d32a09609d083ace2d589fbdc68e970ae34c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139741","url":"https://www.cve.org/CVERecord?id=CVE-2026-139741","licence":"CVE Terms of Use","modified":"2026-11-30T13:37:32.826Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139741","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139741","licence":"Public domain","modified":"2026-11-30T14:20:06.407Z"}],"updatedAt":"2026-11-30T14:33:12.169Z","epss":{"score":0.00352,"percentile":0.30845,"date":"2026-12-01T12:00:22.000Z"}}