wifi: mac80211: validate individual TWT params before driver setup
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ f5a4c24e689f54e66201f04d343bdd2e8a1d7923 · < 47fb04c3826e1f90271d405523043d6708b9072a| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: validate individual TWT params before driver setup
ieee80211_process_rx_twt_action() only partially validates a received S1G TWT setup frame before queueing it.
An individual agreement can therefore reach ieee80211_s1g_rx_twt_setup() with twt->length too short for the full struct ieee80211_twt_params.
The individual path passes twt to drv_add_twt_setup(). Both the tracepoint and the driver callback consume the complete parameters block, not merely req_type. Do not pass a short individual agreement to the driver. Broadcast agreements remain unchanged because they are rejected locally after accessing only req_type.
[edit commit message to not overclaim lack of validation nor understate driver impact]
From the CVE record · Linux
The Linux kernel's mac80211 code does not fully validate individual S1G TWT setup parameters before passing them to a driver. A received frame with a short parameters block can cause the tracepoint and driver callback to consume data beyond that block. The input does not specify authentication or user-interaction requirements.
Engineers running Linux kernels with mac80211 should check their versions; affected versions are not specified.