Description
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]
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
f5a4c24e689f54e66201f04d343bdd2e8a1d7923 to < 92fcd0f30dc8e51f252589b082d46851d295cc1aaffectedf5a4c24e689f54e66201f04d343bdd2e8a1d7923 to < 09d60d1f72e6598241490eb6c4e97245af895c09affectedf5a4c24e689f54e66201f04d343bdd2e8a1d7923 to < ff558072d199c1d641d1561da622e67f780514deaffectedf5a4c24e689f54e66201f04d343bdd2e8a1d7923 to < ade9e2f0f7f4d3089600ac2af8ef0b91746f923baffectedf5a4c24e689f54e66201f04d343bdd2e8a1d7923 to < b558e07708d886acfcf4b0391ed7a8546e81d326affectedf5a4c24e689f54e66201f04d343bdd2e8a1d7923 to < 47fb04c3826e1f90271d405523043d6708b9072aaffectedf5a4c24e689f54e66201f04d343bdd2e8a1d7923 to < 0502d5077e419427d80f4d46ba95d0067f5fb916affected
Linux Linux
Default version status: affected
5.15affected0 to < 5.15unaffected5.15.216 to ≤ 5.15.*unaffected6.1.183 to ≤ 6.1.*unaffected6.6.151 to ≤ 6.6.*unaffected6.12.103 to ≤ 6.12.*unaffected6.18.44 to ≤ 6.18.*unaffected7.1.8 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/92fcd0f30dc8e51f252589b082d46851d295cc1a ↗
- https://git.kernel.org/stable/c/09d60d1f72e6598241490eb6c4e97245af895c09 ↗
- https://git.kernel.org/stable/c/ff558072d199c1d641d1561da622e67f780514de ↗
- https://git.kernel.org/stable/c/ade9e2f0f7f4d3089600ac2af8ef0b91746f923b ↗
- https://git.kernel.org/stable/c/b558e07708d886acfcf4b0391ed7a8546e81d326 ↗
- https://git.kernel.org/stable/c/47fb04c3826e1f90271d405523043d6708b9072a ↗
- https://git.kernel.org/stable/c/0502d5077e419427d80f4d46ba95d0067f5fb916 ↗