syzbot


WARNING in blk_register_tracepoints

Status: upstream: reported C repro on 2022/02/15 19:12
Reported-by: syzbot+514adb58c01526c423a9@syzkaller.appspotmail.com
First crash: 849d, last: 522d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in blk_register_tracepoints block trace C inconclusive done 26 50d 857d 0/27 upstream: reported C repro on 2022/02/08 05:40
linux-4.19 WARNING in blk_register_tracepoints C error 4 517d 858d 0/1 upstream: reported C repro on 2022/02/07 12:21
Fix bisection attempts (7)
Created Duration User Patch Repo Result
2022/10/13 02:16 0m bisect fix linux-4.14.y error job log (0)
2022/09/04 03:18 21m bisect fix linux-4.14.y job log (0) log
2022/08/05 02:42 36m bisect fix linux-4.14.y job log (0) log
2022/07/06 02:16 19m bisect fix linux-4.14.y job log (0) log
2022/05/18 08:59 22m bisect fix linux-4.14.y job log (0) log
2022/04/18 08:30 29m bisect fix linux-4.14.y job log (0) log
2022/03/19 04:15 29m bisect fix linux-4.14.y job log (0) log

Sample crash report:
RDX: 0000000020000040 RSI: 00000000c0481273 RDI: 0000000000000003
RBP: 00007ffc275e1b90 R08: 0000000000000002 R09: 00007fb4e1003633
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
------------[ cut here ]------------
WARNING: CPU: 0 PID: 7959 at kernel/trace/blktrace.c:1192 blk_register_tracepoints+0x28a/0x2f0 kernel/trace/blktrace.c:1192
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 7959 Comm: syz-executor377 Not tainted 4.14.302-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x20/0x44 kernel/panic.c:547
 report_bug+0x208/0x250 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:967
RIP: 0010:blk_register_tracepoints+0x28a/0x2f0 kernel/trace/blktrace.c:1192
RSP: 0018:ffff8880b358fb28 EFLAGS: 00010297
RAX: ffff8880a4ebe040 RBX: ffff8880ac097330 RCX: fffffbfff17d9fb8
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000282
RBP: ffff8880afe426c0 R08: ffff8880a4ebe040 R09: dffffc0000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 00000000fffffff0
R13: ffff8880afe426f0 R14: 0000000000010000 R15: 00400000000074f8
 get_probe_ref kernel/trace/blktrace.c:340 [inline]
 do_blk_trace_setup+0x8a1/0xac0 kernel/trace/blktrace.c:602
 __blk_trace_setup+0xa3/0x120 kernel/trace/blktrace.c:621
 blk_trace_setup+0x43/0x60 kernel/trace/blktrace.c:639
 sg_ioctl+0x232/0x2500 drivers/scsi/sg.c:1124
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:500 [inline]
 do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684
 SYSC_ioctl fs/ioctl.c:701 [inline]
 SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x5e/0xd3
RIP: 0033:0x7fb4e1254cd9
RSP: 002b:00007ffc275e1b88 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fb4e1254cd9
RDX: 0000000020000040 RSI: 00000000c0481273 RDI: 0000000000000003
RBP: 00007ffc275e1b90 R08: 0000000000000002 R09: 00007fb4e1003633
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/09 00:02 linux-4.14.y c4215ee4771b 1dac8c7a .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in blk_register_tracepoints
2022/06/06 01:54 linux-4.14.y 501eec4f9e13 c8857892 .config console log report syz C ci2-linux-4-14 WARNING in blk_register_tracepoints
2022/06/02 05:45 linux-4.14.y 501eec4f9e13 b4bc6a3d .config console log report syz C ci2-linux-4-14 WARNING in blk_register_tracepoints
2022/02/15 19:11 linux-4.14.y 8034e99d1a01 8b9ca619 .config console log report syz C ci2-linux-4-14 WARNING in blk_register_tracepoints
* Struck through repros no longer work on HEAD.