Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2021-47251
HistoryMay 21, 2024 - 2:19 p.m.

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

2024-05-2114:19:47
Linux
github.com
linux kernel
mac80211
skb length check
ieee80211_scan_rx
vulnerability
dynamic determination
frame type

6.9 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.5%

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]

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/mac80211/scan.c"
    ],
    "versions": [
      {
        "version": "cd418ba63f0c",
        "lessThan": "5a1cd67a801c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "cd418ba63f0c",
        "lessThan": "d1b949c70206",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "cd418ba63f0c",
        "lessThan": "e298aa358f0c",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/mac80211/scan.c"
    ],
    "versions": [
      {
        "version": "5.10",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.10",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.46",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.12.13",
        "lessThanOrEqual": "5.12.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.13",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.9 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.5%

Related for VULNRICHMENT:CVE-2021-47251