CVE-2025-38578
published high CVSS 3.1 · 7.8f2fs: fix to avoid UAF in f2fs_sync_inode_meta()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 37e78cad7e9e025e63bb35bc200f44637b009bb1 · 0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 4dcd830c420f2190ae32f03626039fde7b57b2ad · 0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 1edf68272b8cba2b2817ef1488ecb9f0f84cb6a0 · 0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 917ae5e280bc263f56c83fba0d0f0be2c4828083 · 0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 3d37cadaac1a8e108e576297aab9125b24ea2dfe · 0f18b462b2e5aff64b8638e8a47284b907351ef3 to < dea243f58a8391e76f42ad5eb59ff210519ee772 · 0f18b462b2e5aff64b8638e8a47284b907351ef3 to < a4b0cc9e0bba7525a29f37714e88df12a47997a2 · 0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 6cac47af39b2b8edbb41d47c3bd9c332f83e9932 · 0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 7c30d79930132466f5be7d0b57add14d1a016bda · 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 UAF in f2fs_sync_inode_meta() syzbot reported an UAF issue as below: [1] [2] [1] https://syzkaller.appspot.com/text?tag=CrashReport&x=16594c60580000 ================================================================== BUG: KASAN: use-after-free in __list_del_entry_valid+0xa6/0x130 lib/list_debug.c:62 Read of size 8 at addr ffff888100567dc8 by task kworker/u4:0/8 CPU: 1 PID: 8 Comm: kworker/u4:0 Tainted: G W 6.1.129-syzkaller-00017-g642656a36791 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: writeback wb_workfn (flush-7:0) Call Trace: <TASK> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:316 [inline] print_report+0x158/0x4e0 mm/kasan/report.c:427 kasan_report+0x13c/0x170 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+0x100/0x2e0 fs/f2fs/super.c:1553 f2fs_update_inode+0x72/0x1c40 fs/f2fs/inode.c:588 f2fs_update_inode_page+0x135/0x170 fs/f2fs/inode.c:706 f2fs_write_inode+0x416/0x790 fs/f2fs/inode.c:734 write_inode fs/fs-writeback.c:1460 [inline] __writeback_single_inode+0x4cf/0xb80 fs/fs-writeback.c:1677 writeback_sb_inodes+0xb32/0x1910 fs/fs-writeback.c:1903 __writeback_inodes_wb+0x118/0x3f0 fs/fs-writeback.c:1974 wb_writeback+0x3da/0xa00 fs/fs-writeback.c:2081 wb_check_background_flush fs/fs-writeback.c:2151 [inline] wb_do_writeback fs/fs-writeback.c:2239 [inline] wb_workfn+0xbba/0x1030 fs/fs-writeback.c:2266 process_one_work+0x73d/0xcb0 kernel/workqueue.c:2299 worker_thread+0xa60/0x1260 kernel/workqueue.c:2446 kthread+0x26d/0x300 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 </TASK> Allocated by task 298: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 kasan_save_alloc_info+0x1f/0x30 mm/kasan/generic.c:505 __kasan_slab_alloc+0x6c/0x80 mm/kasan/common.c:333 kasan_slab_alloc include/linux/kasan.h:202 [inline] slab_post_alloc_hook+0x53/0x2c0 mm/slab.h:768 slab_alloc_node mm/slub.c:3421 [inline] slab_alloc mm/slub.c:3431 [inline] __kmem_cache_alloc_lru mm/slub.c:3438 [inline] kmem_cache_alloc_lru+0x102/0x270 mm/slub.c:3454 alloc_inode_sb include/linux/fs.h:3255 [inline] f2fs_alloc_inode+0x2d/0x350 fs/f2fs/super.c:1437 alloc_inode fs/inode.c:261 [inline] iget_locked+0x18c/0x7e0 fs/inode.c:1373 f2fs_iget+0x55/0x4ca0 fs/f2fs/inode.c:486 f2fs_lookup+0x3c1/0xb50 fs/f2fs/namei.c:484 __lookup_slow+0x2b9/0x3e0 fs/namei.c:1689 lookup_slow+0x5a/0x80 fs/namei.c:1706 walk_component+0x2e7/0x410 fs/namei.c:1997 lookup_last fs/namei.c:2454 [inline] path_lookupat+0x16d/0x450 fs/namei.c:2478 filename_lookup+0x251/0x600 fs/namei.c:2507 vfs_statx+0x107/0x4b0 fs/stat.c:229 vfs_fstatat fs/stat.c:267 [inline] vfs_lstat include/linux/fs.h:3434 [inline] __do_sys_newlstat fs/stat.c:423 [inline] __se_sys_newlstat+0xda/0x7c0 fs/stat.c:417 __x64_sys_newlstat+0x5b/0x70 fs/stat.c:417 x64_sys_call+0x52/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:7 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0x80 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Freed by task 0: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:516 ____kasan_slab_free+0x131/0x180 mm/kasan/common.c:241 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:249 kasan_slab_free include/linux/kasan.h:178 [inline] slab_free_hook mm/slub.c:1745 [inline] slab_free_freelist_hook mm/slub.c:1771 [inline] slab_free mm/slub.c:3686 [inline] kmem_cache_free+0x ---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 vulnerability is reached entirely through local filesystem syscalls (unlink/rename/stat, then sync or background writeback) on a mounted f2fs volume; no network or remote protocol data is involved. AC:L - Once the crafted image is mounted the dangling `gdirty_list` entry is produced deterministically by the attacker's own unlink/evict sequence, and the attacker forces the use side at will via sync(2)/fsync-driven checkpoint or ordinary background writeback — no race or memory layout the attacker cannot control, and syzbot reproduces it with a C reproducer. PR:L - No capability check exists on the path from the unlink/stat/sync syscalls to `f2fs_evict_inode()` and `f2fs_sync_inode_meta()`; any unprivileged user with access to the f2fs volume (Android /data and SD-card/adoptable storage, udisks2/vold auto-mounted removable media) triggers both the free and the subsequent use. UI:N - After the malicious f2fs image is present — commonly auto-mounted by vold/udisks2 without any human action — the attacker performs every step alone with ordinary file operations, and the UAF is additionally fired by the kernel's own writeback kworker with no victim involvement. S:U - The use-after-free corrupts kernel slab memory within the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - `f2fs_sync_inode_meta()` dereferences the freed 1360-byte `f2fs_inode_cache` object as a live inode (`igrab`, `sync_inode_metadata`, `f2fs_update_inode_page`), so a reallocated attacker-groomed object leaks arbitrary kernel memory contents into on-disk inode metadata and into the list pointers read by `__list_del_entry_valid`, giving a groomable arbitrary-read primitive. I:H - `list_del_init()` on the stale entry writes kernel pointers into the freed (reallocatable) object, and `sync_inode_metadata()` performs an indirect call through `inode->i_sb->s_op->write_inode` read from freed memory, plus `iput()` can double-free — a classic UAF write/control-flow-hijack primitive since the attacker can spray the f2fs inode slab at will by creating files. A:H - The reported consequence is a KASAN-detected use-after-free with list corruption in the writeback kworker, and with CONFIG_F2FS_CHECK_FS the `f2fs_bug_on` is a hard BUG_ON; either way the machine oopses/panics 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 < 37e78cad7e9e025e63bb35bc200f44637b009bb1 (affected · git)0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 4dcd830c420f2190ae32f03626039fde7b57b2ad (affected · git)0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 1edf68272b8cba2b2817ef1488ecb9f0f84cb6a0 (affected · git)0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 917ae5e280bc263f56c83fba0d0f0be2c4828083 (affected · git)0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 3d37cadaac1a8e108e576297aab9125b24ea2dfe (affected · git)0f18b462b2e5aff64b8638e8a47284b907351ef3 to < dea243f58a8391e76f42ad5eb59ff210519ee772 (affected · git)0f18b462b2e5aff64b8638e8a47284b907351ef3 to < a4b0cc9e0bba7525a29f37714e88df12a47997a2 (affected · git)0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 6cac47af39b2b8edbb41d47c3bd9c332f83e9932 (affected · git)0f18b462b2e5aff64b8638e8a47284b907351ef3 to < 7c30d79930132466f5be7d0b57add14d1a016bda (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/1edf68272b8cba2b2817ef1488ecb9f0f84cb6a0
- https://git.kernel.org/stable/c/37e78cad7e9e025e63bb35bc200f44637b009bb1
- https://git.kernel.org/stable/c/3d37cadaac1a8e108e576297aab9125b24ea2dfe
- https://git.kernel.org/stable/c/4dcd830c420f2190ae32f03626039fde7b57b2ad
- https://git.kernel.org/stable/c/6cac47af39b2b8edbb41d47c3bd9c332f83e9932
- https://git.kernel.org/stable/c/7c30d79930132466f5be7d0b57add14d1a016bda
- https://git.kernel.org/stable/c/917ae5e280bc263f56c83fba0d0f0be2c4828083
- https://git.kernel.org/stable/c/a4b0cc9e0bba7525a29f37714e88df12a47997a2
- https://git.kernel.org/stable/c/dea243f58a8391e76f42ad5eb59ff210519ee772
- 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 UAF in f2fs_sync_inode_meta()
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 06bf479991be6d0c94433f8ff846461a18ea1cf7d4ef5b968e4f1c319d12886d
- Ingested
- 23 Sep 2026, 08:46:47 UTC
- Source record
- Official CVE record