Kernel panic and data corruption via victim misselection
Published Feb 28, 2024 · Updated Aug 5, 2026
F2FS victim-selection errors in affected Linux kernel versions allow local users to corrupt data or trigger a kernel panic during block allocation. In get_victim(), LFS checks checkpointed valid blocks only in the current segment rather than the entire section, while SSR and AT_SSR can select a target segment with no free blocks. Exploitation requires write access to an F2FS filesystem mounted with checkpointing disabled and affects integrity and availability.
Summary
What happened
F2FS victim-selection errors in affected Linux kernel versions allow local users to corrupt data or trigger a kernel panic during block allocation. In get_victim(), LFS checks checkpointed valid blocks only in the current segment rather than the entire section, while SSR and AT_SSR can select a target segment with no free blocks. Exploitation requires write access to an F2FS filesystem mounted with checkpointing disabled and affects integrity and availability.
The record
- CVE
- CVE-2021-47004
- Published
- Feb 28, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 28, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 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=4.20
- Affected versionversion=4354994f097d068a894aa1a0860da54571df3582 <105155a8146ddb54c119d8318964eef3859d109d
- Affected versionversion=4354994f097d068a894aa1a0860da54571df3582 <1e116f87825f01a6380286472196882746b16f63
- Affected versionversion=4354994f097d068a894aa1a0860da54571df3582 <211372b2571520e394b56b431a0705586013b3ff
- Affected versionversion=4354994f097d068a894aa1a0860da54571df3582 <61461fc921b756ae16e64243f72af2bfc2e620db
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