# CVE-2021-47251: mac80211: fix skb length check in ieee80211_scan_rx()

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-05-21T14:19:47.534Z
- Modified: 2026-06-17T04:17:01.033Z
- Weaknesses: CWE-1284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

mac80211: fix skb length check in ieee80211_scan_rx()

Replace hard-coded compile-time constants for header length check
with dynamic determination based on the frame type. Otherwise, we
hit a validation WARN_ON in cfg80211 later.

[style fixes, reword commit message]

(As written by CVE List.)

## Affected

- Linux Linux: from cd418ba63f0c2f6157f35a41c9accc6ecb52590a before 5a1cd67a801cf5ef989c4783e07b86a25b143126; from cd418ba63f0c2f6157f35a41c9accc6ecb52590a before d1b949c70206178b12027f66edc088d40375b5cb; from cd418ba63f0c2f6157f35a41c9accc6ecb52590a before e298aa358f0ca658406d524b6639fe389cb6e11e; 5.10 (not affected: before 5.10; from 5.10.46 up to 5.10.*; from 5.12.13 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 5.10 before 5.10.46; from 5.11 before 5.12.13; 5.13

## References

- <https://git.kernel.org/stable/c/5a1cd67a801cf5ef989c4783e07b86a25b143126> (patch)
- <https://git.kernel.org/stable/c/d1b949c70206178b12027f66edc088d40375b5cb> (patch)
- <https://git.kernel.org/stable/c/e298aa358f0ca658406d524b6639fe389cb6e11e> (patch)

## Sources

- CVE List: [CVE-2021-47251](https://www.cve.org/CVERecord?id=CVE-2021-47251), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47251](https://nvd.nist.gov/vuln/detail/CVE-2021-47251), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47251 · Whole record: https://cve.day/CVE-2021-47251.json · Rebuilt by cve.day 2026-11-25T22:58:08.758Z
