Memory exhaustion via duplicate BTF insertion leak
Published Apr 10, 2024 · Updated May 11, 2026
Memory leak in Linux perf allows local users to exhaust process memory by processing perf data containing duplicate BTF IDs. perf_env__insert_btf() rejects an already-present BTF ID, but its caller retains the newly allocated BTF object instead of freeing it. Repeated local processing can grow perf memory consumption until the process or host loses availability, without reported data disclosure or modification.
Summary
What happened
Memory leak in Linux perf allows local users to exhaust process memory by processing perf data containing duplicate BTF IDs. perf_env__insert_btf() rejects an already-present BTF ID, but its caller retains the newly allocated BTF object instead of freeing it. Repeated local processing can grow perf memory consumption until the process or host loses availability, without reported data disclosure or modification.
The record
- CVE
- CVE-2021-47190
- Published
- Apr 10, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-401, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 10, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3792cb2ff43b1b193136a03ce1336462a827d792 <11589d3144bc4e272e0aae46ce8156162e99babc
- Affected versionversion=3792cb2ff43b1b193136a03ce1336462a827d792 <4924b1f7c46711762fd0e65c135ccfbcfd6ded1f
- Affected versionversion=3792cb2ff43b1b193136a03ce1336462a827d792 <642fc22210a5e59d40b1e4d56d21ec3effd401f2
- Affected versionversion=3792cb2ff43b1b193136a03ce1336462a827d792 <ab7c3d8d81c511ddfb27823fb07081c96422b56e
- Affected versionversion=5.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo