CVE-2023-53257: wifi: mac80211: check S1G action frame size
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: check S1G action frame size
Before checking the action code, check that it even exists in the frame.
The Linux kernel CVE team has assigned CVE-2023-53257 to this issue.
Affected and fixed versions
===========================
Fixed in 5.15.133 with commit fedd9377dd9c71a950d432fbe1628eebfbed70a1 Fixed in 6.1.55 with commit 7ae7a1378a119780c8c17a6b5fc03011c3bb7029 Fixed in 6.5.5 with commit 5e030a2509be72b452b6f4a800786d43229414db Fixed in 6.6 with commit 19e4a47ee74718a22e963e8a647c8c3bfe8bb05c
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2023-53257
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
net/mac80211/rx.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/fedd9377dd9c71a950d432fbe1628eebfbed70a1 https://git.kernel.org/stable/c/7ae7a1378a119780c8c17a6b5fc03011c3bb7029 https://git.kernel.org/stable/c/5e030a2509be72b452b6f4a800786d43229414db https://git.kernel.org/stable/c/19e4a47ee74718a22e963e8a647c8c3bfe8bb05c