CVE-2025-21909

wifi: nl80211: reject cooked mode if it is set along with other flags

MEDIUM
5.5
CVSS Score
Published: April 1, 2025 at 03:40 PM UTC
Updated: June 17, 2026 at 08:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: nl80211: reject cooked mode if it is set along with other flags It is possible to set both MONITOR_FLAG_COOK_FRAMES and MONITOR_FLAG_ACTIVE flags simultaneously on the same monitor interface from the userspace. This causes a sub-interface to be created with no IEEE80211_SDATA_IN_DRIVER bit set because the monitor interface is in the cooked state and it takes precedence over all other states. When the interface is then being deleted the kernel calls WARN_ONCE() from check_sdata_in_driver() because of missing that bit. Fix this by rejecting MONITOR_FLAG_COOK_FRAMES if it is set along with other flags. Found by Linux Verification Center (linuxtesting.org) with Syzkaller.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.26 ≤ v < 5.10.2352.6.26 ≤ v < 5.15.1792.6.26 ≤ v < 5.4.2912.6.26 ≤ v < 6.1.1312.6.26 ≤ v < 6.12.192.6.26 ≤ v < 6.13.72.6.26 ≤ v < 6.142.6.26 ≤ v < 6.6.835.11 ≤ v < 5.15.1795.16 ≤ v < 6.1.1315.5 ≤ v < 5.10.2356.13 ≤ v < 6.13.76.2 ≤ v < 6.6.836.7 ≤ v < 6.12.192.6.266.14 rc16.14 rc26.14 rc36.14 rc46.14 rc566f7ac50ed7cc5c19a62bc97e8f6e7891004a03a
Vendor states this is fixed in 236f41ca728f23210b31ed2d1d8a6df575a4b2d6 (fixed)
Vendor states this is fixed in 351eb7ac53ff1cd94d893c0c4534ced2f36ae7d7 (fixed)
Vendor states this is fixed in 49f27f29446a5bfe633dd2cc0cfebd48a1a5e77f (fixed)
Vendor states this is fixed in 521e55c2b0d6028861ac0a2d06aa57bb0e3ac486 (fixed)
Vendor states this is fixed in 5ea856d93794c4afa5542defd8c61f2708dc245a (fixed)
Vendor states this is fixed in ac4860141300581d3e2f6c6dafa37220f7ea9f65 (fixed)
Vendor states this is fixed in cd1bdcb77fdc03c253137e55bae10551b3481461 (fixed)
Vendor states this is fixed in ebebbb0eded2ed9a1abfa31962f6fb699e6abce7 (fixed)
Vendor states this is fixed in 2.6.26 (unaffected)
Vendor states this is fixed in 5.10.235 (unaffected)
Vendor states this is fixed in 5.15.179 (unaffected)
Vendor states this is fixed in 5.4.291 (unaffected)
Vendor states this is fixed in 6.1.131 (unaffected)
Vendor states this is fixed in 6.12.19 (unaffected)
Vendor states this is fixed in 6.13.7 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.83 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/236f41ca728f23210b31ed2d1d8a6df575a4b2d6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/351eb7ac53ff1cd94d893c0c4534ced2f36ae7d7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/49f27f29446a5bfe633dd2cc0cfebd48a1a5e77f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/521e55c2b0d6028861ac0a2d06aa57bb0e3ac486
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5ea856d93794c4afa5542defd8c61f2708dc245a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ac4860141300581d3e2f6c6dafa37220f7ea9f65
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cd1bdcb77fdc03c253137e55bae10551b3481461
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ebebbb0eded2ed9a1abfa31962f6fb699e6abce7

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-362

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card