kernel BUG in iput

瀏覽次數:12 次
跳到第一則未讀訊息

syzbot

未讀,
2021年5月31日 晚上9:19:162021/5/31
收件者:syzkaller...@googlegroups.com
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

syzbot

未讀,
2021年6月6日 凌晨1:10:252021/6/6
收件者:syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 1722257b Linux 4.19.193
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=12fc3e50300000
kernel config: https://syzkaller.appspot.com/x/.config?x=fd6b8809ec913bf1
dashboard link: https://syzkaller.appspot.com/bug?extid=8075d7fb3477a7865c21
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=166f59bbd00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=101bf9bbd00000

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: 00007fbc208b9190
RBP: 0000000000000003 R08: 00007fbc208b91d0 R09: 002c6c63616f6e2c
R10: 0000000000000000 R11: 0000000000000286 R12: 00007fbc208b9190
R13: 0000000020000248 R14: 0000000000000005 R15: 0000000000000006
------------[ cut here ]------------
kernel BUG at fs/inode.c:1571!
erofs: mounted on /dev/loop3 with opts: acl.
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 9674 Comm: syz-executor382 Not tainted 4.19.193-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 a9 11 b9 ff <0f> 0b e8 a2 11 b9 ff 48 89 ef e8 1a f7 ff ff 4c 89 f7 e8 c2 d7 6e
RSP: 0018:ffff88808856fa80 EFLAGS: 00010293
RAX: ffff888088560300 RBX: 0000000000000040 RCX: ffffffff81a960be
RDX: 0000000000000000 RSI: ffffffff81a96787 RDI: 0000000000000007
RBP: ffff88808bb7c500 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: ffff8880a7a64a00
R13: ffff88808bb7c500 R14: 0000000000000000 R15: 00000000fffffff4
FS: 00007fbc208b9700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbdb3dac000 CR3: 00000000a9056000 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:0x450d4a
Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 08 01 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:00007fbc208b9178 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fbc208b91d0 RCX: 0000000000450d4a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fbc208b9190
RBP: 0000000000000003 R08: 00007fbc208b91d0 R09: 002c6c63616f6e2c
R10: 0000000000000000 R11: 0000000000000286 R12: 00007fbc208b9190
R13: 0000000020000248 R14: 0000000000000005 R15: 0000000000000006
Modules linked in:
erofs: unmounted for /dev/loop3
---[ end trace 360f8c549f8ba2f3 ]---
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 a9 11 b9 ff <0f> 0b e8 a2 11 b9 ff 48 89 ef e8 1a f7 ff ff 4c 89 f7 e8 c2 d7 6e
RSP: 0018:ffff88808856fa80 EFLAGS: 00010293
RAX: ffff888088560300 RBX: 0000000000000040 RCX: ffffffff81a960be
RDX: 0000000000000000 RSI: ffffffff81a96787 RDI: 0000000000000007
RBP: ffff88808bb7c500 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: ffff8880a7a64a00
R13: ffff88808bb7c500 R14: 0000000000000000 R15: 00000000fffffff4
FS: 00007fbc208b9700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2644466130 CR3: 00000000a9056000 CR4: 00000000001406f0
回覆所有人
回覆作者
轉寄
0 則新訊息