CVE-2026-31394

Source
https://cve.org/CVERecord?id=CVE-2026-31394
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31394.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-31394
Downstream
Related
Published
2026-04-03T15:15:58.806Z
Modified
2026-06-04T09:14:21.841952191Z
Summary
mac80211: fix crash in ieee80211_chan_bw_change for AP_VLAN stations
Details

In the Linux kernel, the following vulnerability has been resolved:

mac80211: fix crash in ieee80211chanbwchange for APVLAN stations

ieee80211chanbwchange() iterates all stations and accesses link->reserved.oper via sta->sdata->link[linkid]. For stations on AP_VLAN interfaces (e.g. 4addr WDS clients), sta->sdata points to the VLAN sdata, whose link never participates in chanctx reservations. This leaves link->reserved.oper zero-initialized with chan == NULL, causing a NULL pointer dereference in __ieee80211stacaprxbw() when accessing chandef->chan->band during CSA.

Resolve the VLAN sdata to its parent AP sdata using getbsssdata() before accessing link data.

[also change sta->sdata in ARRAY_SIZE even if it doesn't matter]

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31394.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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
b27512368591fc959768df1f7dacf2a96b1bd036
Fixed
65c25b588994dd422fea73fa322de56e1ae4a33b
Fixed
5a86d4e920d9783a198e39cf53f0e410fba5fbd6
Fixed
3c6629e859a2211a1fbb4868f915413f80001ca5
Fixed
672e5229e1ecfc2a3509b53adcb914d8b024a853

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31394.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.11.0
Fixed
6.12.78
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.20
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.10

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31394.json"