syzbot


WARNING in blk_register_tracepoints

Status: upstream: reported C repro on 2022/02/08 05:40
Subsystems: block trace
[Documentation on labels]
Reported-by: syzbot+c54ded83396afee31eb1@syzkaller.appspotmail.com
First crash: 867d, last: 58d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in blk_register_tracepoints (log)
Repro: C syz .config
  
Fix bisection: fixed by (bisect log) :
commit fcaa174a9c995cf0af3967e55644a1543ea07e36
Author: Yu Kuai <yukuai3@huawei.com>
Date: Wed Jun 21 16:01:11 2023 +0000

  scsi/sg: don't grab scsi host module reference

  
Discussions (15)
Title Replies (including bot) Last reply
[syzbot] Monthly trace report (Apr 2024) 0 (1) 2024/04/30 07:11
[syzbot] Monthly trace report (Feb 2024) 0 (1) 2024/02/27 09:32
[syzbot] Monthly block report (Feb 2024) 0 (1) 2024/02/09 20:57
[syzbot] Monthly trace report (Jan 2024) 0 (1) 2024/01/26 21:55
[syzbot] Monthly block report (Jan 2024) 0 (1) 2024/01/09 18:20
[syzbot] Monthly trace report (Dec 2023) 0 (1) 2023/12/27 09:18
[syzbot] Monthly block report (Dec 2023) 0 (1) 2023/12/10 10:05
[syzbot] Monthly trace report (Nov 2023) 0 (1) 2023/11/23 13:12
[syzbot] Monthly block report (Oct 2023) 0 (1) 2023/10/09 09:23
[syzbot] Monthly block report (Sep 2023) 0 (1) 2023/09/07 09:25
[syzbot] Monthly block report (Aug 2023) 0 (1) 2023/08/07 07:28
[syzbot] WARNING in blk_register_tracepoints 0 (2) 2023/07/07 22:32
[syzbot] Monthly block report (Jun 2023) 0 (1) 2023/06/07 09:10
[syzbot] Monthly block report (May 2023) 0 (1) 2023/05/05 08:06
[syzbot] Monthly block report 0 (1) 2023/04/03 16:00
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 531d 858d 0/1 upstream: reported C repro on 2022/02/15 19:12
linux-4.19 WARNING in blk_register_tracepoints C error 4 525d 866d 0/1 upstream: reported C repro on 2022/02/07 12:21
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/06/02 19:09 15m retest repro linux-next report log
2024/06/02 16:41 2h04m retest repro linux-next report log
2024/06/02 16:41 20m retest repro linux-next report log
2024/05/17 14:00 30m retest repro upstream report log
2024/05/17 14:00 24m retest repro upstream report log
2024/05/09 16:18 16m retest repro upstream report log
2024/05/09 16:18 15m retest repro upstream report log
2024/05/09 16:18 24m retest repro upstream report log
2024/04/25 10:01 1h00m retest repro upstream report log
2024/04/20 10:42 27m retest repro upstream report log
Fix bisection attempts (9)
Created Duration User Patch Repo Result
2023/07/07 16:30 6h00m bisect fix upstream job log (1)
2023/05/30 22:49 37m bisect fix upstream job log (0) log
2023/04/30 21:38 36m bisect fix upstream job log (0) log
2023/03/04 09:27 34m bisect fix upstream job log (0) log
2023/02/02 08:11 27m bisect fix upstream job log (0) log
2022/07/26 06:43 37m bisect fix upstream job log (0) log
2022/05/10 12:13 35m bisect fix upstream job log (0) log
2022/04/08 07:48 21m bisect fix upstream job log (0) log
2022/03/09 07:28 19m bisect fix upstream job log (0) log

Sample crash report:
RDX: 00000000200000c0 RSI: 00000000c0481273 RDI: 0000000000000003
RBP: 0000000000000002 R08: 00007f98936a4ee6 R09: 0000000000003633
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f98937743ec
R13: 0000000000000000 R14: 00007ffc4fe306b0 R15: 00007ffc4fe30798
 </TASK>
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5043 at kernel/trace/blktrace.c:1096 blk_register_tracepoints+0x2dc/0x3a0 kernel/trace/blktrace.c:1096
Modules linked in:
CPU: 1 PID: 5043 Comm: syz-executor413 Not tainted 6.6.0-rc7-syzkaller-00142-g888cf78c29e2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
RIP: 0010:blk_register_tracepoints+0x2dc/0x3a0 kernel/trace/blktrace.c:1096
Code: 48 c7 c7 20 ca b9 8e e8 82 0b fb ff 31 ff 89 c3 89 c6 e8 c7 2d f9 ff 85 db 0f 85 ba 00 00 00 5b e9 49 32 f9 ff e8 44 32 f9 ff <0f> 0b e9 4b fd ff ff e8 38 32 f9 ff 0f 0b e9 6c fd ff ff e8 2c 32
RSP: 0018:ffffc90004487bc0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 00000000fffffff4 RCX: 0000000000000000
RDX: ffff88802a765940 RSI: ffffffff818ea7ec RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000fffffff4 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88814137cde8 R14: 0000000000000000 R15: ffffc90004487c8c
FS:  00007f98936a56c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f98936a4d28 CR3: 00000000206f6000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 get_probe_ref kernel/trace/blktrace.c:337 [inline]
 do_blk_trace_setup+0x8ac/0xa90 kernel/trace/blktrace.c:612
 __blk_trace_setup+0xd8/0x180 kernel/trace/blktrace.c:631
 blk_trace_setup+0x47/0x60 kernel/trace/blktrace.c:649
 sg_ioctl_common drivers/scsi/sg.c:1118 [inline]
 sg_ioctl+0x669/0x2760 drivers/scsi/sg.c:1160
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:871 [inline]
 __se_sys_ioctl fs/ioctl.c:857 [inline]
 __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f98936eca09
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 41 1c 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f98936a5148 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f98936a5150 RCX: 00007f98936eca09
RDX: 00000000200000c0 RSI: 00000000c0481273 RDI: 0000000000000003
RBP: 0000000000000002 R08: 00007f98936a4ee6 R09: 0000000000003633
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f98937743ec
R13: 0000000000000000 R14: 00007ffc4fe306b0 R15: 00007ffc4fe30798
 </TASK>

Crashes (26):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/28 12:22 upstream 888cf78c29e2 3c418d72 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in blk_register_tracepoints
2023/08/23 22:46 upstream a5e505a99ca7 4d7ae7ab .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in blk_register_tracepoints
2023/08/05 08:53 upstream e6fda526d9db 4ffcc9ef .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in blk_register_tracepoints
2022/06/07 19:17 upstream e71e60cd74df c8857892 .config console log report syz C ci-upstream-kasan-gce WARNING in blk_register_tracepoints
2022/06/05 10:27 upstream 952923ddc011 c8857892 .config strace log report syz C ci-upstream-kasan-gce-root WARNING in blk_register_tracepoints
2022/02/07 07:28 upstream d8ad2ce873ab a7dab638 .config console log report syz C ci-upstream-kasan-gce WARNING in blk_register_tracepoints
2022/02/07 06:57 upstream d8ad2ce873ab a7dab638 .config console log report syz C ci-upstream-kasan-gce-root WARNING in blk_register_tracepoints
2022/08/27 23:02 linux-next 8d0c42c9e807 07177916 .config strace log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in blk_register_tracepoints
2022/06/26 04:19 linux-next 2f9cb3d3bd73 a371c43c .config strace log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in blk_register_tracepoints
2023/03/31 21:37 linux-next 4b0f4525dc4f f325deb0 .config strace log report syz [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in blk_register_tracepoints
2022/12/31 20:52 upstream c8451c141e07 ab32d508 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in blk_register_tracepoints
2023/11/17 00:59 upstream 7475e51b8796 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in blk_register_tracepoints
2023/08/05 08:37 upstream e6fda526d9db 4ffcc9ef .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in blk_register_tracepoints
2022/12/31 20:30 upstream c8451c141e07 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in blk_register_tracepoints
2022/12/04 02:15 upstream 97ee9d1c1696 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in blk_register_tracepoints
2022/11/26 07:19 upstream 0b1dcc2cf55a 74a66371 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in blk_register_tracepoints
2022/10/29 02:46 upstream b229b6ca5abb ea12ae9b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in blk_register_tracepoints
2022/10/10 16:41 upstream 4899a36f91a9 aea5da89 .config console log report info [disk image] [vmlinux] ci-upstream-kasan-gce WARNING in blk_register_tracepoints
2022/08/10 12:31 upstream 200e340f2196 c2a623d6 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in blk_register_tracepoints
2022/06/05 09:55 upstream 952923ddc011 c8857892 .config console log report info ci-upstream-kasan-gce-root WARNING in blk_register_tracepoints
2022/02/07 06:45 upstream d8ad2ce873ab a7dab638 .config console log report info ci-upstream-kasan-gce-root WARNING in blk_register_tracepoints
2022/12/13 00:49 upstream 830b3c68c1fb 67be1ae7 .config console log report info ci-qemu-upstream-386 WARNING in blk_register_tracepoints
2022/09/25 05:41 upstream 1a61b828566f 0042f2b4 .config console log report info ci-qemu-upstream-386 WARNING in blk_register_tracepoints
2022/09/04 03:34 upstream 42cf58c272ee 28811d0a .config console log report info ci-upstream-kasan-gce-386 WARNING in blk_register_tracepoints
2022/08/08 17:52 upstream 200e340f2196 88e3a122 .config console log report info ci-upstream-kasan-gce-386 WARNING in blk_register_tracepoints
2022/08/08 18:10 linux-next ca688bff68bc 88e3a122 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in blk_register_tracepoints
* Struck through repros no longer work on HEAD.