wifi: mac80211: don't allow injecting frames wider than the chanctx
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: don't allow injecting frames wider than the chanctx
Frames injected on a monitor interface can carry a radiotap field requesting a bandwidth, which mac80211 passes down to the driver regardless of the the actual operational bandwidth.
If the bandwidth requested is too wide, that triggers a warning in hwsim:
WARN_ON(hwsim_get_chanwidth(bw) > hwsim_get_chanwidth(confbw))
Drop such frames entirely instead since they cannot be sent.
From the CVE record · Linux
Linux kernel mac80211 passes the bandwidth requested by a frame injected on a monitor interface to the driver, even when it exceeds the operational bandwidth. An attacker able to inject such a frame locally can trigger a warning in hwsim; the frame cannot be sent.
Engineers running Linux kernels with mac80211 should check whether their versions are affected.