Lucene search

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

CVE-2021-47252 batman-adv: Avoid WARN_ON timing related checks

2024-05-2114:19:48
Linux
github.com
linux kernel
vulnerability
batman-adv
ogm
transmission
pr_warn

6.8 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.1%

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

batman-adv: Avoid WARN_ON timing related checks

The soft/batadv interface for a queued OGM can be changed during the time
the OGM was queued for transmission and when the OGM is actually
transmitted by the worker.

But WARN_ON must be used to denote kernel bugs and not to print simple
warnings. A warning can simply be printed using pr_warn.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/batman-adv/bat_iv_ogm.c"
    ],
    "versions": [
      {
        "version": "ef0a937f7a14",
        "lessThan": "45011f2973f6",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ef0a937f7a14",
        "lessThan": "6031daaaf6d5",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ef0a937f7a14",
        "lessThan": "77a99aad5bc3",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ef0a937f7a14",
        "lessThan": "e8e9d2968a9d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ef0a937f7a14",
        "lessThan": "e7fbd8184fa9",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ef0a937f7a14",
        "lessThan": "282baa8104af",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ef0a937f7a14",
        "lessThan": "2eb4e0b36318",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "ef0a937f7a14",
        "lessThan": "9f460ae31c44",
        "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/batman-adv/bat_iv_ogm.c"
    ],
    "versions": [
      {
        "version": "3.14",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "3.14",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.4.293",
        "lessThanOrEqual": "4.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.9.274",
        "lessThanOrEqual": "4.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.14.238",
        "lessThanOrEqual": "4.14.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.196",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.128",
        "lessThanOrEqual": "5.4.*",
        "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.8 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.1%