Hello,
syzbot found the following issue on:
HEAD commit: 6b7b0056 Linux 4.19.192
git tree: linux-4.19.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=1271642fd00000
kernel config:
https://syzkaller.appspot.com/x/.config?x=bf82863248bf693f
dashboard link:
https://syzkaller.appspot.com/bug?extid=8075d7fb3477a7865c21
syz repro:
https://syzkaller.appspot.com/x/repro.syz?x=13e14ab7d00000
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+8075d7...@syzkaller.appspotmail.com
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffe0dbf2e80
RBP: 00007ffe0dbf2ec0 R08: 00007ffe0dbf2ec0 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000000
R13: 0000000020000100 R14: 00007ffe0dbf2e80 R15: 0000000020000080
------------[ cut here ]------------
kernel BUG at fs/inode.c:1571!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 8836 Comm: syz-executor.0 Not tainted 4.19.192-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
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 43 db ee ff e9 0a fd ff ff e8 69 16 b9 ff <0f> 0b e8 62 16 b9 ff 48 89 ef e8 1a f7 ff ff 4c 89 f7 e8 72 c1 6e
RSP: 0018:ffff8880a040fa80 EFLAGS: 00010293
RAX: ffff8880a5106180 RBX: 0000000000000040 RCX: ffffffff81a95bfe
RDX: 0000000000000000 RSI: ffffffff81a962c7 RDI: 0000000000000007
RBP: ffff8880889b9540 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: ffff8880b05132c0
R13: ffff8880889b9540 R14: 0000000000000000 R15: 00000000fffffff4
FS: 0000000001c5a400(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000970004 CR3: 00000000a5dc2000 CR4: 00000000001406e0
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:2469 [inline]
do_mount+0x113c/0x2f10 fs/namespace.c:2799
ksys_mount+0xcf/0x130 fs/namespace.c:3015
__do_sys_mount fs/namespace.c:3029 [inline]
__se_sys_mount fs/namespace.c:3026 [inline]
__x64_sys_mount+0xba/0x150 fs/namespace.c:3026
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x467afa
Code: 48 c7 c2 bc 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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe0dbf2e28 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 0000000000467afa
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffe0dbf2e80
RBP: 00007ffe0dbf2ec0 R08: 00007ffe0dbf2ec0 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000000
R13: 0000000020000100 R14: 00007ffe0dbf2e80 R15: 0000000020000080
Modules linked in:
---[ end trace c233e52d52d7f28c ]---
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 43 db ee ff e9 0a fd ff ff e8 69 16 b9 ff <0f> 0b e8 62 16 b9 ff 48 89 ef e8 1a f7 ff ff 4c 89 f7 e8 72 c1 6e
RSP: 0018:ffff8880a040fa80 EFLAGS: 00010293
RAX: ffff8880a5106180 RBX: 0000000000000040 RCX: ffffffff81a95bfe
RDX: 0000000000000000 RSI: ffffffff81a962c7 RDI: 0000000000000007
RBP: ffff8880889b9540 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: ffff8880b05132c0
R13: ffff8880889b9540 R14: 0000000000000000 R15: 00000000fffffff4
FS: 0000000001c5a400(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000970004 CR3: 00000000a5dc2000 CR4: 00000000001406e0
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 can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches