syzbot


general protection fault in relay_open

Status: auto-closed as invalid on 2019/12/08 00:59
Subsystems: trace block
[Documentation on labels]
Reported-by: syzbot+d6074fb08bdb2e010520@syzkaller.appspotmail.com
First crash: 1695d, last: 1691d
Discussions (9)
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

Sample crash report:
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: 1 PID: 30460 Comm: syz-executor.3 Not tainted 5.3.0-rc7+ #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:relay_close_buf kernel/relay.c:495 [inline]
RIP: 0010:relay_open+0x65a/0x970 kernel/relay.c:612
Code: ff df 80 3c 08 00 74 08 48 89 df e8 f0 3d 38 00 4c 8b 3b 4d 85 ff 0f 84 f4 00 00 00 49 8d bf ac 00 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 50 01 00 00 41 c7 87 ac 00 00 00 01 00
RSP: 0018:ffff88808b6afa58 EFLAGS: 00010202
RAX: 0000000020000015 RBX: ffff8880aeb00000 RCX: dffffc0000000000
RDX: ffffc9000c779000 RSI: 000000000001f706 RDI: 00000001000000ab
RBP: ffff88808b6afac0 R08: ffffffff835178ae R09: ffffed10116d5f21
R10: ffffed10116d5f21 R11: 0000000000000000 R12: dffffc0000000000
R13: 1ffffffff117bec9 R14: 0000000000000001 R15: 00000000ffffffff
FS:  00007fa2e397c700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1034ee0b10 CR3: 000000009f80f000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 do_blk_trace_setup+0x4b9/0xaa0 kernel/trace/blktrace.c:526
 __blk_trace_setup kernel/trace/blktrace.c:571 [inline]
 blk_trace_ioctl+0x24c/0x7d0 kernel/trace/blktrace.c:710
 blkdev_ioctl+0x1363/0x2990 block/ioctl.c:592
 block_ioctl+0xbd/0x100 fs/block_dev.c:1954
 do_vfs_ioctl+0x744/0x1730 fs/ioctl.c:46
 ksys_ioctl fs/ioctl.c:713 [inline]
 __do_sys_ioctl fs/ioctl.c:720 [inline]
 __se_sys_ioctl fs/ioctl.c:718 [inline]
 __x64_sys_ioctl+0xe3/0x120 fs/ioctl.c:718
 do_syscall_64+0xfe/0x140 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4598e9
Code: fd b7 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 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fa2e397bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004598e9
RDX: 0000000020000080 RSI: 00000000c0481273 RDI: 0000000000000003
RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa2e397c6d4
R13: 00000000004c0f72 R14: 00000000004d41d0 R15: 00000000ffffffff
Modules linked in:
---[ end trace 30d1ea8b3ca08ee7 ]---
RIP: 0010:relay_close_buf kernel/relay.c:495 [inline]
RIP: 0010:relay_open+0x65a/0x970 kernel/relay.c:612
Code: ff df 80 3c 08 00 74 08 48 89 df e8 f0 3d 38 00 4c 8b 3b 4d 85 ff 0f 84 f4 00 00 00 49 8d bf ac 00 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 50 01 00 00 41 c7 87 ac 00 00 00 01 00
RSP: 0018:ffff88808b6afa58 EFLAGS: 00010202
RAX: 0000000020000015 RBX: ffff8880aeb00000 RCX: dffffc0000000000
RDX: ffffc9000c779000 RSI: 000000000001f706 RDI: 00000001000000ab
RBP: ffff88808b6afac0 R08: ffffffff835178ae R09: ffffed10116d5f21
R10: ffffed10116d5f21 R11: 0000000000000000 R12: dffffc0000000000
R13: 1ffffffff117bec9 R14: 0000000000000001 R15: 00000000ffffffff
FS:  00007fa2e397c700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555556b2978 CR3: 000000009f80f000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/09/09 00:58 upstream 950b07c14e8c a60cb4cd .config console log report ci-upstream-kasan-gce-smack-root
2019/09/04 18:22 upstream 089cf7f6ecb2 040fda58 .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.