syzbot


kernel BUG in f2fs_evict_inode (4)

Status: upstream: reported on 2024/11/16 12:19
Subsystems: f2fs
[Documentation on labels]
Reported-by: syzbot+5c81eb8c0a380fa578b5@syzkaller.appspotmail.com
First crash: 5d13h, last: 1d09h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [f2fs?] kernel BUG in f2fs_evict_inode (4) 0 (1) 2024/11/16 12:19
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in f2fs_evict_inode f2fs C error 135 417d 696d 23/28 fixed on 2023/10/12 12:47
linux-4.19 kernel BUG at fs/f2fs/inode.c:LINE! f2fs tmpfs C error 3 694d 1496d 0/1 upstream: reported C repro on 2020/10/13 04:23
linux-6.1 kernel BUG in f2fs_evict_inode origin:upstream C 93 24d 586d 0/3 upstream: reported C repro on 2023/04/11 09:45
upstream kernel BUG in f2fs_evict_inode (2) f2fs C error 575 96d 375d 27/28 fixed on 2024/08/14 03:44
linux-5.15 kernel BUG in f2fs_evict_inode (2) missing-backport origin:upstream C done 207 39d 377d 0/3 upstream: reported C repro on 2023/11/06 18:33
linux-4.14 kernel BUG in f2fs_evict_inode f2fs tmpfs C 1 625d 692d 0/1 upstream: reported C repro on 2022/12/26 05:49
upstream kernel BUG in f2fs_evict_inode (3) f2fs C error 33 43d 91d 28/28 fixed on 2024/10/22 11:57
linux-5.15 kernel BUG in f2fs_evict_inode 3 583d 604d 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:901!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 1 UID: 0 PID: 5833 Comm: syz-executor Not tainted 6.12.0-rc7-syzkaller-00189-ge8bdb3c8be08 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
RIP: 0010:f2fs_evict_inode+0x1598/0x15c0 fs/f2fs/inode.c:901
Code: 3e 7a a5 fd 31 ff 89 de e8 35 7a a5 fd 40 84 ed 75 28 e8 2b 77 a5 fd e9 3c ec ff ff e8 21 77 a5 fd 90 0f 0b e8 19 77 a5 fd 90 <0f> 0b e8 11 77 a5 fd 90 0f 0b 90 e9 fc fe ff ff e8 03 77 a5 fd e8
RSP: 0000:ffffc90003e47928 EFLAGS: 00010293
RAX: ffffffff83ef7297 RBX: 0000000000000002 RCX: ffff88802d79da00
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff83ef6c80 R09: 1ffff1100bc5895c
R10: dffffc0000000000 R11: ffffed100bc5895d R12: ffff888067504000
R13: ffff88805e2c4ae0 R14: ffff88805e2c4640 R15: dffffc0000000000
FS:  0000555573bcd500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d31eff8 CR3: 00000000623ae000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 evict+0x4e8/0x9b0 fs/inode.c:725
 dispose_list fs/inode.c:774 [inline]
 evict_inodes+0x6f6/0x790 fs/inode.c:828
 generic_shutdown_super+0xa0/0x2d0 fs/super.c:627
 kill_block_super+0x44/0x90 fs/super.c:1710
 kill_f2fs_super+0x344/0x690 fs/f2fs/super.c:4927
 deactivate_locked_super+0xc4/0x130 fs/super.c:473
 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1373
 task_work_run+0x24f/0x310 kernel/task_work.c:239
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
 syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218
 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f691d77fa47
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:00007ffd48c9db78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f691d77fa47
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd48c9dc30
RBP: 00007ffd48c9dc30 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd48c9ecb0
R13: 00007f691d7f15fc R14: 000000000001a4f8 R15: 00007ffd48c9ecf0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:f2fs_evict_inode+0x1598/0x15c0 fs/f2fs/inode.c:901
Code: 3e 7a a5 fd 31 ff 89 de e8 35 7a a5 fd 40 84 ed 75 28 e8 2b 77 a5 fd e9 3c ec ff ff e8 21 77 a5 fd 90 0f 0b e8 19 77 a5 fd 90 <0f> 0b e8 11 77 a5 fd 90 0f 0b 90 e9 fc fe ff ff e8 03 77 a5 fd e8
RSP: 0000:ffffc90003e47928 EFLAGS: 00010293
RAX: ffffffff83ef7297 RBX: 0000000000000002 RCX: ffff88802d79da00
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff83ef6c80 R09: 1ffff1100bc5895c
R10: dffffc0000000000 R11: ffffed100bc5895d R12: ffff888067504000
R13: ffff88805e2c4ae0 R14: ffff88805e2c4640 R15: dffffc0000000000
FS:  0000555573bcd500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe7221dff8 CR3: 00000000623ae000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/16 15:41 upstream e8bdb3c8be08 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
2024/11/12 12:15 upstream 2d5404caa8c7 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in f2fs_evict_inode
* Struck through repros no longer work on HEAD.