{"id":"CVE-2021-47251","state":"PUBLISHED","title":"mac80211: fix skb length check in ieee80211_scan_rx()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmac80211: fix skb length check in ieee80211_scan_rx()\n\nReplace hard-coded compile-time constants for header length check\nwith dynamic determination based on the frame type. Otherwise, we\nhit a validation WARN_ON in cfg80211 later.\n\n[style fixes, reword commit message]","publishedAt":"2024-05-21T14:19:47.534Z","updatedAt":"2026-05-11T13:50:53.007Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"cd418ba63f0c2f6157f35a41c9accc6ecb52590a","status":"affected","lessThan":"5a1cd67a801cf5ef989c4783e07b86a25b143126","versionType":"git"},{"version":"cd418ba63f0c2f6157f35a41c9accc6ecb52590a","status":"affected","lessThan":"d1b949c70206178b12027f66edc088d40375b5cb","versionType":"git"},{"version":"cd418ba63f0c2f6157f35a41c9accc6ecb52590a","status":"affected","lessThan":"e298aa358f0ca658406d524b6639fe389cb6e11e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac80211/scan.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.10","versionType":"semver"},{"version":"5.10.46","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.12.13","status":"unaffected","lessThanOrEqual":"5.12.*","versionType":"semver"},{"version":"5.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac80211/scan.c"]}],"references":["https://git.kernel.org/stable/c/5a1cd67a801cf5ef989c4783e07b86a25b143126","https://git.kernel.org/stable/c/d1b949c70206178b12027f66edc088d40375b5cb","https://git.kernel.org/stable/c/e298aa358f0ca658406d524b6639fe389cb6e11e"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:19.404Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/47xxx/CVE-2021-47251.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-47251","state":"PUBLISHED","datePublished":"2024-05-21T14:19:47.534Z","dateUpdated":"2026-05-11T13:50:53.007Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-04-10T18:59:19.537Z"},"containers":{"cna":{"title":"mac80211: fix skb length check in ieee80211_scan_rx()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmac80211: fix skb length check in ieee80211_scan_rx()\n\nReplace hard-coded compile-time constants for header length check\nwith dynamic determination based on the frame type. Otherwise, we\nhit a validation WARN_ON in cfg80211 later.\n\n[style fixes, reword commit message]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"cd418ba63f0c2f6157f35a41c9accc6ecb52590a","status":"affected","lessThan":"5a1cd67a801cf5ef989c4783e07b86a25b143126","versionType":"git"},{"version":"cd418ba63f0c2f6157f35a41c9accc6ecb52590a","status":"affected","lessThan":"d1b949c70206178b12027f66edc088d40375b5cb","versionType":"git"},{"version":"cd418ba63f0c2f6157f35a41c9accc6ecb52590a","status":"affected","lessThan":"e298aa358f0ca658406d524b6639fe389cb6e11e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac80211/scan.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.10","versionType":"semver"},{"version":"5.10.46","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.12.13","status":"unaffected","lessThanOrEqual":"5.12.*","versionType":"semver"},{"version":"5.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mac80211/scan.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/5a1cd67a801cf5ef989c4783e07b86a25b143126"},{"url":"https://git.kernel.org/stable/c/d1b949c70206178b12027f66edc088d40375b5cb"},{"url":"https://git.kernel.org/stable/c/e298aa358f0ca658406d524b6639fe389cb6e11e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T13:50:53.007Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.10.46"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.12.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10","versionEndExcluding":"5.13"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2021-47251","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-05-21T18:50:58.000739Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:15:18.474Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/5a1cd67a801cf5ef989c4783e07b86a25b143126","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/d1b949c70206178b12027f66edc088d40375b5cb","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/e298aa358f0ca658406d524b6639fe389cb6e11e","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T05:32:08.012Z"}}]}}}