syzbot


kernel BUG in bd_finish_claiming

Status: upstream: reported syz repro on 2021/09/09 06:42
Reported-by: syzbot+2a676285757e854832d9@syzkaller.appspotmail.com
First crash: 446d, last: 446d
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 kernel BUG at fs/block_dev.c:LINE! 2 1602d 1602d 0/3 auto-closed as invalid on 2019/02/22 14:39
upstream kernel BUG at fs/block_dev.c:LINE! C error error 2 987d 1512d 0/24 auto-obsoleted due to no activity on 2022/09/13 00:24

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/block_dev.c:1218!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 725 Comm: syz-executor.2 Not tainted 5.4.125-syzkaller-00017-g8670e680e307 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:bd_finish_claiming+0x1c4/0x1d0 fs/block_dev.c:1047
Code: 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 57 ff ff ff 4c 89 e7 e8 4d d1 ec ff e9 4a ff ff ff e8 43 11 be ff 0f 0b e8 3c 11 be ff <0f> 0b e8 35 11 be ff 0f 0b 0f 1f 00 41 57 41 56 41 55 41 54 53 49
RSP: 0018:ffff8881eb15f788 EFLAGS: 00010293
RAX: ffffffff81a742a4 RBX: ffff8881e5b6e018 RCX: ffff8881eb910fc0
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8881eb15f700
RBP: ffff8881f110a400 R08: dffffc0000000000 R09: 0000000000000003
R10: ffffed103d62bee1 R11: 0000000000000004 R12: ffff8881e5b6e000
R13: dffffc0000000000 R14: ffff8881e5b6e040 R15: 1ffff1103cb6dc08
FS:  00007f2d54dc4700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1104f2ef28 CR3: 00000001f25dd000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 blkdev_get+0x1a7/0x390 fs/block_dev.c:1722
 do_dentry_open+0x949/0x1100 fs/open.c:796
 do_last fs/namei.c:3495 [inline]
 path_openat+0x1127/0x3da0 fs/namei.c:3612
 do_filp_open+0x208/0x450 fs/namei.c:3642
 do_sys_open+0x383/0x7c0 fs/open.c:1113
 do_syscall_64+0xcb/0x1e0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x4665f9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f2d54dc4188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 000000000056c1a8 RCX: 00000000004665f9
RDX: 000000000000c080 RSI: 0000000020000000 RDI: ffffffffffffff9c
RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000020 R11: 0000000000000246 R12: 000000000056c1a8
R13: 00007ffdefdc671f R14: 00007f2d54dc4300 R15: 0000000000022000
Modules linked in:
---[ end trace 3e5e3b430b755c06 ]---
RIP: 0010:bd_finish_claiming+0x1c4/0x1d0 fs/block_dev.c:1047
Code: 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 57 ff ff ff 4c 89 e7 e8 4d d1 ec ff e9 4a ff ff ff e8 43 11 be ff 0f 0b e8 3c 11 be ff <0f> 0b e8 35 11 be ff 0f 0b 0f 1f 00 41 57 41 56 41 55 41 54 53 49
RSP: 0018:ffff8881eb15f788 EFLAGS: 00010293
RAX: ffffffff81a742a4 RBX: ffff8881e5b6e018 RCX: ffff8881eb910fc0
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8881eb15f700
RBP: ffff8881f110a400 R08: dffffc0000000000 R09: 0000000000000003
R10: ffffed103d62bee1 R11: 0000000000000004 R12: ffff8881e5b6e000
R13: dffffc0000000000 R14: ffff8881e5b6e040 R15: 1ffff1103cb6dc08
FS:  00007f2d54dc4700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1104f2ef28 CR3: 00000001f25dd000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-android-5-4-kasan 2021/09/09 07:55 android12-5.4 8670e680e307 e2776ee4 .config log report syz kernel BUG in bd_finish_claiming
ci2-android-5-4-kasan 2021/09/09 06:41 android12-5.4 8670e680e307 e2776ee4 .config log report info kernel BUG in bd_finish_claiming
* Struck through repros no longer work on HEAD.