CVE-2025-38163 is a Linux kernel vulnerability in the F2FS (Flash-Friendly File System) that could cause a kernel panic when on-disk metadata disagrees with per-inode mapped-block counts. The fix adds a sanity check around sbi->total_valid_block_count, logging the inconsistency and marking the filesystem for fsck instead of crashing. This issue affects systems using F2FS, which is optimized for NAND-flash storage in embedded, mobile, and some cloud environments. The patch ensures stability by avoiding a panic and allowing recovery through filesystem checking.
-
The Linux kernel received a targeted fix for F2FS that prevents a kernel panic when the filesystem’s on-disk metadata disagrees with per-inode mapped-block counts — a sanity-check was added around sbi->total_valid_block_count so the system logs the inconsistency and marks the filesystem for fsck...