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

Published Nov 30, 2026
·
Updated

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

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

Current cleanup paths have a use-after-free vulnerability: - vchaninit() creates tasklets that access atdmachan memory - freeirq() 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: - freeirq() 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

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the at_hdmac cleanup paths, call free_irq() first to synchronize with running IRQ handlers and prevent them from scheduling new tasklets; then kill the tasklets and wait for scheduled ones to complete before freeing other resources, including the devm-managed atdma memory.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:37 PM
Data Sourced
via MITRE·01:37 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203