CVE-2025-38577
published high CVSS 3.1 · 7.8f2fs: fix to avoid panic in f2fs_evict_inode
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 15df59809c54fbd687cdf27efbd2103a937459be · 0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 9535e440fe5bc6c5ac7cfb407e53bf788b8bf8d4 · 0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 5cd99d5aa3d39086bdb53eb5c52df16e98b101a0 · 0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 4732ca17c17f5062426cfa982f43593e6b81963b · 0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 880ef748e78a1eb7df2d8e11a9ef21e98bcaabe5 · 0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 97df495d754116c8c28ac6a4112f831727bde887 · 0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 9bbfe83924946552c4c513099c0e8c83af76311a · 0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 42f9ea16aea8b49febaa87950a006a1792209f38 · 0f18b462b2e5aff64b8638e8a47284b907351ef3 to < a509a55f8eecc8970b3980c6f06886bbff0e2f68 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.8 (affected) · 0 to < 4.8 (unaffected · semver) · 5.4.297 through 5.4.* (unaffected · semver) · 5.10.241 through 5.10.* (unaffected · semver) · 5.15.190 through 5.15.* (unaffected · semver) · 6.1.148 through 6.1.* (unaffected · semver) · 6.6.102 through 6.6.* (unaffected · semver) · 6.12.42 through 6.12.* (unaffected · semver) · 6.15.10 through 6.15.* (unaffected · semver) · 6.16.1 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bullseye | linux | Advisory build | 5.10.244-1 | DLA-4327-1 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.348.3.el7uek | ELSA-2025-20663 |
| Ubuntu | focal | linux-aws-5.15 | Advisory build | 5.15.0-1097.104~20.04.1 | USN-7909-1 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.153-1~deb11u1 | DLA-4328-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 7 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.348.3.el7uek | ELSA-2025-20663 |
| Oracle Linux | 7 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.348.3.el7uek | ELSA-2025-20663 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.348.3.el7uek | ELSA-2025-20663 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.348.3.el7uek | ELSA-2025-20663 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.348.3.el7uek | ELSA-2025-20663 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.348.3.el7uek | ELSA-2025-20663 |
| Oracle Linux | 7 | kernel-uek-toolsx86_64 | Advisory build | 0:5.4.17-2136.348.3.el7uek | ELSA-2025-20663 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.4.17-2136.348.3.el8uek | ELSA-2025-20663 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.4.17-2136.348.3.el8uek | ELSA-2025-20663 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.4.17-2136.348.3.el8uek | ELSA-2025-20663 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.4.17-2136.348.3.el8uek | ELSA-2025-20663 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.4.17-2136.348.3.el8uek | ELSA-2025-20663 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.4.17-2136.348.3.el8uek | ELSA-2025-20663 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.4.17-2136.348.3.el8uek | ELSA-2025-20663 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.4.17-2136.348.3.el8uek | ELSA-2025-20663 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.4.17-2136.348.3.el8uek | ELSA-2025-20663 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.4.17-2136.348.3.el8uek | ELSA-2025-20663 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.4.17-2136.348.3.el8uek | ELSA-2025-20663 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.4.17-2136.348.3.el8uek | ELSA-2025-20663 |
| Ubuntu | focal | linux-aws-5.15-cloud-tools-5.15.0-1097 | Advisory build | 5.15.0-1097.104~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-aws-5.15-headers-5.15.0-1097 | Advisory build | 5.15.0-1097.104~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-aws-5.15-tools-5.15.0-1097 | Advisory build | 5.15.0-1097.104~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-azure-5.15 | Advisory build | 5.15.0-1102.111~20.04.1 | USN-7938-1 |
| Ubuntu | focal | linux-azure-5.15-cloud-tools-5.15.0-1102 | Advisory build | 5.15.0-1102.111~20.04.1 | USN-7938-1 |
| Ubuntu | focal | linux-azure-5.15-headers-5.15.0-1102 | Advisory build | 5.15.0-1102.111~20.04.1 | USN-7938-1 |
| Ubuntu | focal | linux-azure-5.15-tools-5.15.0-1102 | Advisory build | 5.15.0-1102.111~20.04.1 | USN-7938-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1049-nvidia-tegra | Advisory build | 5.15.0-1049.49~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1049-nvidia-tegra-rt | Advisory build | 5.15.0-1049.49~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1091-ibm | Advisory build | 5.15.0-1091.94~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1092-intel-iotg | Advisory build | 5.15.0-1092.98~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1094-oracle | Advisory build | 5.15.0-1094.100~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1097-aws | Advisory build | 5.15.0-1097.104~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1097-gcp | Advisory build | 5.15.0-1097.106~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1102-azure | Advisory build | 5.15.0-1102.111~20.04.1 | USN-7938-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-163-generic | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-163-generic-64k | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-163-generic-lpae | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-163-lowlatency | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-163-lowlatency-64k | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1092-intel-iotg | Advisory build | 5.15.0-1092.98~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1097-aws | Advisory build | 5.15.0-1097.104~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1102-azure | Advisory build | 5.15.0-1102.111~20.04.1 | USN-7938-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-163-generic | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-163-lowlatency | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-gcp-5.15 | Advisory build | 5.15.0-1097.106~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-gcp-5.15-headers-5.15.0-1097 | Advisory build | 5.15.0-1097.106~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-gcp-5.15-tools-5.15.0-1097 | Advisory build | 5.15.0-1097.106~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-headers-5.15.0-1049-nvidia-tegra | Advisory build | 5.15.0-1049.49~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-headers-5.15.0-1049-nvidia-tegra-rt | Advisory build | 5.15.0-1049.49~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-headers-5.15.0-1091-ibm | Advisory build | 5.15.0-1091.94~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-headers-5.15.0-1092-intel-iotg | Advisory build | 5.15.0-1092.98~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-headers-5.15.0-1094-oracle | Advisory build | 5.15.0-1094.100~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-headers-5.15.0-1097-aws | Advisory build | 5.15.0-1097.104~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-headers-5.15.0-1097-gcp | Advisory build | 5.15.0-1097.106~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-headers-5.15.0-1102-azure | Advisory build | 5.15.0-1102.111~20.04.1 | USN-7938-1 |
| Ubuntu | focal | linux-headers-5.15.0-163-generic | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-headers-5.15.0-163-generic-64k | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-headers-5.15.0-163-generic-lpae | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-headers-5.15.0-163-lowlatency | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-headers-5.15.0-163-lowlatency-64k | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-hwe-5.15 | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-hwe-5.15-cloud-tools-5.15.0-163 | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-hwe-5.15-headers-5.15.0-163 | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-hwe-5.15-tools-5.15.0-163 | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-ibm-5.15 | Advisory build | 5.15.0-1091.94~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-ibm-5.15-headers-5.15.0-1091 | Advisory build | 5.15.0-1091.94~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-ibm-5.15-source-5.15.0 | Advisory build | 5.15.0-1091.94~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-ibm-5.15-tools-5.15.0-1091 | Advisory build | 5.15.0-1091.94~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-image-5.15.0-163-generic | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-image-5.15.0-163-generic-lpae | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1049-nvidia-tegra | Advisory build | 5.15.0-1049.49~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1049-nvidia-tegra-rt | Advisory build | 5.15.0-1049.49~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1091-ibm | Advisory build | 5.15.0-1091.94~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1092-intel-iotg | Advisory build | 5.15.0-1092.98~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1094-oracle | Advisory build | 5.15.0-1094.100~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1097-aws | Advisory build | 5.15.0-1097.104~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1097-gcp | Advisory build | 5.15.0-1097.106~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1102-azure | Advisory build | 5.15.0-1102.111~20.04.1 | USN-7938-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-163-generic | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-163-generic-64k | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-163-lowlatency | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-163-lowlatency-64k | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-intel-iotg-5.15 | Advisory build | 5.15.0-1092.98~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-5.15.0-1092 | Advisory build | 5.15.0-1092.98~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-common | Advisory build | 5.15.0-1092.98~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-headers-5.15.0-1092 | Advisory build | 5.15.0-1092.98~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-5.15.0-1092 | Advisory build | 5.15.0-1092.98~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-common | Advisory build | 5.15.0-1092.98~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-host | Advisory build | 5.15.0-1092.98~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15 | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-163 | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-headers-5.15.0-163 | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-tools-5.15.0-163 | Advisory build | 5.15.0-163.173~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-modules-5.15.0-1049-nvidia-tegra | Advisory build | 5.15.0-1049.49~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-modules-5.15.0-1049-nvidia-tegra-rt | Advisory build | 5.15.0-1049.49~20.04.1 | USN-7909-1 |
| Ubuntu | focal | linux-modules-5.15.0-1091-ibm | Advisory build | 5.15.0-1091.94~20.04.1 | USN-7909-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to avoid panic in f2fs_evict_inode As syzbot [1] reported as below: R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffe17473450 R13: 00007f28b1c10854 R14: 000000000000dae5 R15: 00007ffe17474520 </TASK> ---[ end trace 0000000000000000 ]--- ================================================================== BUG: KASAN: use-after-free in __list_del_entry_valid+0xa6/0x130 lib/list_debug.c:62 Read of size 8 at addr ffff88812d962278 by task syz-executor/564 CPU: 1 PID: 564 Comm: syz-executor Tainted: G W 6.1.129-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: <TASK> __dump_stack+0x21/0x24 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x158 lib/dump_stack.c:106 print_address_description+0x71/0x210 mm/kasan/report.c:316 print_report+0x4a/0x60 mm/kasan/report.c:427 kasan_report+0x122/0x150 mm/kasan/report.c:531 __asan_report_load8_noabort+0x14/0x20 mm/kasan/report_generic.c:351 __list_del_entry_valid+0xa6/0x130 lib/list_debug.c:62 __list_del_entry include/linux/list.h:134 [inline] list_del_init include/linux/list.h:206 [inline] f2fs_inode_synced+0xf7/0x2e0 fs/f2fs/super.c:1531 f2fs_update_inode+0x74/0x1c40 fs/f2fs/inode.c:585 f2fs_update_inode_page+0x137/0x170 fs/f2fs/inode.c:703 f2fs_write_inode+0x4ec/0x770 fs/f2fs/inode.c:731 write_inode fs/fs-writeback.c:1460 [inline] __writeback_single_inode+0x4a0/0xab0 fs/fs-writeback.c:1677 writeback_single_inode+0x221/0x8b0 fs/fs-writeback.c:1733 sync_inode_metadata+0xb6/0x110 fs/fs-writeback.c:2789 f2fs_sync_inode_meta+0x16d/0x2a0 fs/f2fs/checkpoint.c:1159 block_operations fs/f2fs/checkpoint.c:1269 [inline] f2fs_write_checkpoint+0xca3/0x2100 fs/f2fs/checkpoint.c:1658 kill_f2fs_super+0x231/0x390 fs/f2fs/super.c:4668 deactivate_locked_super+0x98/0x100 fs/super.c:332 deactivate_super+0xaf/0xe0 fs/super.c:363 cleanup_mnt+0x45f/0x4e0 fs/namespace.c:1186 __cleanup_mnt+0x19/0x20 fs/namespace.c:1193 task_work_run+0x1c6/0x230 kernel/task_work.c:203 exit_task_work include/linux/task_work.h:39 [inline] do_exit+0x9fb/0x2410 kernel/exit.c:871 do_group_exit+0x210/0x2d0 kernel/exit.c:1021 __do_sys_exit_group kernel/exit.c:1032 [inline] __se_sys_exit_group kernel/exit.c:1030 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1030 x64_sys_call+0x7b4/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f28b1b8e169 Code: Unable to access opcode bytes at 0x7f28b1b8e13f. RSP: 002b:00007ffe174710a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f28b1c10879 RCX: 00007f28b1b8e169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000002 R08: 00007ffe1746ee47 R09: 00007ffe17472360 R10: 0000000000000009 R11: 0000000000000246 R12: 00007ffe17472360 R13: 00007f28b1c10854 R14: 000000000000dae5 R15: 00007ffe17474520 </TASK> Allocated by task 569: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 kasan_save_alloc_info+0x25/0x30 mm/kasan/generic.c:505 __kasan_slab_alloc+0x72/0x80 mm/kasan/common.c:328 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x4f/0x2c0 mm/slab.h:737 slab_alloc_node mm/slub.c:3398 [inline] slab_alloc mm/slub.c:3406 [inline] __kmem_cache_alloc_lru mm/slub.c:3413 [inline] kmem_cache_alloc_lru+0x104/0x220 mm/slub.c:3429 alloc_inode_sb include/linux/fs.h:3245 [inline] f2fs_alloc_inode+0x2d/0x340 fs/f2fs/super.c:1419 alloc_inode fs/inode.c:261 [inline] iget_locked+0x186/0x880 fs/inode.c:1373 f2fs_iget+0x55/0x4c60 fs/f2fs/inode.c:483 f2fs_lookup+0x366/0xab0 fs/f2fs/namei.c:487 __lookup_slow+0x2a3/0x3d0 fs/namei.c:1690 lookup_slow+0x57/0x70 fs/namei.c:1707 walk_component+0x2e6/0x410 fs/namei ---truncated---
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The entire trigger sequence is local filesystem syscalls — unlink/rename on a mounted f2fs volume to force `f2fs_evict_inode()`, then sync/fsync (or ordinary background writeback) to drive the checkpoint that consumes the stale `gdirty_list` entry. No network protocol or remote peer data is involved. AC:L - Once the crafted f2fs image is mounted, the attacker fully controls the on-disk node/dirent inconsistency that makes both `f2fs_truncate()` and `f2fs_update_inode_page()` fail, so the dangling list entry is produced deterministically by their own unlink, and they fire the use side at will via sync(2)-driven checkpoint; syzbot ships a C reproducer and there is no race or memory layout outside attacker control. PR:L - No capability check exists anywhere on the path from unlink(2)/sync(2) to `f2fs_evict_inode()` and `f2fs_sync_inode_meta()`; any unprivileged user with access to the f2fs volume (Android /data, vold-mounted adoptable storage or SD card, udisks2-automounted removable media, a loop-mounted image in a privileged container) triggers both the free and the subsequent use. UI:N - The malicious f2fs volume is mounted by vold/udisks2 automount infrastructure with no human action, and the attacker then performs every step alone with ordinary file operations; the use-after-free is additionally fired by the kernel's own writeback/checkpoint kworker without any victim involvement. S:U - The freed `f2fs_inode_cache` object and the corrupted `sbi->inode_list[DIRTY_META]` are kernel slab structures in the same security authority as the attacking process; no VM, IOMMU, or sandbox boundary is crossed. C:H - `f2fs_sync_inode_meta()` treats the freed inode as live — `f2fs_update_inode()` reads i_mode, i_uid/i_gid, i_size, timestamps, xattr nid, extent and compression fields out of the freed object and persists them into on-disk inode metadata that the attacker can read back, and `__list_del_entry_valid()` reads stale list pointers, giving a groomable arbitrary kernel-memory read primitive. I:H - `igrab()` increments a refcount inside freed memory, `list_del_init()` in `f2fs_inode_synced()` writes kernel pointers into the freed (reallocatable) slot, `sync_inode_metadata()` performs an indirect call through `inode->i_sb->s_op->write_inode` read from freed memory, and the trailing `iput()` can double-free — a classic UAF write and control-flow-hijack primitive, with the f2fs inode slab sprayable at will by creating files. A:H - The reported consequence is a KASAN-detected use-after-free with list corruption in `__list_del_entry_valid()` during checkpoint, and with CONFIG_F2FS_CHECK_FS the `f2fs_bug_on(FI_DIRTY_INODE)` is a hard BUG_ON producing an immediate kernel panic (the commit title's "avoid panic"); either way the machine oopses and the condition is repeatedly triggerable.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 15df59809c54fbd687cdf27efbd2103a937459be (affected · git)0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 9535e440fe5bc6c5ac7cfb407e53bf788b8bf8d4 (affected · git)0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 5cd99d5aa3d39086bdb53eb5c52df16e98b101a0 (affected · git)0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 4732ca17c17f5062426cfa982f43593e6b81963b (affected · git)0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 880ef748e78a1eb7df2d8e11a9ef21e98bcaabe5 (affected · git)0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 97df495d754116c8c28ac6a4112f831727bde887 (affected · git)0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 9bbfe83924946552c4c513099c0e8c83af76311a (affected · git)0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 42f9ea16aea8b49febaa87950a006a1792209f38 (affected · git)0f18b462b2e5aff64b8638e8a47284b907351ef3 to < a509a55f8eecc8970b3980c6f06886bbff0e2f68 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.8 (affected)0 to < 4.8 (unaffected · semver)5.4.297 through 5.4.* (unaffected · semver)5.10.241 through 5.10.* (unaffected · semver)5.15.190 through 5.15.* (unaffected · semver)6.1.148 through 6.1.* (unaffected · semver)6.6.102 through 6.6.* (unaffected · semver)6.12.42 through 6.12.* (unaffected · semver)6.15.10 through 6.15.* (unaffected · semver)6.16.1 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
11- https://git.kernel.org/stable/c/15df59809c54fbd687cdf27efbd2103a937459be
- https://git.kernel.org/stable/c/42f9ea16aea8b49febaa87950a006a1792209f38
- https://git.kernel.org/stable/c/4732ca17c17f5062426cfa982f43593e6b81963b
- https://git.kernel.org/stable/c/5cd99d5aa3d39086bdb53eb5c52df16e98b101a0
- https://git.kernel.org/stable/c/880ef748e78a1eb7df2d8e11a9ef21e98bcaabe5
- https://git.kernel.org/stable/c/9535e440fe5bc6c5ac7cfb407e53bf788b8bf8d4
- https://git.kernel.org/stable/c/97df495d754116c8c28ac6a4112f831727bde887
- https://git.kernel.org/stable/c/9bbfe83924946552c4c513099c0e8c83af76311a
- https://git.kernel.org/stable/c/a509a55f8eecc8970b3980c6f06886bbff0e2f68
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Provider assertions
2Linux · cna
f2fs: fix to avoid panic in f2fs_evict_inode
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a961b8069a352b0e753956b189cde4b29ac173a43110ff809f59c083f675364d
- Ingested
- 23 Sep 2026, 08:46:47 UTC
- Source record
- Official CVE record