Skip to main content
Network Thinking Solutions Logo

CVE-2021-47190

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…

All CVEs
CVE-2021-47190Published 4/10/2024

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…

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
4/10/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.1, < 5.4.162

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.82

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.5

Verify advisory

Source
Linux
Linux
≥ 3792cb2ff43b1b193136a03ce1336462a827d792, < 642fc22210a5e59d40b1e4d56d21ec3effd401f2

Verify advisory

Source
Linux
Linux
≥ 3792cb2ff43b1b193136a03ce1336462a827d792, < 11589d3144bc4e272e0aae46ce8156162e99babc

Verify advisory

Source
Linux
Linux
≥ 3792cb2ff43b1b193136a03ce1336462a827d792, < ab7c3d8d81c511ddfb27823fb07081c96422b56e

Verify advisory

Source
Linux
Linux
≥ 3792cb2ff43b1b193136a03ce1336462a827d792, < 4924b1f7c46711762fd0e65c135ccfbcfd6ded1f

Verify advisory

Source
Linux
Linux
5.1

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.