syzbot


general protection fault in mqueue_get_tree

Status: closed as invalid on 2019/02/28 02:15
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+885a82aa44fba12672b3@syzkaller.appspotmail.com
First crash: 2053d, last: 2052d
Discussions (1)
Title Replies (including bot) Last reply
general protection fault in mqueue_get_tree 0 (1) 2018/09/12 13:09

Sample crash report:
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
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: 5572 Comm: syz-executor092 Not tainted 4.19.0-rc3-next-20180912+ #72
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:mqueue_get_tree+0xba/0x2e0 ipc/mqueue.c:362
Code: 4c 8d b3 98 00 00 00 4d 85 ed 0f 84 d1 00 00 00 e8 6b 44 3f fe 49 8d 7d 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 e3 01 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b
RSP: 0018:ffff8801bada7928 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff8801cccc2080 RCX: ffffffff8160aca1
RDX: 000000000836b157 RSI: ffffffff833deb15 RDI: 0000000041b58abb
RBP: ffff8801bada7948 R08: fffffbfff13555fd R09: fffffbfff13555fc
R10: fffffbfff13555fc R11: ffffffff89aaafe3 R12: ffff8801d7aab7c0
R13: 0000000041b58ab3 R14: ffff8801cccc2118 R15: ffff8801cccc2118
FS:  000000000146d940(0000) GS:ffff8801dad00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000046cdf0 CR3: 00000001d8cb7000 CR4: 00000000001406e0
Call Trace:
 vfs_get_tree+0x1cb/0x5c0 fs/super.c:1787
 mq_create_mount+0xe3/0x190 ipc/mqueue.c:415
 mq_init_ns+0x15a/0x210 ipc/mqueue.c:1621
 create_ipc_ns ipc/namespace.c:58 [inline]
 copy_ipcs+0x3d2/0x580 ipc/namespace.c:84
 create_new_namespaces+0x376/0x900 kernel/nsproxy.c:87
 unshare_nsproxy_namespaces+0xc3/0x1f0 kernel/nsproxy.c:206
 ksys_unshare+0x79c/0x10b0 kernel/fork.c:2535
 __do_sys_unshare kernel/fork.c:2603 [inline]
 __se_sys_unshare kernel/fork.c:2601 [inline]
 __x64_sys_unshare+0x31/0x40 kernel/fork.c:2601
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x444287
Code: 00 00 00 b8 63 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ed de fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 10 01 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 cd de fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffc468e42c8 EFLAGS: 00000217 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007ffc468e4380 RCX: 0000000000444287
RDX: 0000000000000000 RSI: 00007ffc468e42d0 RDI: 0000000008000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000146d940
R10: 0000000000000000 R11: 0000000000000217 R12: 00000000004025e0
R13: 0000000000402670 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace 65d39bd7b7da636d ]---
RIP: 0010:mqueue_get_tree+0xba/0x2e0 ipc/mqueue.c:362
Code: 4c 8d b3 98 00 00 00 4d 85 ed 0f 84 d1 00 00 00 e8 6b 44 3f fe 49 8d 7d 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 e3 01 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b
RSP: 0018:ffff8801bada7928 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff8801cccc2080 RCX: ffffffff8160aca1
RDX: 000000000836b157 RSI: ffffffff833deb15 RDI: 0000000041b58abb
RBP: ffff8801bada7948 R08: fffffbfff13555fd R09: fffffbfff13555fc
R10: fffffbfff13555fc R11: ffffffff89aaafe3 R12: ffff8801d7aab7c0
R13: 0000000041b58ab3 R14: ffff8801cccc2118 R15: ffff8801cccc2118
FS:  000000000146d940(0000) GS:ffff8801dad00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000046cdf0 CR3: 00000001d8cb7000 CR4: 00000000001406e0

Crashes (157):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/09/13 01:48 linux-next 7c1b097f27bf 71907daf .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/13 01:33 linux-next 7c1b097f27bf 71907daf .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/13 01:15 linux-next 7c1b097f27bf 71907daf .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/13 00:53 linux-next 7c1b097f27bf 71907daf .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/13 00:35 linux-next 7c1b097f27bf 71907daf .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/13 00:12 linux-next 7c1b097f27bf 71907daf .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/12 23:40 linux-next 7c1b097f27bf 71907daf .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/12 23:16 linux-next 7c1b097f27bf 71907daf .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/12 22:16 linux-next 7c1b097f27bf 71907daf .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/12 20:29 linux-next 7c1b097f27bf 71907daf .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/12 19:49 linux-next 7c1b097f27bf 71907daf .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/12 19:24 linux-next 7c1b097f27bf 71907daf .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/12 15:18 linux-next 7c1b097f27bf 3c88136c .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/12 14:45 linux-next 7c1b097f27bf 3c88136c .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/12 14:11 linux-next 7c1b097f27bf 3c88136c .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/12 13:48 linux-next 7c1b097f27bf 3c88136c .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/12 13:48 linux-next 7c1b097f27bf 3c88136c .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/12 13:29 linux-next 7c1b097f27bf 3c88136c .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/12 12:52 linux-next 7c1b097f27bf 3c88136c .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/12 12:44 linux-next 7c1b097f27bf 3c88136c .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/12 12:29 linux-next 7c1b097f27bf 3c88136c .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/12 12:27 linux-next 7c1b097f27bf 3c88136c .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/12 11:56 linux-next 7c1b097f27bf 3c88136c .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/12 11:47 linux-next 7c1b097f27bf 3c88136c .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/12 11:40 linux-next 7c1b097f27bf 3c88136c .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/12 11:06 linux-next 7c1b097f27bf 3c88136c .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/12 23:56 linux-next 7c1b097f27bf 71907daf .config console log report syz ci-upstream-linux-next-kasan-gce-root
2018/09/12 21:59 linux-next 7c1b097f27bf 71907daf .config console log report syz ci-upstream-linux-next-kasan-gce-root
2018/09/12 19:59 linux-next 7c1b097f27bf 71907daf .config console log report syz ci-upstream-linux-next-kasan-gce-root
2018/09/12 19:27 linux-next 7c1b097f27bf 71907daf .config console log report syz ci-upstream-linux-next-kasan-gce-root
2018/09/12 13:03 linux-next 7c1b097f27bf 3c88136c .config console log report syz ci-upstream-linux-next-kasan-gce-root
2018/09/12 11:58 linux-next 7c1b097f27bf 3c88136c .config console log report syz ci-upstream-linux-next-kasan-gce-root
2018/09/13 04:42 linux-next 7c1b097f27bf 71907daf .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/13 03:27 linux-next 7c1b097f27bf 71907daf .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/13 00:46 linux-next 7c1b097f27bf 71907daf .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 19:22 linux-next 7c1b097f27bf 71907daf .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 18:36 linux-next 7c1b097f27bf 71907daf .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 17:26 linux-next 7c1b097f27bf 71907daf .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 17:25 linux-next 7c1b097f27bf 71907daf .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 16:23 linux-next 7c1b097f27bf 71907daf .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 10:12 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 09:30 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 07:54 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 07:53 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 07:47 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 07:37 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 07:32 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 07:30 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 07:30 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 07:26 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 07:18 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 07:13 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 07:12 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 07:03 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 06:54 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 06:48 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 06:48 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 06:47 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 06:41 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 06:41 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 06:37 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 06:36 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 06:27 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 06:20 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 06:19 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 06:17 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 06:11 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 06:03 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 05:56 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 05:55 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 05:55 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 05:51 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/12 05:48 linux-next 7c1b097f27bf 3c88136c .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.