CVE-2025-21909

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

No CVSS score yet EPSS 0.18%

Published 1 Apr 2025 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2025-21909

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-21909 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.79% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 66f7ac50ed7cc5c19a62bc97e8f6e7891004a03a, before 5ea856d93794c4afa5542defd8c61f2708dc245a
affected from 66f7ac50ed7cc5c19a62bc97e8f6e7891004a03a, before 351eb7ac53ff1cd94d893c0c4534ced2f36ae7d7
affected from 66f7ac50ed7cc5c19a62bc97e8f6e7891004a03a, before cd1bdcb77fdc03c253137e55bae10551b3481461
affected from 66f7ac50ed7cc5c19a62bc97e8f6e7891004a03a, before 236f41ca728f23210b31ed2d1d8a6df575a4b2d6
affected from 66f7ac50ed7cc5c19a62bc97e8f6e7891004a03a, before ebebbb0eded2ed9a1abfa31962f6fb699e6abce7
affected from 66f7ac50ed7cc5c19a62bc97e8f6e7891004a03a, before 521e55c2b0d6028861ac0a2d06aa57bb0e3ac486
affected from 66f7ac50ed7cc5c19a62bc97e8f6e7891004a03a, before ac4860141300581d3e2f6c6dafa37220f7ea9f65
affected from 66f7ac50ed7cc5c19a62bc97e8f6e7891004a03a, before 49f27f29446a5bfe633dd2cc0cfebd48a1a5e77f
Other versions: unaffected
Linux
affected 2.6.26
unaffected before 2.6.26
unaffected from 5.4.291 up to and including 5.4.*
unaffected from 5.10.235 up to and including 5.10.*
unaffected from 5.15.179 up to and including 5.15.*
unaffected from 6.1.131 up to and including 6.1.*
unaffected from 6.6.83 up to and including 6.6.*
unaffected from 6.12.19 up to and including 6.12.*
unaffected from 6.13.7 up to and including 6.13.*
unaffected 6.14 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-21909 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-21909

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-21909
trivy image --scanners vuln IMAGE | grep CVE-2025-21909

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-21909 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.