AZL-117316: CVE-2026-139741 affecting package kernel 6.6.161.1-1

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
azure-linux/kernel<=6.6.161.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

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

Event History

Nov 30, 2026
Advisory Published
via OSV·02:20 PM
Data Sourced
via OSV·02:20 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which systems are most relevant to assess?

Systems using the at_hdmac DMA engine driver are relevant, because the vulnerable cleanup path involves tasklets created for at_dma_chan objects.

2

What condition is required for the use-after-free to occur?

A tasklet must still be running or scheduled while the driver’s resources are being released. The unsafe sequence allows tasklets to access at_dma_chan memory after the devm-managed DMA controller object has been freed.

3

What cleanup ordering avoids the issue?

The IRQ must be freed first so active IRQ handlers finish and cannot schedule additional tasklets. Tasklets must then be killed before other resources are freed.

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