syzbot


kernel BUG in f2fs_evict_inode

Status: auto-obsoleted due to no activity on 2023/08/12 09:15
Reported-by: syzbot+5136b105beb30038aea2@syzkaller.appspotmail.com
First crash: 427d, last: 406d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in f2fs_evict_inode f2fs C error 135 240d 519d 23/26 fixed on 2023/10/12 12:47
linux-4.19 kernel BUG at fs/f2fs/inode.c:LINE! f2fs tmpfs C error 3 517d 1319d 0/1 upstream: reported C repro on 2020/10/13 04:23
linux-6.1 kernel BUG in f2fs_evict_inode origin:upstream C 15 11d 409d 0/3 upstream: reported C repro on 2023/04/11 09:45
upstream kernel BUG in f2fs_evict_inode (2) f2fs C error 156 1d05h 198d 0/26 upstream: reported C repro on 2023/11/08 15:01
linux-5.15 kernel BUG in f2fs_evict_inode (2) origin:upstream C 24 17h19m 200d 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 447d 515d 0/1 upstream: reported C repro on 2022/12/26 05:49

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/f2fs/inode.c:755!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 3625 Comm: syz-executor.2 Not tainted 5.15.105-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:f2fs_evict_inode+0x14e5/0x1510 fs/f2fs/inode.c:755
Code: c3 bf 02 00 00 00 89 de e8 88 ee eb fd 31 ff 89 de e8 7f ee eb fd 40 84 ed 75 24 e8 15 ec eb fd e9 25 ec ff ff e8 0b ec eb fd <0f> 0b e8 04 ec eb fd 0f 0b e8 fd eb eb fd 0f 0b e9 02 ff ff ff e8
RSP: 0018:ffffc90002dcfa70 EFLAGS: 00010293
RAX: ffffffff8393ceb5 RBX: 0000000000000001 RCX: ffff888077f71d00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff88802652a1d0 R08: ffffffff8393bd69 R09: ffffed1004ca543b
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888077960000
R13: ffff888026529c80 R14: 1ffff11004ca543f R15: dffffc0000000000
FS:  0000555556159400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c01719c720 CR3: 0000000042953000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 evict+0x2a4/0x620 fs/inode.c:587
 dispose_list fs/inode.c:620 [inline]
 evict_inodes+0x601/0x6a0 fs/inode.c:670
 generic_shutdown_super+0x99/0x2c0 fs/super.c:454
 kill_block_super+0x7a/0xe0 fs/super.c:1405
 kill_f2fs_super+0x2ff/0x3c0 fs/f2fs/super.c:4510
 deactivate_locked_super+0xa0/0x110 fs/super.c:335
 cleanup_mnt+0x44e/0x500 fs/namespace.c:1143
 task_work_run+0x129/0x1a0 kernel/task_work.c:164
 tracehook_notify_resume include/linux/tracehook.h:189 [inline]
 exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:175
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208
 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
 syscall_exit_to_user_mode+0x5d/0x250 kernel/entry/common.c:301
 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f7c322fc567
Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 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 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd9bf2ad58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f7c322fc567
RDX: 00007ffd9bf2ae2a RSI: 000000000000000a RDI: 00007ffd9bf2ae20
RBP: 00007ffd9bf2ae20 R08: 00000000ffffffff R09: 00007ffd9bf2abf0
R10: 000055555615a8b3 R11: 0000000000000246 R12: 00007f7c32355b74
R13: 00007ffd9bf2bee0 R14: 000055555615a810 R15: 00007ffd9bf2bf20
 </TASK>
Modules linked in:
---[ end trace cdf8def05e2bb656 ]---
RIP: 0010:f2fs_evict_inode+0x14e5/0x1510 fs/f2fs/inode.c:755
Code: c3 bf 02 00 00 00 89 de e8 88 ee eb fd 31 ff 89 de e8 7f ee eb fd 40 84 ed 75 24 e8 15 ec eb fd e9 25 ec ff ff e8 0b ec eb fd <0f> 0b e8 04 ec eb fd 0f 0b e8 fd eb eb fd 0f 0b e9 02 ff ff ff e8
RSP: 0018:ffffc90002dcfa70 EFLAGS: 00010293
RAX: ffffffff8393ceb5 RBX: 0000000000000001 RCX: ffff888077f71d00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff88802652a1d0 R08: ffffffff8393bd69 R09: ffffed1004ca543b
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888077960000
R13: ffff888026529c80 R14: 1ffff11004ca543f R15: dffffc0000000000
FS:  0000555556159400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f224fe25998 CR3: 0000000042953000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/03 11:36 linux-5.15.y c957cbb87315 41147e3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in f2fs_evict_inode
2023/03/24 18:02 linux-5.15.y 115472395b0a 9700afae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in f2fs_evict_inode
2023/04/14 09:15 linux-5.15.y 4fdad925aa1a 3cfcaa1b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in f2fs_evict_inode
* Struck through repros no longer work on HEAD.