Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-47190

published

perf bpf: Avoid memory leak from perf_env__insert_btf()

Published
10 Apr 2024, 18:56:28 UTC
Updated
11 May 2026, 13:49:43 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux3792cb2ff43b1b193136a03ce1336462a827d792 to < 642fc22210a5e59d40b1e4d56d21ec3effd401f2 · 3792cb2ff43b1b193136a03ce1336462a827d792 to < 11589d3144bc4e272e0aae46ce8156162e99babc · 3792cb2ff43b1b193136a03ce1336462a827d792 to < ab7c3d8d81c511ddfb27823fb07081c96422b56e · 3792cb2ff43b1b193136a03ce1336462a827d792 to < 4924b1f7c46711762fd0e65c135ccfbcfd6ded1f · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.1 (affected) · 0 to < 5.1 (unaffected · semver) · 5.4.162 through 5.4.* (unaffected · semver) · 5.10.82 through 5.10.* (unaffected · semver) · 5.15.5 through 5.15.* (unaffected · semver) · 5.16 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2024-049 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2022-010 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2025-093 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 kernelaarch64 Listed in advisory Not stated ALAS2KERNEL-5.10-2024-049
Amazon Linux AL2 kernelaarch64 Listed in advisory Not stated ALAS2KERNEL-5.4-2022-010
Show 11 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 kernelaarch64 Listed in advisory Not stated ALAS2KERNEL-5.4-2025-093
Amazon Linux AL2 kerneli686 Listed in advisory Not stated ALAS2KERNEL-5.10-2024-049
Amazon Linux AL2 kerneli686 Listed in advisory Not stated ALAS2KERNEL-5.4-2022-010
Amazon Linux AL2 kerneli686 Listed in advisory Not stated ALAS2KERNEL-5.4-2025-093
Amazon Linux AL2 kernelsrc Listed in advisory Not stated ALAS2KERNEL-5.10-2024-049
Amazon Linux AL2 kernelsrc Listed in advisory Not stated ALAS2KERNEL-5.4-2022-010
Amazon Linux AL2 kernelsrc Listed in advisory Not stated ALAS2KERNEL-5.4-2025-093
Amazon Linux AL2 kernelx86_64 Listed in advisory Not stated ALAS2KERNEL-5.10-2024-049
Amazon Linux AL2 kernelx86_64 Listed in advisory Not stated ALAS2KERNEL-5.4-2022-010
Amazon Linux AL2 kernelx86_64 Listed in advisory Not stated ALAS2KERNEL-5.4-2025-093

Description

In the Linux kernel, the following vulnerability has been resolved: perf bpf: Avoid memory leak from perf_env__insert_btf() perf_env__insert_btf() doesn't insert if a duplicate BTF id is encountered and this causes a memory leak. Modify the function to return a success/error value and then free the memory if insertion didn't happen. v2. Adds a return -1 when the insertion error occurs in perf_env__fetch_btf. This doesn't affect anything as the result is never checked.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

3

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 3792cb2ff43b1b193136a03ce1336462a827d792 to < 642fc22210a5e59d40b1e4d56d21ec3effd401f2 (affected · git)3792cb2ff43b1b193136a03ce1336462a827d792 to < 11589d3144bc4e272e0aae46ce8156162e99babc (affected · git)3792cb2ff43b1b193136a03ce1336462a827d792 to < ab7c3d8d81c511ddfb27823fb07081c96422b56e (affected · git)3792cb2ff43b1b193136a03ce1336462a827d792 to < 4924b1f7c46711762fd0e65c135ccfbcfd6ded1f (affected · git)Default: unaffected Linux · cna
Linux Linux 5.1 (affected)0 to < 5.1 (unaffected · semver)5.4.162 through 5.4.* (unaffected · semver)5.10.82 through 5.10.* (unaffected · semver)5.15.5 through 5.15.* (unaffected · semver)5.16 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

3

Linux · cna

perf bpf: Avoid memory leak from perf_env__insert_btf()

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
73959c2bd53841a8f14e1038e4d951727e77ad5d01ba5fe2be50fdfcaae7d0da
Ingested
23 Sep 2026, 07:57:04 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected