CVE-2026-53097: wifi: mt76: mt7996: fix use-after-free bugs in mt7996_mac_dump_work()

Published Jun 24, 2026
·
Updated

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

wifi: mt76: mt7996: fix use-after-free bugs in mt7996macdumpwork()

When the mt7996 pci chip is detaching, the mt7996crashdata is released in mt7996coredumpunregister(). However, the work item dumpwork may still be running or pending, leading to UAF bugs when the already freed crashdata is dereferenced again in mt7996macdumpwork().

The race condition can occur as follows:

CPU 0 (removal path) | CPU 1 (workqueue) mt7996pciremove() | mt7996sysrecoveryset() mt7996unregisterdevice() | mt7996reset() mt7996coredumpunregister() | queuework() vfree(dev->coredump.crashdata) | mt7996macdumpwork() | crashdata-> // UAF

Fix this by ensuring dumpwork is properly canceled before the crashdata is deallocated. Add cancelworksync() in mt7996unregisterdevice() to synchronize with any pending or executing dump work.

Affected Software

4 affected components
Linux Linux kernel (mt76/mt7996)
Linux Linux kernel>=6.4<6.12.91
Linux Linux kernel>=6.13<6.18.33
Linux Linux kernel>=6.19<7.0.10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Call cancel_work_sync() for dump_work before mt7996_unregister_device() releases mt7996_coredump.crash_data, ensuring pending or executing mt7996_mac_dump_work() completes before the crash data is deallocated.

Event History

Jun 24, 2026
CVE Published
via MITRE·04:30 PM
Data Sourced
via MITRE·04:30 PM
Description
Data Sourced
via NVD·05:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

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