syzbot


kernel BUG in f2fs_evict_inode

Status: upstream: reported on 2025/08/21 00:04
Reported-by: syzbot+23e5acd67ef844cb0e33@syzkaller.appspotmail.com
First crash: 56d, last: 36d
Similar bugs (9)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in f2fs_evict_inode f2fs -1 C error 135 749d 1029d 23/29 fixed on 2023/10/12 12:47
upstream kernel BUG in f2fs_evict_inode (4) f2fs -1 C done 1277 1h08m 333d 0/29 upstream: reported C repro on 2024/11/16 12:19
linux-4.19 kernel BUG at fs/f2fs/inode.c:LINE! f2fs tmpfs -1 C error 3 1027d 1829d 0/1 upstream: reported C repro on 2020/10/13 04:23
linux-6.1 kernel BUG in f2fs_evict_inode origin:upstream -1 C error 93 313d 918d 0/3 upstream: reported C repro on 2023/04/11 09:45
upstream kernel BUG in f2fs_evict_inode (2) f2fs -1 C error 575 428d 707d 27/29 fixed on 2024/08/14 03:44
linux-5.15 kernel BUG in f2fs_evict_inode (2) missing-backport origin:upstream -1 C done 207 372d 709d 0/3 upstream: reported C repro on 2023/11/06 18:33
linux-4.14 kernel BUG in f2fs_evict_inode f2fs tmpfs -1 C 1 957d 1025d 0/1 upstream: reported C repro on 2022/12/26 05:49
upstream kernel BUG in f2fs_evict_inode (3) f2fs -1 C error 33 376d 423d 28/29 fixed on 2024/10/22 11:57
linux-5.15 kernel BUG in f2fs_evict_inode -1 3 915d 936d 0/3 auto-obsoleted due to no activity on 2023/08/12 09:15

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/f2fs/inode.c:936!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 6702 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/2025
RIP: 0010:f2fs_evict_inode+0x17e3/0x1800 fs/f2fs/inode.c:936
Code: c5 40 0f 94 c6 bf 02 00 00 00 e8 f8 85 d9 fd 40 84 ed 75 24 e8 5e 83 d9 fd e9 1b ea ff ff e8 54 83 d9 fd 0f 0b e8 4d 83 d9 fd <0f> 0b e8 46 83 d9 fd 0f 0b e9 04 ff ff ff e8 3a 83 d9 fd e8 55 8f
RSP: 0018:ffffc9000502f948 EFLAGS: 00010293
RAX: ffffffff83ac0cb3 RBX: ffff8880624d91b0 RCX: ffff88802c830000
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: 1ffff1100c49b240 R08: ffff8880624d9667 R09: 1ffff1100c49b2cc
R10: dffffc0000000000 R11: ffffed100c49b2cd R12: ffff88807b65a084
R13: 1ffff1100c49b2cc R14: 0000000000000002 R15: ffff8880624d9660
FS:  000055556bd09500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055555df52808 CR3: 000000006d05d000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 evict+0x486/0x870 fs/inode.c:705
 dispose_list fs/inode.c:738 [inline]
 evict_inodes+0x5fe/0x690 fs/inode.c:792
 generic_shutdown_super+0x97/0x2b0 fs/super.c:672
 kill_block_super+0x44/0x90 fs/super.c:1660
 kill_f2fs_super+0x30a/0x3c0 fs/f2fs/super.c:4887
 deactivate_locked_super+0x97/0x100 fs/super.c:481
 cleanup_mnt+0x429/0x4c0 fs/namespace.c:1250
 task_work_run+0x1ce/0x250 kernel/task_work.c:239
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7faecfd8fed7
Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007fff87b91088 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007faecfe11c05 RCX: 00007faecfd8fed7
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff87b91140
RBP: 00007fff87b91140 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff87b921d0
R13: 00007faecfe11c05 R14: 00000000000208f9 R15: 00007fff87b92210
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:f2fs_evict_inode+0x17e3/0x1800 fs/f2fs/inode.c:936
Code: c5 40 0f 94 c6 bf 02 00 00 00 e8 f8 85 d9 fd 40 84 ed 75 24 e8 5e 83 d9 fd e9 1b ea ff ff e8 54 83 d9 fd 0f 0b e8 4d 83 d9 fd <0f> 0b e8 46 83 d9 fd 0f 0b e9 04 ff ff ff e8 3a 83 d9 fd e8 55 8f
RSP: 0018:ffffc9000502f948 EFLAGS: 00010293
RAX: ffffffff83ac0cb3 RBX: ffff8880624d91b0 RCX: ffff88802c830000
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: 1ffff1100c49b240 R08: ffff8880624d9667 R09: 1ffff1100c49b2cc
R10: dffffc0000000000 R11: ffffed100c49b2cd R12: ffff88807b65a084
R13: 1ffff1100c49b2cc R14: 0000000000000002 R15: ffff8880624d9660
FS:  000055556bd09500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c421115 CR3: 000000006d05d000 CR4: 00000000003506e0

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/10 03:17 linux-6.6.y fe9731e10004 fdeaa69b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in f2fs_evict_inode
2025/09/04 05:04 linux-6.6.y cc1a1c5b404a d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in f2fs_evict_inode
2025/08/29 11:59 linux-6.6.y cc1a1c5b404a 3e1beec6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in f2fs_evict_inode
2025/08/28 22:33 linux-6.6.y cc1a1c5b404a d401b9d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in f2fs_evict_inode
2025/08/22 06:17 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in f2fs_evict_inode
2025/08/22 06:17 linux-6.6.y bb9c90ab9c5a bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in f2fs_evict_inode
2025/08/21 16:32 linux-6.6.y bb9c90ab9c5a 3e79b825 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in f2fs_evict_inode
2025/08/21 00:03 linux-6.6.y bb9c90ab9c5a 0b9605c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in f2fs_evict_inode
* Struck through repros no longer work on HEAD.