Skip to contentSkip to conversation

CVE-2023-53321: wifi: mac80211_hwsim: drop short frames

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 16, 2025

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

wifi: mac80211_hwsim: drop short frames

While technically some control frames like ACK are shorter and end after Address 1, such frames shouldn't be forwarded through wmediumd or similar userspace, so require the full 3-address header to avoid accessing invalid memory if shorter frames are passed in.

The Linux kernel CVE team has assigned CVE-2023-53321 to this issue.

Affected and fixed versions
===========================

	Fixed in 5.4.257 with commit 3beb97bed860d95b14ad23578ce8ddaea62023db
	Fixed in 5.10.197 with commit 672205c6f2d11978fcd7f0f336bb2c708e28874b
	Fixed in 5.15.133 with commit c64ee9dd335832d5e2ab0a8fc83a34ad4c729799
	Fixed in 6.1.55 with commit b9a175e3b250b0dc6e152988040aa5014e98e61e
	Fixed in 6.5.5 with commit 89a41ed7f21476301659ebd25ccb48a60791c1a7
	Fixed in 6.6 with commit fba360a047d5eeeb9d4b7c3a9b1c8308980ce9a6

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-53321

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:
drivers/net/wireless/virtual/mac80211_hwsim.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/3beb97bed860d95b14ad23578ce8ddaea62023db
	https://git.kernel.org/stable/c/672205c6f2d11978fcd7f0f336bb2c708e28874b
	https://git.kernel.org/stable/c/c64ee9dd335832d5e2ab0a8fc83a34ad4c729799
	https://git.kernel.org/stable/c/b9a175e3b250b0dc6e152988040aa5014e98e61e
	https://git.kernel.org/stable/c/89a41ed7f21476301659ebd25ccb48a60791c1a7
	https://git.kernel.org/stable/c/fba360a047d5eeeb9d4b7c3a9b1c8308980ce9a6