[v5.15] kernel BUG in f2fs_evict_inode

6 views
Skip to first unread message

syzbot

unread,
Mar 24, 2023, 2:02:48 PM3/24/23
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 115472395b0a Linux 5.15.104
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=157e03c5c80000
kernel config: https://syzkaller.appspot.com/x/.config?x=f5592cc4916e1c2f
dashboard link: https://syzkaller.appspot.com/bug?extid=5136b105beb30038aea2
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/6c2c0744c7e0/disk-11547239.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/7ea4c5ecca4f/vmlinux-11547239.xz
kernel image: https://storage.googleapis.com/syzbot-assets/9a231dbcf423/bzImage-11547239.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+5136b1...@syzkaller.appspotmail.com

------------[ cut here ]------------
kernel BUG at fs/f2fs/inode.c:833!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 3628 Comm: syz-executor.2 Not tainted 5.15.104-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:f2fs_evict_inode+0x14ec/0x1510 fs/f2fs/inode.c:833
Code: de e8 d8 ed eb fd 31 ff 89 de e8 cf ed eb fd 40 84 ed 75 24 e8 65 eb eb fd e9 25 ec ff ff e8 5b eb eb fd 0f 0b e8 54 eb eb fd <0f> 0b e8 4d eb eb fd 0f 0b e9 02 ff ff ff e8 41 eb eb fd e8 54 ba
RSP: 0018:ffffc90002defa70 EFLAGS: 00010293
RAX: ffffffff8393cc8c RBX: 0000000000000002 RCX: ffff8880243b9d00
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff8393bfc5 R09: ffffed100828cc77
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801f564000
R13: ffff888041465f00 R14: 1ffff1100828cc76 R15: dffffc0000000000
FS: 000055555720a400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fad27c30ef8 CR3: 000000004dc1d000 CR4: 00000000003506e0
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:1396
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:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x5d/0x250 kernel/entry/common.c:300
do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f5bfb814567
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:00007ffc7a0b0428 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f5bfb814567
RDX: 00007ffc7a0b04fb RSI: 000000000000000a RDI: 00007ffc7a0b04f0
RBP: 00007ffc7a0b04f0 R08: 00000000ffffffff R09: 00007ffc7a0b02c0
R10: 000055555720b873 R11: 0000000000000246 R12: 00007f5bfb86db74
R13: 00007ffc7a0b15b0 R14: 000055555720b810 R15: 00007ffc7a0b15f0
</TASK>
Modules linked in:
---[ end trace b5d1d0742e3cfbfe ]---
RIP: 0010:f2fs_evict_inode+0x14ec/0x1510 fs/f2fs/inode.c:833
Code: de e8 d8 ed eb fd 31 ff 89 de e8 cf ed eb fd 40 84 ed 75 24 e8 65 eb eb fd e9 25 ec ff ff e8 5b eb eb fd 0f 0b e8 54 eb eb fd <0f> 0b e8 4d eb eb fd 0f 0b e9 02 ff ff ff e8 41 eb eb fd e8 54 ba
RSP: 0018:ffffc90002defa70 EFLAGS: 00010293
RAX: ffffffff8393cc8c RBX: 0000000000000002 RCX: ffff8880243b9d00
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff8393bfc5 R09: ffffed100828cc77
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801f564000
R13: ffff888041465f00 R14: 1ffff1100828cc76 R15: dffffc0000000000
FS: 000055555720a400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2db29000 CR3: 000000004dc1d000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Aug 12, 2023, 5:15:52 AM8/12/23
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages