{"id":"CVE-2026-139502","state":"PUBLISHED","title":"wifi: mt76: check the owner of a remain-on-channel request","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: check the owner of a remain-on-channel request\n\nmvif->roc_phy points to the phy of the request that started last for the\ninterface. That request can end, and the phy can start a request for a\ndifferent interface. The driver does not always clear the pointer.\n\nTwo callers trust the pointer:\n\n- mt76_vif_cleanup() aborts the request on that phy when the driver removes\n  the interface.\n- mt76_cancel_remain_on_channel() aborts the request on that phy for the\n  interface.\n\nIf the phy holds a request for a different interface, both callers abort the\nwrong request. The request of the interface stays active. Its work then runs\nafter the driver removes the interface. The work tears the link down through\nthe freed bss_conf.\n\nCompare phy->roc_vif with the interface in both callers before the abort.","publishedAt":"2026-11-30T13:35:20.628Z","updatedAt":"2026-11-30T13:35:20.628Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a8f424c1287cc79a06c21816658feea87dfcb83f","status":"affected","lessThan":"991a458d9848d33f814abbe0f6e85ac925c4c895","versionType":"git"},{"version":"a8f424c1287cc79a06c21816658feea87dfcb83f","status":"affected","lessThan":"29035e4450d7d2f6bfec428d0e548baaef40b6a5","versionType":"git"},{"version":"a8f424c1287cc79a06c21816658feea87dfcb83f","status":"affected","lessThan":"d6173b8b36e5cefc7cce34c31a0cc63fb3bd77f4","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/mediatek/mt76/channel.c","drivers/net/wireless/mediatek/mt76/mac80211.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.14","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","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/channel.c","drivers/net/wireless/mediatek/mt76/mac80211.c"]}],"references":["https://git.kernel.org/stable/c/991a458d9848d33f814abbe0f6e85ac925c4c895","https://git.kernel.org/stable/c/29035e4450d7d2f6bfec428d0e548baaef40b6a5","https://git.kernel.org/stable/c/d6173b8b36e5cefc7cce34c31a0cc63fb3bd77f4"],"weaknesses":[],"ingestedAt":"2026-11-30T13:50:04.417Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139502.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139502","state":"PUBLISHED","datePublished":"2026-11-30T13:35:20.628Z","dateUpdated":"2026-11-30T13:35:20.628Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.937Z"},"containers":{"cna":{"title":"wifi: mt76: check the owner of a remain-on-channel request","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: check the owner of a remain-on-channel request\n\nmvif->roc_phy points to the phy of the request that started last for the\ninterface. That request can end, and the phy can start a request for a\ndifferent interface. The driver does not always clear the pointer.\n\nTwo callers trust the pointer:\n\n- mt76_vif_cleanup() aborts the request on that phy when the driver removes\n  the interface.\n- mt76_cancel_remain_on_channel() aborts the request on that phy for the\n  interface.\n\nIf the phy holds a request for a different interface, both callers abort the\nwrong request. The request of the interface stays active. Its work then runs\nafter the driver removes the interface. The work tears the link down through\nthe freed bss_conf.\n\nCompare phy->roc_vif with the interface in both callers before the abort."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a8f424c1287cc79a06c21816658feea87dfcb83f","status":"affected","lessThan":"991a458d9848d33f814abbe0f6e85ac925c4c895","versionType":"git"},{"version":"a8f424c1287cc79a06c21816658feea87dfcb83f","status":"affected","lessThan":"29035e4450d7d2f6bfec428d0e548baaef40b6a5","versionType":"git"},{"version":"a8f424c1287cc79a06c21816658feea87dfcb83f","status":"affected","lessThan":"d6173b8b36e5cefc7cce34c31a0cc63fb3bd77f4","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/mediatek/mt76/channel.c","drivers/net/wireless/mediatek/mt76/mac80211.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.14","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","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/channel.c","drivers/net/wireless/mediatek/mt76/mac80211.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/991a458d9848d33f814abbe0f6e85ac925c4c895"},{"url":"https://git.kernel.org/stable/c/29035e4450d7d2f6bfec428d0e548baaef40b6a5"},{"url":"https://git.kernel.org/stable/c/d6173b8b36e5cefc7cce34c31a0cc63fb3bd77f4"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:35:20.628Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}