{"id":"CVE-2026-53098","state":"PUBLISHED","title":"wifi: mt76: mt7915: fix use-after-free bugs in mt7915_mac_dump_work()","description":"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->coredump.crash_data) | mt7915_mac_dump_work()\n                                   |  crash_data-> // 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.","publishedAt":"2026-06-24T16:30:35.887Z","updatedAt":"2026-09-14T11:58:31.148Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4bf3f4755611e3ae4cca58469e3c1d73be9c8093","status":"affected","lessThan":"55159f1fa30bef03e01af469823c1de103a4a884","versionType":"git"},{"version":"4dbcb9125cc3e10a6d879c10e4f5816d05a87c49","status":"affected","lessThan":"6d5202409467d621b6d1dfd7fc7dadb997fe66d2","versionType":"git"},{"version":"4dbcb9125cc3e10a6d879c10e4f5816d05a87c49","status":"affected","lessThan":"e6856af8a22a8e2cd18241a465ed00c2301b3a5e","versionType":"git"},{"version":"4dbcb9125cc3e10a6d879c10e4f5816d05a87c49","status":"affected","lessThan":"6b7cbb13c838cf2a5f2e7be0e96fe15250087939","versionType":"git"},{"version":"4dbcb9125cc3e10a6d879c10e4f5816d05a87c49","status":"affected","lessThan":"21ce6d867867645fff0ef657be18f61d9f39dcd8","versionType":"git"},{"version":"4dbcb9125cc3e10a6d879c10e4f5816d05a87c49","status":"affected","lessThan":"1146d0946b5358fad24812bd39d68f31cd40cc34","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/mediatek/mt76/mt7915/init.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.2","versionType":"semver"},{"version":"6.6.141","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.91","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.33","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.10","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/mediatek/mt76/mt7915/init.c"]}],"references":["https://git.kernel.org/stable/c/55159f1fa30bef03e01af469823c1de103a4a884","https://git.kernel.org/stable/c/6d5202409467d621b6d1dfd7fc7dadb997fe66d2","https://git.kernel.org/stable/c/e6856af8a22a8e2cd18241a465ed00c2301b3a5e","https://git.kernel.org/stable/c/6b7cbb13c838cf2a5f2e7be0e96fe15250087939","https://git.kernel.org/stable/c/21ce6d867867645fff0ef657be18f61d9f39dcd8","https://git.kernel.org/stable/c/1146d0946b5358fad24812bd39d68f31cd40cc34"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53098.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53098","state":"PUBLISHED","datePublished":"2026-06-24T16:30:35.887Z","dateUpdated":"2026-09-14T11:58:31.148Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-06-09T07:44:35.384Z"},"containers":{"cna":{"title":"wifi: mt76: mt7915: fix use-after-free bugs in mt7915_mac_dump_work()","descriptions":[{"lang":"en","value":"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->coredump.crash_data) | mt7915_mac_dump_work()\n                                   |  crash_data-> // 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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4bf3f4755611e3ae4cca58469e3c1d73be9c8093","status":"affected","lessThan":"55159f1fa30bef03e01af469823c1de103a4a884","versionType":"git"},{"version":"4dbcb9125cc3e10a6d879c10e4f5816d05a87c49","status":"affected","lessThan":"6d5202409467d621b6d1dfd7fc7dadb997fe66d2","versionType":"git"},{"version":"4dbcb9125cc3e10a6d879c10e4f5816d05a87c49","status":"affected","lessThan":"e6856af8a22a8e2cd18241a465ed00c2301b3a5e","versionType":"git"},{"version":"4dbcb9125cc3e10a6d879c10e4f5816d05a87c49","status":"affected","lessThan":"6b7cbb13c838cf2a5f2e7be0e96fe15250087939","versionType":"git"},{"version":"4dbcb9125cc3e10a6d879c10e4f5816d05a87c49","status":"affected","lessThan":"21ce6d867867645fff0ef657be18f61d9f39dcd8","versionType":"git"},{"version":"4dbcb9125cc3e10a6d879c10e4f5816d05a87c49","status":"affected","lessThan":"1146d0946b5358fad24812bd39d68f31cd40cc34","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/mediatek/mt76/mt7915/init.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.2","versionType":"semver"},{"version":"6.6.141","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.91","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.33","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.10","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/mediatek/mt76/mt7915/init.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/55159f1fa30bef03e01af469823c1de103a4a884"},{"url":"https://git.kernel.org/stable/c/6d5202409467d621b6d1dfd7fc7dadb997fe66d2"},{"url":"https://git.kernel.org/stable/c/e6856af8a22a8e2cd18241a465ed00c2301b3a5e"},{"url":"https://git.kernel.org/stable/c/6b7cbb13c838cf2a5f2e7be0e96fe15250087939"},{"url":"https://git.kernel.org/stable/c/21ce6d867867645fff0ef657be18f61d9f39dcd8"},{"url":"https://git.kernel.org/stable/c/1146d0946b5358fad24812bd39d68f31cd40cc34"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-09-14T11:58:31.148Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.141"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.12.91"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.18.33"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"7.0.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}