{"id":"CVE-2026-53098","summary":"wifi: mt76: mt7915: fix use-after-free bugs in mt7915_mac_dump_work()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: mt7915: fix use-after-free bugs in mt7915_mac_dump_work()\n\nWhen the mt7915 pci chip is detaching, the mt7915_crash_data is\nreleased in mt7915_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\nmt7915_mac_dump_work().\n\nThe race condition can occur as follows:\n\nCPU 0 (removal path)               | CPU 1 (workqueue)\nmt7915_pci_remove()                | mt7915_sys_recovery_set()\n mt7915_unregister_device()        |  mt7915_reset()\n  mt7915_coredump_unregister()     |   queue_work()\n   vfree(dev-\u003ecoredump.crash_data) | mt7915_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\nmt7915_unregister_device() to synchronize with any pending\nor executing dump work.","modified":"2026-07-16T03:30:58.951354222Z","published":"2026-06-24T16:30:35.887Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53098.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1146d0946b5358fad24812bd39d68f31cd40cc34"},{"type":"WEB","url":"https://git.kernel.org/stable/c/21ce6d867867645fff0ef657be18f61d9f39dcd8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6b7cbb13c838cf2a5f2e7be0e96fe15250087939"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6d5202409467d621b6d1dfd7fc7dadb997fe66d2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e6856af8a22a8e2cd18241a465ed00c2301b3a5e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53098.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53098"},{"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":"4dbcb9125cc3e10a6d879c10e4f5816d05a87c49"},{"fixed":"6d5202409467d621b6d1dfd7fc7dadb997fe66d2"},{"fixed":"e6856af8a22a8e2cd18241a465ed00c2301b3a5e"},{"fixed":"6b7cbb13c838cf2a5f2e7be0e96fe15250087939"},{"fixed":"21ce6d867867645fff0ef657be18f61d9f39dcd8"},{"fixed":"1146d0946b5358fad24812bd39d68f31cd40cc34"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53098.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.141"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.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/cve-osv-conversion/osv-output/CVE-2026-53098.json"}}],"schema_version":"1.7.5"}