Fixed
Created: Jul 3, 2025
Updated: Sep 1, 2025
Resolved Date: Jul 10, 2025
Found In Version: 10.25.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 25
Component/s: Kernel
In the Linux kernel, the following vulnerability has been resolved:EOL][EOL]f2fs: zone: fix to avoid inconsistence in between SIT and SSA[EOL][EOL]w/ below testcase, it will cause inconsistence in between SIT and SSA.[EOL][EOL]create_null_blk 512 2 1024 1024[EOL]mkfs.f2fs -m /dev/nullb0[EOL]mount /dev/nullb0 /mnt/f2fs/[EOL]touch /mnt/f2fs/file[EOL]f2fs_io pinfile set /mnt/f2fs/file[EOL]fallocate -l 4GiB /mnt/f2fs/file[EOL][EOL]F2FS-fs (nullb0): Inconsistent segment (0) type [1, 0] in SSA and SIT[EOL]CPU: 5 UID: 0 PID: 2398 Comm: fallocate Tainted: G O 6.13.0-rc1 #84[EOL]Tainted: [O]=OOT_MODULE[EOL]Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006[EOL]Call Trace:[EOL] <TASK>[EOL] dump_stack_lvl+0xb3/0xd0[EOL] dump_stack+0x14/0x20[EOL] f2fs_handle_critical_error+0x18c/0x220 [f2fs][EOL] f2fs_stop_checkpoint+0x38/0x50 [f2fs][EOL] do_garbage_collect+0x674/0x6e0 [f2fs][EOL] f2fs_gc_range+0x12b/0x230 [f2fs][EOL] f2fs_allocate_pinning_section+0x5c/0x150 [f2fs][EOL] f2fs_expand_inode_data+0x1cc/0x3c0 [f2fs][EOL] f2fs_fallocate+0x3c3/0x410 [f2fs][EOL] vfs_fallocate+0x15f/0x4b0[EOL] __x64_sys_fallocate+0x4a/0x80[EOL] x64_sys_call+0x15e8/0x1b80[EOL] do_syscall_64+0x68/0x130[EOL] entry_SYSCALL_64_after_hwframe+0x67/0x6f[EOL]RIP: 0033:0x7f9dba5197ca[EOL]F2FS-fs (nullb0): Stopped filesystem due to reason: 4[EOL][EOL]The reason is f2fs_gc_range() may try to migrate block in curseg, however,[EOL]its SSA block is not uptodate due to the last summary block data is still[EOL]in cache of curseg.[EOL][EOL]In this patch, we add a condition in f2fs_gc_range() to check whether[EOL]section is opened or not, and skip block migration for opened section.
CREATE(Triage):(User=lchen-cn) [CVE-2025-38164 (https://nvd.nist.gov/vuln/detail/CVE-2025-38164)