File data loss via stale page dirtiness
Published May 22, 2024 · Updated May 23, 2026
Data corruption in the Linux kernel OCFS2 inline-data conversion path allows local users to lose file contents via crafted write sequences. ocfs2_convert_inline_data_to_extents dirties buffers beyond i_size while their pages remain clean, so later mark_buffer_dirty calls fail to make the pages eligible for writeback. Exploitation requires write access to a mounted OCFS2 filesystem, inline-to-extent conversion, writeback, file growth, and page reclamation; affected contents disappear after remount.
Summary
What happened
Data corruption in the Linux kernel OCFS2 inline-data conversion path allows local users to lose file contents via crafted write sequences. ocfs2_convert_inline_data_to_extents dirties buffers beyond i_size while their pages remain clean, so later mark_buffer_dirty calls fail to make the pages eligible for writeback. Exploitation requires write access to a mounted OCFS2 filesystem, inline-to-extent conversion, writeback, file growth, and page reclamation; affected contents disappear after remount.
The record
- CVE
- CVE-2021-47460
- Published
- May 22, 2024
- Updated
- May 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1485
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 22, 2024CVE publishedPublication date reported by the CVE source.
- May 23, 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=36ed9e604215f58cec0381ca5fcc6da05f2d87ca
- Affected versionversion=4.14.204 <4.14.253
- Affected versionversion=4.19.155 <4.19.214
- Affected versionversion=4.9.242 <4.9.288
- Affected versionversion=5.10
- Affected versionversion=5.4.75 <5.4.156
- Affected versionversion=5.9.5 <5.10
- Affected versionversion=6dbf7bb555981fb5faf7b691e8f6169fc2b2e63b <5314454ea3ff6fc746eaf71b9a7ceebed52888fa
- Affected versionversion=6dbf7bb555981fb5faf7b691e8f6169fc2b2e63b <f1b98569e81c37d7e0deada7172f8f60860c1360
- Affected versionversion=6dbf7bb555981fb5faf7b691e8f6169fc2b2e63b <fa9b6b6c953e3f6441ed6cf83b4c771dac2dae08
- Affected versionversion=7ce2b16bad2cbfa3fa7bbc42c4448914f639ca47 <a3a089c241cd49b33a8cdd7fcb37cc87a086912a
- Affected versionversion=7ed80e77c908cbaa686529a49f8ae0060c5caee7 <8e6bfb4f70168ddfd32fb6dc028ad52faaf1f32e
- Affected versionversion=acef5107e2eacb08a16ad5db60320d65bd26a6c0 <560edd14de2bf9dbc0129681eeb4d5ef87cc105f
- Affected versionversion=f8a6a2ed4b7d1c3c8631eeb6d00572bc853094a8 <b05caf023b14cbed9223bb5b48ecc7bffe38f632
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
- OCFS2 inline-conversion data-loss reproducerproof of concept · demonstrated
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