Lucene search

K
cvelistLinuxCVELIST:CVE-2021-47417
HistoryMay 21, 2024 - 3:04 p.m.

CVE-2021-47417 libbpf: Fix memory leak in strset

2024-05-2115:04:06
Linux
www.cve.org
6
linux kernel
vulnerability
libbpf
memory leak
strset

AI Score

6.4

Confidence

Low

EPSS

0

Percentile

9.0%

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

libbpf: Fix memory leak in strset

Free struct strset itself, not just its internal parts.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "tools/lib/bpf/strset.c"
    ],
    "versions": [
      {
        "version": "90d76d3ececc",
        "lessThan": "9e8e7504e098",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "90d76d3ececc",
        "lessThan": "b0e875bac0fa",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "tools/lib/bpf/strset.c"
    ],
    "versions": [
      {
        "version": "5.13",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.13",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.14.12",
        "lessThanOrEqual": "5.14.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.4

Confidence

Low

EPSS

0

Percentile

9.0%