Bug 2586719 (CVE-2026-139741) - CVE-2026-139741 kernel: kernel: Denial of Service via use-after-free in at_hdmac driver
Summary: CVE-2026-139741 kernel: kernel: Denial of Service via use-after-free in at_hd...
Keywords:
Status: NEW
Alias: CVE-2026-139741
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:35 UTC by OSIDB Bzimport
Modified: 2026-12-01 04:14 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:35:56 UTC
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


Note You need to log in before you can comment on or make changes to this bug.