syzbot


general protection fault in relay_close_buf

Status: auto-closed as invalid on 2020/04/04 01:47
Subsystems: block trace
[Documentation on labels]
Reported-by: syzbot+58320b7171734bf79d26@syzkaller.appspotmail.com
First crash: 2053d, last: 1823d
Discussions (12)
Title Replies (including bot) Last reply
[PATCH 4.19 00/28] 4.19.127-rc1 review 38 (38) 2020/06/10 15:01
[PATCH 4.14 00/46] 4.14.184-rc1 review 48 (48) 2020/06/09 19:04
[PATCH 4.9 00/42] 4.9.227-rc1 review 43 (43) 2020/06/09 17:44
[PATCH 5.7 00/14] 5.7.1-rc1 review 23 (23) 2020/06/07 20:21
[PATCH 5.4 00/38] 5.4.45-rc1 review 43 (43) 2020/06/06 16:26
[PATCH 5.6 00/43] 5.6.17-rc1 review 50 (50) 2020/06/06 16:12
[patch 100/127] kernel/relay.c: handle alloc_percpu returning NULL in relay_open 1 (1) 2020/06/04 23:51
[PATCH v2] relay: handle alloc_percpu returning NULL in relay_open 5 (5) 2020/05/26 03:25
[PATCH] relay: handle alloc_percpu returning NULL in relay_open 6 (6) 2019/12/24 00:26
Reminder: 11 open syzbot bugs in block subsystem 1 (1) 2019/07/24 02:26
Reminder: 11 open syzbot bugs in block subsystem 1 (1) 2019/06/25 06:17
general protection fault in relay_close_buf 1 (2) 2019/05/07 19:30

Sample crash report:
debugfs: File 'msg' in directory 'loop0' already present!
debugfs: File 'trace0' in directory 'loop0' already present!
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 12129 Comm: syz-executor.2 Not tainted 5.4.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:relay_close_buf+0x2a/0x1c0 kernel/relay.c:495
Code: 55 48 89 e5 41 55 41 54 49 89 fc 53 e8 3f 17 ff ff 49 8d bc 24 ac 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 4a
RSP: 0018:ffffc90017947918 EFLAGS: 00010203
RAX: dffffc0000000000 RBX: dffffc0000000000 RCX: ffffc9000e0da000
RDX: 0000000000000015 RSI: ffffffff8175e401 RDI: 00000000000000ad
RBP: ffffc90017947930 R08: ffff888098a18400 R09: ffffed100dda6e86
R10: ffffed100dda6e85 R11: ffff88806ed3742b R12: 0000000000000001
R13: ffff88806ed37400 R14: 0000000000000007 R15: 0000000000000001
FS:  00007f17b8978700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000625208 CR3: 00000000a47fd000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 relay_open kernel/relay.c:612 [inline]
 relay_open+0x619/0x9e0 kernel/relay.c:563
 do_blk_trace_setup+0x3f0/0xb50 kernel/trace/blktrace.c:525
 __blk_trace_setup+0xe3/0x190 kernel/trace/blktrace.c:570
 blk_trace_ioctl+0x170/0x300 kernel/trace/blktrace.c:709
 blkdev_ioctl+0x126/0x1dc0 block/ioctl.c:568
 block_ioctl+0xee/0x130 fs/block_dev.c:1983
 vfs_ioctl fs/ioctl.c:47 [inline]
 file_ioctl fs/ioctl.c:545 [inline]
 do_vfs_ioctl+0x977/0x14e0 fs/ioctl.c:732
 ksys_ioctl+0xab/0xd0 fs/ioctl.c:749
 __do_sys_ioctl fs/ioctl.c:756 [inline]
 __se_sys_ioctl fs/ioctl.c:754 [inline]
 __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:754
 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45a679
Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f17b8977c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a679
RDX: 0000000020000080 RSI: 00000000c0481273 RDI: 0000000000000004
RBP: 000000000075c070 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f17b89786d4
R13: 00000000004c2043 R14: 00000000004d70a8 R15: 00000000ffffffff
Modules linked in:
---[ end trace ef56bffffde44496 ]---
RIP: 0010:relay_close_buf+0x2a/0x1c0 kernel/relay.c:495
Code: 55 48 89 e5 41 55 41 54 49 89 fc 53 e8 3f 17 ff ff 49 8d bc 24 ac 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 4a
RSP: 0018:ffffc90017947918 EFLAGS: 00010203
RAX: dffffc0000000000 RBX: dffffc0000000000 RCX: ffffc9000e0da000
RDX: 0000000000000015 RSI: ffffffff8175e401 RDI: 00000000000000ad
RBP: ffffc90017947930 R08: ffff888098a18400 R09: ffffed100dda6e86
R10: ffffed100dda6e85 R11: ffff88806ed3742b R12: 0000000000000001
R13: ffff88806ed37400 R14: 0000000000000007 R15: 0000000000000001
FS:  00007f17b8978700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000075c000 CR3: 00000000a47fd000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/06 01:46 upstream 2f13437b8917 4fb74474 .config console log report ci-upstream-kasan-gce
2019/08/21 03:15 upstream 5f97cbe22b76 cfc9868f .config console log report ci-upstream-kasan-gce
2019/08/03 00:34 upstream 755f1fed27f4 6affd8e8 .config console log report ci-upstream-kasan-gce
2019/04/25 10:25 upstream cd8dead0c394 8e3c52b1 .config console log report ci-upstream-kasan-gce
2019/04/20 17:46 upstream 371dd432ab39 b0e8efcb .config console log report ci-upstream-kasan-gce-selinux-root
* Struck through repros no longer work on HEAD.