syzbot


WARNING in blk_register_tracepoints

Status: upstream: reported C repro on 2022/02/07 12:21
Reported-by: syzbot+a0e23bb3193f983f6a0d@syzkaller.appspotmail.com
First crash: 833d, last: 492d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in blk_register_tracepoints C error 4 497d 825d 0/1 upstream: reported C repro on 2022/02/15 19:12
upstream WARNING in blk_register_tracepoints trace block C inconclusive done 26 25d 832d 0/26 upstream: reported C repro on 2022/02/08 05:40

Sample crash report:
RDX: 0000000020000040 RSI: 00000000c0481273 RDI: 0000000000000003
RBP: 00007ffc0bf8c7b0 R08: 0000000000000002 R09: 00007ff802003633
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8092 at kernel/trace/blktrace.c:1174 blk_register_tracepoints.cold+0xd1/0x180 kernel/trace/blktrace.c:1174
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 8092 Comm: syz-executor440 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:blk_register_tracepoints.cold+0xd1/0x180 kernel/trace/blktrace.c:1174
Code: f9 e8 79 39 6e f9 48 c7 c7 a0 c5 6e 88 e8 d8 6a ff ff 0f 0b e9 b9 a1 73 f9 e8 61 39 6e f9 48 c7 c7 a0 c5 6e 88 e8 c0 6a ff ff <0f> 0b e9 74 a1 73 f9 e8 49 39 6e f9 48 c7 c7 a0 c5 6e 88 e8 a8 6a
RSP: 0018:ffff888091b8fa70 EFLAGS: 00010286
RAX: 0000000000000024 RBX: 00000000fffffff4 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1012371f40
RBP: ffff8880b3dd7840 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 00000000fffffff0
R13: 0000000000010000 R14: ffff8880b3dd7870 R15: 00400000000074f8
 get_probe_ref kernel/trace/blktrace.c:328 [inline]
 do_blk_trace_setup+0x915/0xb40 kernel/trace/blktrace.c:590
 __blk_trace_setup+0xca/0x180 kernel/trace/blktrace.c:609
 blk_trace_setup+0x43/0x60 kernel/trace/blktrace.c:627
 sg_ioctl+0x270/0x2720 drivers/scsi/sg.c:1121
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:501 [inline]
 do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688
 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705
 __do_sys_ioctl fs/ioctl.c:712 [inline]
 __se_sys_ioctl fs/ioctl.c:710 [inline]
 __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7ff80301bcd9
Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc0bf8c7a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007ff80301bcd9
RDX: 0000000020000040 RSI: 00000000c0481273 RDI: 0000000000000003
RBP: 00007ffc0bf8c7b0 R08: 0000000000000002 R09: 00007ff802003633
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/14 08:29 linux-4.19.y 3f8a27f9e27b 529798b0 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 WARNING in blk_register_tracepoints
2022/06/07 06:44 linux-4.19.y 3f8a27f9e27b c8857892 .config console log report syz C ci2-linux-4-19 WARNING in blk_register_tracepoints
2022/06/02 21:04 linux-4.19.y 3f8a27f9e27b 6e12f05f .config console log report syz C ci2-linux-4-19 WARNING in blk_register_tracepoints
2022/02/07 12:20 linux-4.19.y 3f8a27f9e27b a7dab638 .config console log report syz C ci2-linux-4-19 WARNING in blk_register_tracepoints
* Struck through repros no longer work on HEAD.