{"id":"CVE-2026-53097","summary":"wifi: mt76: mt7996: fix use-after-free bugs in mt7996_mac_dump_work()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: mt7996: fix use-after-free bugs in mt7996_mac_dump_work()\n\nWhen the mt7996 pci chip is detaching, the mt7996_crash_data is\nreleased in mt7996_coredump_unregister(). However, the work item\ndump_work may still be running or pending, leading to UAF bugs\nwhen the already freed crash_data is dereferenced again in\nmt7996_mac_dump_work().\n\nThe race condition can occur as follows:\n\nCPU 0 (removal path)               | CPU 1 (workqueue)\nmt7996_pci_remove()                | mt7996_sys_recovery_set()\n mt7996_unregister_device()        |  mt7996_reset()\n  mt7996_coredump_unregister()     |   queue_work()\n   vfree(dev-\u003ecoredump.crash_data) | mt7996_mac_dump_work()\n                                   |  crash_data-\u003e // UAF\n\nFix this by ensuring dump_work is properly canceled before\nthe crash_data is deallocated. Add cancel_work_sync() in\nmt7996_unregister_device() to synchronize with any pending\nor executing dump work.","modified":"2026-07-23T03:42:23.581104686Z","published":"2026-06-24T16:30:35.223Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53097.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/180182a3f23ff79430a32ca2c4c1885368ceab48"},{"type":"WEB","url":"https://git.kernel.org/stable/c/188e10f9ea3109d23c6b7643aa6ec2f5cb0faa6d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aa4a31cd89f4fde5043ac613fe0e27014a60a60b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c8f62f73bbced3a79894655bdb0b625462d956fc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53097.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53097"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"878161d5d4a469a6ef7f3fb4fe9f676bc508ee99"},{"fixed":"180182a3f23ff79430a32ca2c4c1885368ceab48"},{"fixed":"aa4a31cd89f4fde5043ac613fe0e27014a60a60b"},{"fixed":"188e10f9ea3109d23c6b7643aa6ec2f5cb0faa6d"},{"fixed":"c8f62f73bbced3a79894655bdb0b625462d956fc"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-53097.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.4.0"},{"fixed":"6.12.91"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.33"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-53097.json"}}],"schema_version":"1.7.5"}