Kernel panic via dirty read-only F2FS inode
Published Aug 17, 2024 · Updated Aug 5, 2026
Denial of service in Linux kernel F2FS allows local users to trigger a kernel panic by accessing and unmounting a read-only filesystem. The lookup path repairs i_current_depth and f2fs_dirty_inode sets FI_DIRTY_INODE even though the superblock is read-only, while shutdown skips synchronization. Low-privileged local access and a read-only F2FS mount are required; inode eviction during unmount reaches f2fs_bug_on and crashes the host.
Summary
What happened
Denial of service in Linux kernel F2FS allows local users to trigger a kernel panic by accessing and unmounting a read-only filesystem. The lookup path repairs i_current_depth and f2fs_dirty_inode sets FI_DIRTY_INODE even though the superblock is read-only, while shutdown skips synchronization. Low-privileged local access and a read-only F2FS mount are required; inode eviction during unmount reaches f2fs_bug_on and crashes the host.
The record
- CVE
- CVE-2024-42297
- Published
- Aug 17, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 17, 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=3.8
- Affected versionversion=98e4da8ca301e062d79ae168c67e56f3c3de3ce4 <192b8fb8d1c8ca3c87366ebbef599fa80bb626b8
- Affected versionversion=98e4da8ca301e062d79ae168c67e56f3c3de3ce4 <2434344559f6743efb3ac15d11af9a0db9543bd3
- Affected versionversion=98e4da8ca301e062d79ae168c67e56f3c3de3ce4 <2d2916516577f2239b3377d9e8d12da5e6ccdfcf
- Affected versionversion=98e4da8ca301e062d79ae168c67e56f3c3de3ce4 <54162974aea37a8cae00742470a78c7f6bd6f915
- Affected versionversion=98e4da8ca301e062d79ae168c67e56f3c3de3ce4 <54bc4e88447e385c4d4ffa85d93e0dce628fcfa6
- Affected versionversion=98e4da8ca301e062d79ae168c67e56f3c3de3ce4 <9ce8135accf103f7333af472709125878704fdd4
- Affected versionversion=98e4da8ca301e062d79ae168c67e56f3c3de3ce4 <e62ff092a42f4a1bae3b310cf46673b4f3aac3b5
- Affected versionversion=98e4da8ca301e062d79ae168c67e56f3c3de3ce4 <ec56571b4b146a1cfbedab49d5fcaf19fe8bf4f1
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
- syzbot C reproducer for kernel BUG in f2fs_evict_inodeproof 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