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: 7d13h, last: 6d07h
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 701d 980d 23/29 fixed on 2023/10/12 12:47
upstream kernel BUG in f2fs_evict_inode (4) f2fs -1 C done 996 1d07h 285d 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 978d 1780d 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 264d 870d 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 379d 658d 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 323d 660d 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 908d 976d 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 327d 375d 28/29 fixed on 2024/10/22 11:57
linux-5.15 kernel BUG in f2fs_evict_inode -1 3 867d 887d 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: 13868 Comm: syz-executor Not tainted 6.6.102-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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 b8 ed d9 fd 40 84 ed 75 24 e8 1e eb d9 fd e9 1b ea ff ff e8 14 eb d9 fd 0f 0b e8 0d eb d9 fd <0f> 0b e8 06 eb d9 fd 0f 0b e9 04 ff ff ff e8 fa ea d9 fd e8 f5 fb
RSP: 0018:ffffc9000fbb7948 EFLAGS: 00010293
RAX: ffffffff83aba013 RBX: ffff88805da83de8 RCX: ffff88802346bc00
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: 1ffff1100bb507c7 R08: ffff88805da8429f R09: 1ffff1100bb50853
R10: dffffc0000000000 R11: ffffed100bb50854 R12: ffff888025452084
R13: 1ffff1100bb50853 R14: 0000000000000002 R15: ffff88805da84298
FS:  000055557702e500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555770495c8 CR3: 0000000062a91000 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:0x7fea3cd8ff17
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:00007fffc49ecc78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007fea3ce11c05 RCX: 00007fea3cd8ff17
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fffc49ecd30
RBP: 00007fffc49ecd30 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fffc49eddc0
R13: 00007fea3ce11c05 R14: 0000000000077d1a R15: 00007fffc49ede00
 </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 b8 ed d9 fd 40 84 ed 75 24 e8 1e eb d9 fd e9 1b ea ff ff e8 14 eb d9 fd 0f 0b e8 0d eb d9 fd <0f> 0b e8 06 eb d9 fd 0f 0b e9 04 ff ff ff e8 fa ea d9 fd e8 f5 fb
RSP: 0018:ffffc9000fbb7948 EFLAGS: 00010293
RAX: ffffffff83aba013 RBX: ffff88805da83de8 RCX: ffff88802346bc00
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: 1ffff1100bb507c7 R08: ffff88805da8429f R09: 1ffff1100bb50853
R10: dffffc0000000000 R11: ffffed100bb50854 R12: ffff888025452084
R13: 1ffff1100bb50853 R14: 0000000000000002 R15: ffff88805da84298
FS:  000055557702e500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555770495c8 CR3: 0000000062a91000 CR4: 00000000003506e0

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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.