kernel BUG in erofs_fill_super

9 views
Skip to first unread message

syzbot

unread,
Oct 10, 2022, 7:44:40 AM10/10/22
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=12ea92a4880000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=331c1e49dfa2b419b9ac
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/98c0bdb4abb3/disk-3f8a27f9.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/ea228ff02669/vmlinux-3f8a27f9.xz

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

RDX: 0000000020000000 RSI: 0000000020000040 RDI: 00007f220f8fbfe0
RBP: 00007f220f8fc020 R08: 00007f220f8fc020 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000
R13: 0000000020000040 R14: 00007f220f8fbfe0 R15: 0000000020000100
------------[ cut here ]------------
kernel BUG at fs/inode.c:1571!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 19708 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
RIP: 0010:iput+0x727/0x860 fs/inode.c:1571
Code: b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 84 18 fd ff ff 48 8b 3c 24 e8 33 d9 ee ff e9 0a fd ff ff e8 39 fc b8 ff <0f> 0b e8 32 fc b8 ff 48 89 ef e8 1a f7 ff ff 4c 89 f7 e8 b2 c6 6f
RSP: 0018:ffff8880b2acfa80 EFLAGS: 00010246
RAX: 0000000000040000 RBX: 0000000000000040 RCX: ffffc9000954c000
RDX: 0000000000040000 RSI: ffffffff81a98937 RDI: 0000000000000007
RBP: ffff888038f78a58 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: ffff888092d9b780
R13: ffff888038f78a58 R14: 0000000000000000 R15: 00000000fffffff4
FS: 00007f220f8fc700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f11bb2ca018 CR3: 00000000a144f000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
erofs_read_super drivers/staging/erofs/super.c:439 [inline]
erofs_fill_super+0x1205/0x12cc drivers/staging/erofs/super.c:499
mount_bdev+0x2fc/0x3b0 fs/super.c:1158
erofs_mount+0x8c/0xc0 drivers/staging/erofs/super.c:512
mount_fs+0xa3/0x310 fs/super.c:1261
vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961
vfs_kern_mount fs/namespace.c:951 [inline]
do_new_mount fs/namespace.c:2492 [inline]
do_mount+0x115c/0x2f50 fs/namespace.c:2822
ksys_mount+0xcf/0x130 fs/namespace.c:3038
__do_sys_mount fs/namespace.c:3052 [inline]
__se_sys_mount fs/namespace.c:3049 [inline]
__x64_sys_mount+0xba/0x150 fs/namespace.c:3049
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f2210f89ada
Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 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:00007f220f8fbf88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f2210f89ada
RDX: 0000000020000000 RSI: 0000000020000040 RDI: 00007f220f8fbfe0
RBP: 00007f220f8fc020 R08: 00007f220f8fc020 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000
R13: 0000000020000040 R14: 00007f220f8fbfe0 R15: 0000000020000100
Modules linked in:
---[ end trace d03af184e2c56ff5 ]---
RIP: 0010:iput+0x727/0x860 fs/inode.c:1571
Code: b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 84 18 fd ff ff 48 8b 3c 24 e8 33 d9 ee ff e9 0a fd ff ff e8 39 fc b8 ff <0f> 0b e8 32 fc b8 ff 48 89 ef e8 1a f7 ff ff 4c 89 f7 e8 b2 c6 6f
RSP: 0018:ffff8880b2acfa80 EFLAGS: 00010246
RAX: 0000000000040000 RBX: 0000000000000040 RCX: ffffc9000954c000
RDX: 0000000000040000 RSI: ffffffff81a98937 RDI: 0000000000000007
RBP: ffff888038f78a58 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: ffff888092d9b780
R13: ffff888038f78a58 R14: 0000000000000000 R15: 00000000fffffff4
FS: 00007f220f8fc700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3dd79001b8 CR3: 00000000a144f000 CR4: 00000000003406e0
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,
Feb 7, 2023, 6:44:30 AM2/7/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