{"id":"CVE-2026-98327","state":"PUBLISHED","title":"wifi: mac80211: mesh: reset the CSA state when leaving","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mac80211: mesh: reset the CSA state when leaving\n\nifmsh->csa is allocated in ieee80211_mesh_csa_beacon() and only freed\nin ieee80211_mesh_finish_csa(), i.e. when the channel switch completes.\nLeaving the mesh while a switch is still pending therefore leaks it.\n\nAdditionally, ifmsh->csa_role and ifmsh->chsw_ttl have their state leak\nin this case, so things can get mixed up in addition to the memory\nleak.\n\nRefactor the reset and call it in ieee80211_stop_mesh() to fix it all.","publishedAt":"2026-10-06T08:46:20.317Z","updatedAt":"2026-10-19T09:17:37.676Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b8456a14e9d2770846fcf74de18ff95b676149a3","status":"affected","lessThan":"aba8dfb45864441199748c33ce3c1c8ca121c8bd","versionType":"git"},{"version":"b8456a14e9d2770846fcf74de18ff95b676149a3","status":"affected","lessThan":"bd3b21145ae2e781daac1bbd19216a63ab4e0cbd","versionType":"git"},{"version":"b8456a14e9d2770846fcf74de18ff95b676149a3","status":"affected","lessThan":"ba5bf83a81e8832cb84bb3a2da67512f81f57a02","versionType":"git"},{"version":"b8456a14e9d2770846fcf74de18ff95b676149a3","status":"affected","lessThan":"860134b3af77970e006feab7e5decb8c84771c7f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac80211/mesh.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.13","versionType":"semver"},{"version":"6.12.112","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.54","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.8","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac80211/mesh.c"]}],"references":["https://git.kernel.org/stable/c/aba8dfb45864441199748c33ce3c1c8ca121c8bd","https://git.kernel.org/stable/c/bd3b21145ae2e781daac1bbd19216a63ab4e0cbd","https://git.kernel.org/stable/c/ba5bf83a81e8832cb84bb3a2da67512f81f57a02","https://git.kernel.org/stable/c/860134b3af77970e006feab7e5decb8c84771c7f"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98327.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98327","state":"PUBLISHED","datePublished":"2026-10-06T08:46:20.317Z","dateUpdated":"2026-10-19T09:17:37.676Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.341Z"},"containers":{"cna":{"title":"wifi: mac80211: mesh: reset the CSA state when leaving","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mac80211: mesh: reset the CSA state when leaving\n\nifmsh->csa is allocated in ieee80211_mesh_csa_beacon() and only freed\nin ieee80211_mesh_finish_csa(), i.e. when the channel switch completes.\nLeaving the mesh while a switch is still pending therefore leaks it.\n\nAdditionally, ifmsh->csa_role and ifmsh->chsw_ttl have their state leak\nin this case, so things can get mixed up in addition to the memory\nleak.\n\nRefactor the reset and call it in ieee80211_stop_mesh() to fix it all."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b8456a14e9d2770846fcf74de18ff95b676149a3","status":"affected","lessThan":"aba8dfb45864441199748c33ce3c1c8ca121c8bd","versionType":"git"},{"version":"b8456a14e9d2770846fcf74de18ff95b676149a3","status":"affected","lessThan":"bd3b21145ae2e781daac1bbd19216a63ab4e0cbd","versionType":"git"},{"version":"b8456a14e9d2770846fcf74de18ff95b676149a3","status":"affected","lessThan":"ba5bf83a81e8832cb84bb3a2da67512f81f57a02","versionType":"git"},{"version":"b8456a14e9d2770846fcf74de18ff95b676149a3","status":"affected","lessThan":"860134b3af77970e006feab7e5decb8c84771c7f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac80211/mesh.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.13","versionType":"semver"},{"version":"6.12.112","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.54","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.8","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac80211/mesh.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/aba8dfb45864441199748c33ce3c1c8ca121c8bd"},{"url":"https://git.kernel.org/stable/c/bd3b21145ae2e781daac1bbd19216a63ab4e0cbd"},{"url":"https://git.kernel.org/stable/c/ba5bf83a81e8832cb84bb3a2da67512f81f57a02"},{"url":"https://git.kernel.org/stable/c/860134b3af77970e006feab7e5decb8c84771c7f"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:17:37.676Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"6.12.112"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"6.18.54"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"7.2.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}