Kernel panic via undersized F2FS SIT bitmap
Published Jul 4, 2025 · Updated Aug 5, 2026
Denial of service in the Linux kernel F2FS implementation allows local users to panic the kernel by mounting a malformed filesystem image. f2fs_sanity_check_ckpt() fails to reject a checkpoint whose SIT bitmap is too small for its declared segment count, so current_sit_addr() reads beyond the bitmap and f2fs_bug_on() aborts the kernel. Triggering the flaw requires privileges to mount a crafted F2FS image and interrupts the host rather than a remote service.
Summary
What happened
Denial of service in the Linux kernel F2FS implementation allows local users to panic the kernel by mounting a malformed filesystem image. f2fs_sanity_check_ckpt() fails to reject a checkpoint whose SIT bitmap is too small for its declared segment count, so current_sit_addr() reads beyond the bitmap and f2fs_bug_on() aborts the kernel. Triggering the flaw requires privileges to mount a crafted F2FS image and interrupts the host rather than a remote service.
The record
- CVE
- CVE-2025-38218
- Published
- Jul 4, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 4, 2025CVE 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 <38ef48a8afef8df646b6f6ae7abb872f18b533c1
- Affected versionversion=98e4da8ca301e062d79ae168c67e56f3c3de3ce4 <3e5ac62a56a24f4d88ce8ffd7bc452428b235868
- Affected versionversion=98e4da8ca301e062d79ae168c67e56f3c3de3ce4 <5db0d252c64e91ba1929c70112352e85dc5751e7
- Affected versionversion=98e4da8ca301e062d79ae168c67e56f3c3de3ce4 <79ef8a6c4ec53d327580fd7d2b522cf4f1d05b0c
- Affected versionversion=98e4da8ca301e062d79ae168c67e56f3c3de3ce4 <82f51bff393e4c12cf4de553120ca831cfa4ef19
- Affected versionversion=98e4da8ca301e062d79ae168c67e56f3c3de3ce4 <ad862f71016ba38039df1c96ed55c0a4314cc183
- Affected versionversion=98e4da8ca301e062d79ae168c67e56f3c3de3ce4 <ee1b421c469876544e297ec1090574bd76100247
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