{"api_version":"1","generated_at":"2026-04-23T09:41:07+00:00","cve":"CVE-2026-31394","urls":{"html":"https://cve.report/CVE-2026-31394","api":"https://cve.report/api/cve/CVE-2026-31394.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31394","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31394"},"summary":{"title":"mac80211: fix crash in ieee80211_chan_bw_change for AP_VLAN stations","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmac80211: fix crash in ieee80211_chan_bw_change for AP_VLAN stations\n\nieee80211_chan_bw_change() iterates all stations and accesses\nlink->reserved.oper via sta->sdata->link[link_id]. For stations on\nAP_VLAN interfaces (e.g. 4addr WDS clients), sta->sdata points to\nthe VLAN sdata, whose link never participates in chanctx reservations.\nThis leaves link->reserved.oper zero-initialized with chan == NULL,\ncausing a NULL pointer dereference in __ieee80211_sta_cap_rx_bw()\nwhen accessing chandef->chan->band during CSA.\n\nResolve the VLAN sdata to its parent AP sdata using get_bss_sdata()\nbefore accessing link data.\n\n[also change sta->sdata in ARRAY_SIZE even if it doesn't matter]","state":"PUBLISHED","assigner":"Linux","published_at":"2026-04-03 16:16:37","updated_at":"2026-04-07 13:20:55"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/3c6629e859a2211a1fbb4868f915413f80001ca5","name":"https://git.kernel.org/stable/c/3c6629e859a2211a1fbb4868f915413f80001ca5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/672e5229e1ecfc2a3509b53adcb914d8b024a853","name":"https://git.kernel.org/stable/c/672e5229e1ecfc2a3509b53adcb914d8b024a853","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5a86d4e920d9783a198e39cf53f0e410fba5fbd6","name":"https://git.kernel.org/stable/c/5a86d4e920d9783a198e39cf53f0e410fba5fbd6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/65c25b588994dd422fea73fa322de56e1ae4a33b","name":"https://git.kernel.org/stable/c/65c25b588994dd422fea73fa322de56e1ae4a33b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-31394","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31394","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b27512368591fc959768df1f7dacf2a96b1bd036 65c25b588994dd422fea73fa322de56e1ae4a33b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b27512368591fc959768df1f7dacf2a96b1bd036 5a86d4e920d9783a198e39cf53f0e410fba5fbd6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b27512368591fc959768df1f7dacf2a96b1bd036 3c6629e859a2211a1fbb4868f915413f80001ca5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b27512368591fc959768df1f7dacf2a96b1bd036 672e5229e1ecfc2a3509b53adcb914d8b024a853 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.11","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.11 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.78 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.20 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19.10 6.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0-rc5 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"31394","cve":"CVE-2026-31394","epss":"0.000180000","percentile":"0.044270000","score_date":"2026-04-07","updated_at":"2026-04-08 00:03:39"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/mac80211/chan.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"65c25b588994dd422fea73fa322de56e1ae4a33b","status":"affected","version":"b27512368591fc959768df1f7dacf2a96b1bd036","versionType":"git"},{"lessThan":"5a86d4e920d9783a198e39cf53f0e410fba5fbd6","status":"affected","version":"b27512368591fc959768df1f7dacf2a96b1bd036","versionType":"git"},{"lessThan":"3c6629e859a2211a1fbb4868f915413f80001ca5","status":"affected","version":"b27512368591fc959768df1f7dacf2a96b1bd036","versionType":"git"},{"lessThan":"672e5229e1ecfc2a3509b53adcb914d8b024a853","status":"affected","version":"b27512368591fc959768df1f7dacf2a96b1bd036","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/mac80211/chan.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.11"},{"lessThan":"6.11","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.78","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.20","versionType":"semver"},{"lessThanOrEqual":"6.19.*","status":"unaffected","version":"6.19.10","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.0-rc5","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.78","versionStartIncluding":"6.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.20","versionStartIncluding":"6.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19.10","versionStartIncluding":"6.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0-rc5","versionStartIncluding":"6.11","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmac80211: fix crash in ieee80211_chan_bw_change for AP_VLAN stations\n\nieee80211_chan_bw_change() iterates all stations and accesses\nlink->reserved.oper via sta->sdata->link[link_id]. For stations on\nAP_VLAN interfaces (e.g. 4addr WDS clients), sta->sdata points to\nthe VLAN sdata, whose link never participates in chanctx reservations.\nThis leaves link->reserved.oper zero-initialized with chan == NULL,\ncausing a NULL pointer dereference in __ieee80211_sta_cap_rx_bw()\nwhen accessing chandef->chan->band during CSA.\n\nResolve the VLAN sdata to its parent AP sdata using get_bss_sdata()\nbefore accessing link data.\n\n[also change sta->sdata in ARRAY_SIZE even if it doesn't matter]"}],"providerMetadata":{"dateUpdated":"2026-04-06T06:59:51.401Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/65c25b588994dd422fea73fa322de56e1ae4a33b"},{"url":"https://git.kernel.org/stable/c/5a86d4e920d9783a198e39cf53f0e410fba5fbd6"},{"url":"https://git.kernel.org/stable/c/3c6629e859a2211a1fbb4868f915413f80001ca5"},{"url":"https://git.kernel.org/stable/c/672e5229e1ecfc2a3509b53adcb914d8b024a853"}],"title":"mac80211: fix crash in ieee80211_chan_bw_change for AP_VLAN stations","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-31394","datePublished":"2026-04-03T15:15:58.806Z","dateReserved":"2026-03-09T15:48:24.085Z","dateUpdated":"2026-04-06T06:59:51.401Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-04-03 16:16:37","lastModifiedDate":"2026-04-07 13:20:55","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"31394","Ordinal":"1","Title":"mac80211: fix crash in ieee80211_chan_bw_change for AP_VLAN stat","CVE":"CVE-2026-31394","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"31394","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nmac80211: fix crash in ieee80211_chan_bw_change for AP_VLAN stations\n\nieee80211_chan_bw_change() iterates all stations and accesses\nlink->reserved.oper via sta->sdata->link[link_id]. For stations on\nAP_VLAN interfaces (e.g. 4addr WDS clients), sta->sdata points to\nthe VLAN sdata, whose link never participates in chanctx reservations.\nThis leaves link->reserved.oper zero-initialized with chan == NULL,\ncausing a NULL pointer dereference in __ieee80211_sta_cap_rx_bw()\nwhen accessing chandef->chan->band during CSA.\n\nResolve the VLAN sdata to its parent AP sdata using get_bss_sdata()\nbefore accessing link data.\n\n[also change sta->sdata in ARRAY_SIZE even if it doesn't matter]","Type":"Description","Title":"mac80211: fix crash in ieee80211_chan_bw_change for AP_VLAN stat"}]}}}