{"id":"DEBIAN-CVE-2025-38577","details":"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  \u003c/TASK\u003e ---[ 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:  \u003cTASK\u003e  __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  \u003c/TASK\u003e  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---","modified":"2026-09-01T16:06:15.041237545Z","published":"2025-08-19T17:15:34.720Z","upstream":["CVE-2025-38577"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2025-38577"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:12","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.148-1"}]}],"versions":["6.1.106-1","6.1.106-2","6.1.106-3","6.1.112-1","6.1.115-1","6.1.119-1","6.1.123-1","6.1.124-1","6.1.128-1","6.1.129-1","6.1.133-1","6.1.135-1","6.1.137-1","6.1.139-1","6.1.140-1","6.1.147-1","6.1.27-1","6.1.37-1","6.1.38-1","6.1.38-2","6.1.38-2~bpo11+1","6.1.38-3","6.1.38-4","6.1.38-4~bpo11+1","6.1.52-1","6.1.55-1","6.1.55-1~bpo11+1","6.1.64-1","6.1.66-1","6.1.67-1","6.1.69-1","6.1.69-1~bpo11+1","6.1.76-1","6.1.76-1~bpo11+1","6.1.82-1","6.1.85-1","6.1.90-1","6.1.90-1~bpo11+1","6.1.94-1","6.1.94-1~bpo11+1","6.1.98-1","6.1.99-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2025-38577.json"}},{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.12.43-1"}]}],"versions":["6.12.38-1","6.12.41-1","6.12.43-1~bpo12+1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2025-38577.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.16.3-1"}]}],"versions":["6.12.100-1","6.12.101-1","6.12.105-1","6.12.107-1","6.12.38-1","6.12.41-1","6.12.43-1","6.12.43-1~bpo12+1","6.12.48-1","6.12.57-1","6.12.57-1~bpo12+1","6.12.63-1","6.12.63-1~bpo12+1","6.12.69-1","6.12.69-1~bpo12+1","6.12.73-1","6.12.73-1~bpo12+1","6.12.74-1","6.12.74-2","6.12.74-2~bpo12+1","6.12.85-1","6.12.85-1~bpo12+1","6.12.86-1","6.12.86-1~bpo12+1","6.12.88-1","6.12.88-1~bpo12+1","6.12.90-1","6.12.90-1~bpo12+1","6.12.90-2","6.12.90-2~bpo12+1","6.12.94-1","6.12.94-1~bpo12+1","6.12.95-1","6.12.95-1~bpo12+1","6.12.96-1","6.13.10-1~exp1","6.13.11-1~exp1","6.13.2-1~exp1","6.13.3-1~exp1","6.13.4-1~exp1","6.13.5-1~exp1","6.13.6-1~exp1","6.13.7-1~exp1","6.13.8-1~exp1","6.13.9-1~exp1","6.13~rc6-1~exp1","6.13~rc7-1~exp1","6.14.3-1~exp1","6.14.5-1~exp1","6.14.6-1~exp1","6.15-1~exp1","6.15.1-1~exp1","6.15.2-1~exp1","6.15.3-1~exp1","6.15.4-1~exp1","6.15.5-1~exp1","6.15.6-1~exp1","6.15~rc7-1~exp1","6.16-1~exp1","6.16.1-1~exp1","6.16.3-1~bpo13+1","6.16~rc7-1~exp1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2025-38577.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}