Memory leak via unreleased ext4 buffer heads
Published Mar 15, 2024 · Updated May 11, 2026
Memory leak in the Linux kernel ext4 filesystem allows local users to consume kernel memory by repeatedly mounting and unmounting a volume. In ext4_fill_super, a block-size mismatch makes sb_set_blocksize call kill_bdev before buffer-head references are released, leaving the buffer head and its b_data page busy and unfreed. Reaching the leak requires authority to start and stop an ext4 mount; repetition accumulates unreclaimed memory, amplified by dying systemd memory cgroups.
Summary
What happened
Memory leak in the Linux kernel ext4 filesystem allows local users to consume kernel memory by repeatedly mounting and unmounting a volume. In ext4_fill_super, a block-size mismatch makes sb_set_blocksize call kill_bdev before buffer-head references are released, leaving the buffer head and its b_data page busy and unfreed. Reaching the leak requires authority to start and stop an ext4 mount; repetition accumulates unreclaimed memory, amplified by dying systemd memory cgroups.
The record
- CVE
- CVE-2021-47119
- Published
- Mar 15, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-401, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 15, 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=2.6.19
- Affected versionversion=ac27a0ec112a089f1a5102bc8dffc79c8c815571 <01d349a481f0591230300a9171330136f9159bcd
- Affected versionversion=ac27a0ec112a089f1a5102bc8dffc79c8c815571 <1385b23396d511d5233b8b921ac3058b3f86a5e1
- Affected versionversion=ac27a0ec112a089f1a5102bc8dffc79c8c815571 <afd09b617db3786b6ef3dc43e28fe728cfea84df
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