cvelo
P4 · InfoEPSS 0.4%

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

  • CVE-2026-139741
  • GHSA-v9jh-qmpw-jr58
  • EUVD-2026-139447

Description

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

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    6.2none stated
    before 6.2: not affectednone stated
    from 6.6.163 up to 6.6.*: not affectednone stated
    from 6.12.119 up to 6.12.*: not affectednone stated
    from 6.18.65 up to 6.18.*: not affectednone stated
    from 7.3.6 up to 7.3.*: not affectednone stated
    from 7.4-rc1 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.