Privileged filesystem shutdown hang via readonly transition
Published Jul 12, 2024 · Updated May 11, 2026
Denial of service in Linux kernel F2FS allows local users to hang filesystem shutdown through a crafted full-sync shutdown ioctl. The f2fs_ioc_shutdown path freezes the block device, but f2fs_stop_checkpoint can mark the superblock read-only; thaw_super then returns EINVAL while the discard thread and shutdown caller wait on each other. Reaching the faulty path requires CAP_SYS_ADMIN and an F2FS volume in a critical-error state; the resulting deadlock interrupts filesystem shutdown.
Summary
What happened
Denial of service in Linux kernel F2FS allows local users to hang filesystem shutdown through a crafted full-sync shutdown ioctl. The f2fs_ioc_shutdown path freezes the block device, but f2fs_stop_checkpoint can mark the superblock read-only; thaw_super then returns EINVAL while the discard thread and shutdown caller wait on each other. Reaching the faulty path requires CAP_SYS_ADMIN and an F2FS volume in a critical-error state; the resulting deadlock interrupts filesystem shutdown.
The record
- CVE
- CVE-2024-40969
- Published
- Jul 12, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-667, T1499
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Jul 12, 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=3.8
- Affected versionversion=98e4da8ca301e062d79ae168c67e56f3c3de3ce4 <1036d3ea7a32cb7cee00885c73a1f2ba7fbc499a
- Affected versionversion=98e4da8ca301e062d79ae168c67e56f3c3de3ce4 <3bdb7f161697e2d5123b89fe1778ef17a44858e7
- Affected versionversion=98e4da8ca301e062d79ae168c67e56f3c3de3ce4 <f47ed3b284b38f235355e281f57dfa8fffcc6563
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.
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