CVE-2026-139760: wifi: mac80211: fix unauthorised port check for encap offload
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: fix unauthorised port check for encap offload
The check in ieee80211txdequeue() reads framecontrol, addr1 and addr2 out of the skb, but for encapsulation offload that's just a random part of the ethernet addresses, so dropping depends on bits in the destination address. This is obviously wrong.
Refactor the check and short-circuit for ethernet format frames, it only needs the port-control flag check since those are locally generated and not forwarded frames.
Affected Software
Event History
Frequently Asked Questions
Which systems are affected?
The issue affects Linux kernel systems using mac80211 with encapsulation offload. The faulty logic applies when transmit dequeue processing handles Ethernet-format frames for that offload path.
What causes the incorrect packet handling?
The existing unauthorised-port check interprets Ethernet address bytes as 802.11 frame-control and address fields. As a result, whether a frame is dropped can depend on bits in its destination MAC address rather than the intended port-control decision.
What is the remediation?
Apply a kernel update containing the referenced stable fixes. The corrected logic short-circuits Ethernet-format encapsulation-offload frames and checks only the port-control flag.