CVE-2021-47251
JSON

7.8high

mac80211: fix skb length check in ieee80211_scan_rx()

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
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]

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 5.10 before 5.10.46, from 5.11 before 5.12.13, 5.13NVD

Classification

CWE-1284

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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]

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: mac80211: corrige la verificación de longitud de skb en ieee80211_scan_rx() Reemplace las constantes de tiempo de compilación codificadas para la verificación de la longitud del encabezado con determinación dinámica basada en el tipo de trama. De lo contrario, obtendremos un WARN_ON de validación en cfg80211 más adelante. [correcciones de estilo, reformular mensaje de confirmación]

References

Sources

SourceRecordLicence
CVE ListCVE-2021-47251 changed 2026-05-11CVE Terms of Use
NVDCVE-2021-47251 changed 2026-06-17Public domain