syzbot


WARNING in get_probe_ref

Status: upstream: reported C repro on 2020/05/18 03:12
Reported-by: syzbot+8672dcb9d10011c0a160@syzkaller.appspotmail.com
First crash: 937d, last: 164d

Cause bisection: introduced by (bisect log) [merge commit]:
commit 27d6e47f8e133167af51a3e39548cd3e9bed07da
Author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: Mon Oct 14 05:07:36 2019 +0000

  Merge 5.4-rc3 into staging-next

Crash: WARNING in get_probe_ref (log)
Repro: C syz .config

Fix bisection: failed (bisect log)
Patch testing requests:
Created Duration User Patch Repo Result
2022/10/12 10:30 19m retest repro upstream error
2022/10/03 17:30 18m retest repro upstream report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3615 at kernel/trace/blktrace.c:1099 get_probe_ref+0x31c/0x3e0 kernel/trace/blktrace.c:336
Modules linked in:
CPU: 0 PID: 3615 Comm: syz-executor266 Not tainted 5.19.0-rc3-syzkaller-00271-g6a0a17e6c6d1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:blk_register_tracepoints kernel/trace/blktrace.c:1099 [inline]
RIP: 0010:get_probe_ref+0x31c/0x3e0 kernel/trace/blktrace.c:336
Code: 89 c3 31 ff 89 c6 e8 53 ea f8 ff 85 db 0f 85 c6 00 00 00 e8 26 e6 f8 ff 48 c7 c7 20 f7 b6 8c 5b e9 09 55 a4 08 e8 14 e6 f8 ff <0f> 0b e9 44 fd ff ff e8 08 e6 f8 ff 0f 0b e9 65 fd ff ff e8 fc e5
RSP: 0018:ffffc900030efb98 EFLAGS: 00010293
RAX: ffffffff818e980c RBX: 00000000fffffff4 RCX: ffff888023ffbb00
RDX: 0000000000000000 RSI: 00000000fffffff4 RDI: 0000000000000000
RBP: ffff88801778f380 R08: ffffffff818e954a R09: fffff5200061df49
R10: fffff5200061df49 R11: 1ffff9200061df48 R12: ffffc900030efca0
R13: dffffc0000000000 R14: ffff88801778f3b0 R15: 1ffff11002ef1e76
FS:  00005555562b1300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe65dbb010 CR3: 0000000024d7a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 do_blk_trace_setup+0x7a0/0x980 kernel/trace/blktrace.c:580
 __blk_trace_setup kernel/trace/blktrace.c:599 [inline]
 blk_trace_setup+0xfd/0x1b0 kernel/trace/blktrace.c:617
 sg_ioctl_common drivers/scsi/sg.c:1122 [inline]
 sg_ioctl+0x1477/0x2e50 drivers/scsi/sg.c:1164
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7fcd4d8f76c9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 14 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe65dbaff8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fcd4d8f76c9
RDX: 0000000020000140 RSI: 00000000c0481273 RDI: 0000000000000003
RBP: 00007ffe65dbb010 R08: 0000000000000002 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (4):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2022/06/25 16:37 upstream 6a0a17e6c6d1 a371c43c .config log report syz C WARNING in get_probe_ref
ci-upstream-kasan-gce 2020/05/14 03:47 upstream 24085f70a6e1 a885920d .config log report syz C
ci-upstream-kasan-gce-smack-root 2022/02/06 12:44 upstream 90c9e950c0de a7dab638 .config log report info WARNING in get_probe_ref
ci-upstream-kasan-gce 2020/05/14 03:03 upstream 24085f70a6e1 a885920d .config log report
* Struck through repros no longer work on HEAD.