syzbot


general protection fault in rhashtable_walk_start_check

Status: fixed on 2018/09/26 21:51
Subsystems: tipc
[Documentation on labels]
Reported-by: syzbot+e93a2c41f91b8e2c7d9b@syzkaller.appspotmail.com
Fix commit: 8f5c5fcf3533 tipc: call start and done ops directly in __tipc_nl_compat_dumpit()
First crash: 2061d, last: 2049d
Discussions (5)
Title Replies (including bot) Last reply
[PATCH 4.18 00/44] 4.18.14-stable review 49 (49) 2018/10/12 15:43
[Patch net v3] tipc: call start and done ops directly in __tipc_nl_compat_dumpit() 5 (5) 2018/09/07 04:50
[Patch net] tipc: call start and done ops directly in __tipc_nl_compat_dumpit() 6 (6) 2018/09/06 05:15
[Patch net] tipc: call start and done ops directly in __tipc_nl_compat_dumpit() 2 (2) 2018/09/03 19:56
general protection fault in rhashtable_walk_start_check 0 (1) 2018/09/02 05:11

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] SMP KASAN
CPU: 0 PID: 4663 Comm: syz-executor272 Not tainted 4.19.0-rc1+ #78
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:rhashtable_walk_start_check+0xd3/0x1400 lib/rhashtable.c:717
Code: f2 c7 40 30 f2 f2 f2 f2 c7 40 34 00 f2 f2 f2 65 48 8b 04 25 28 00 00 00 48 89 45 d0 31 c0 e8 94 9e 0b fe 4c 89 e8 48 c1 e8 03 <80> 3c 18 00 0f 85 a4 0f 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b
RSP: 0018:ffff8801ba726ee8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffffff852abf68
RDX: 0000000000000000 RSI: ffffffff837121ec RDI: 0000000000000000
RBP: ffff8801ba727130 R08: ffff8801ba750780 R09: ffffed00374fcf3c
R10: ffffed00374fcf3c R11: ffff8801ba7e79e3 R12: 0000000000000000
R13: 0000000000000000 R14: ffff8801ba727270 R15: fffffffffffff000
FS:  0000000001b0b880(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000100 CR3: 00000001bbf40000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 rhashtable_walk_start include/linux/rhashtable.h:244 [inline]
 tipc_nl_sk_walk+0x52/0x1d0 net/tipc/socket.c:3236
 tipc_nl_sk_dump+0x24/0x30 net/tipc/socket.c:3366
 __tipc_nl_compat_dumpit.isra.11+0x20b/0xad0 net/tipc/netlink_compat.c:192
 tipc_nl_compat_dumpit+0x1f4/0x440 net/tipc/netlink_compat.c:265
 tipc_nl_compat_handle net/tipc/netlink_compat.c:1142 [inline]
 tipc_nl_compat_recv+0x12b3/0x19a0 net/tipc/netlink_compat.c:1205
 genl_family_rcv_msg+0x8a3/0x1140 net/netlink/genetlink.c:601
 genl_rcv_msg+0xc6/0x168 net/netlink/genetlink.c:626
 netlink_rcv_skb+0x172/0x440 net/netlink/af_netlink.c:2454
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:637
 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline]
 netlink_unicast+0x5a0/0x760 net/netlink/af_netlink.c:1343
 netlink_sendmsg+0xa18/0xfc0 net/netlink/af_netlink.c:1908
 sock_sendmsg_nosec net/socket.c:621 [inline]
 sock_sendmsg+0xd5/0x120 net/socket.c:631
 ___sys_sendmsg+0x7fd/0x930 net/socket.c:2114
 __sys_sendmsg+0x11d/0x290 net/socket.c:2152
 __do_sys_sendmsg net/socket.c:2161 [inline]
 __se_sys_sendmsg net/socket.c:2159 [inline]
 __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2159
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4400e9
Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 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 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffe84ec3538 EFLAGS: 00000213 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004400e9
RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000003
RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8
R10: 0000000000000000 R11: 0000000000000213 R12: 0000000000401970
R13: 0000000000401a00 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
Dumping ftrace buffer:
   (ftrace buffer empty)
---[ end trace c8a9aaea5d0de646 ]---
RIP: 0010:rhashtable_walk_start_check+0xd3/0x1400 lib/rhashtable.c:717
Code: f2 c7 40 30 f2 f2 f2 f2 c7 40 34 00 f2 f2 f2 65 48 8b 04 25 28 00 00 00 48 89 45 d0 31 c0 e8 94 9e 0b fe 4c 89 e8 48 c1 e8 03 <80> 3c 18 00 0f 85 a4 0f 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b
RSP: 0018:ffff8801ba726ee8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffffff852abf68
RDX: 0000000000000000 RSI: ffffffff837121ec RDI: 0000000000000000
RBP: ffff8801ba727130 R08: ffff8801ba750780 R09: ffffed00374fcf3c
R10: ffffed00374fcf3c R11: ffff8801ba7e79e3 R12: 0000000000000000
R13: 0000000000000000 R14: ffff8801ba727270 R15: fffffffffffff000
FS:  0000000001b0b880(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000100 CR3: 00000001bbf40000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (112):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/09/01 08:15 net-old f611a5b4a51f a4718693 .config console log report syz C ci-upstream-net-this-kasan-gce
2018/09/01 07:55 linux-next a880148cb2af a4718693 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/10 07:54 upstream 11da3a7f84f1 6b5120a4 .config console log report ci-upstream-kasan-gce-selinux-root
2018/09/10 05:42 upstream 9a5682765a2e 6b5120a4 .config console log report ci-upstream-kasan-gce
2018/09/08 22:01 upstream d7b686ebf704 6b5120a4 .config console log report ci-upstream-kasan-gce
2018/09/08 17:48 upstream d7b686ebf704 6b5120a4 .config console log report ci-upstream-kasan-gce
2018/09/08 10:59 upstream 3d0e7a9e00fd 6b5120a4 .config console log report ci-upstream-kasan-gce-root
2018/09/07 17:32 upstream a49a9dcce802 69cfeb80 .config console log report ci-upstream-kasan-gce
2018/09/06 17:26 upstream b36fdc6853a3 0bb7a7eb .config console log report ci-upstream-kasan-gce-root
2018/09/06 15:12 upstream b36fdc6853a3 0bb7a7eb .config console log report ci-upstream-kasan-gce
2018/09/06 08:47 upstream b36fdc6853a3 873745f2 .config console log report ci-upstream-kasan-gce-selinux-root
2018/09/05 17:41 upstream 28619527b8a7 196410e4 .config console log report ci-upstream-kasan-gce-selinux-root
2018/09/05 15:58 upstream 28619527b8a7 196410e4 .config console log report ci-upstream-kasan-gce-root
2018/09/05 07:52 upstream 28619527b8a7 a4718693 .config console log report ci-upstream-kasan-gce-root
2018/09/05 07:45 upstream 28619527b8a7 a4718693 .config console log report ci-upstream-kasan-gce
2018/09/11 12:42 upstream 11da3a7f84f1 8c88323f .config console log report ci-upstream-kasan-gce-386
2018/09/11 07:41 upstream 11da3a7f84f1 8c88323f .config console log report ci-upstream-kasan-gce-386
2018/09/05 07:52 upstream 28619527b8a7 a4718693 .config console log report ci-upstream-kasan-gce-386
2018/09/06 23:32 net-old 6da410d97ffa e30d3b52 .config console log report ci-upstream-net-this-kasan-gce
2018/09/05 07:52 net-old 28619527b8a7 a4718693 .config console log report ci-upstream-net-this-kasan-gce
2018/09/01 06:17 net-old dc6417949297 a4718693 .config console log report ci-upstream-net-this-kasan-gce
2018/09/13 07:04 net-next-old a20625e49dde 71907daf .config console log report ci-upstream-net-kasan-gce
2018/09/13 05:05 net-next-old 0041195d55bc 71907daf .config console log report ci-upstream-net-kasan-gce
2018/09/12 17:35 net-next-old 0041195d55bc 71907daf .config console log report ci-upstream-net-kasan-gce
2018/09/12 08:43 net-next-old aad06d1104e8 3c88136c .config console log report ci-upstream-net-kasan-gce
2018/09/12 08:26 net-next-old aad06d1104e8 3c88136c .config console log report ci-upstream-net-kasan-gce
2018/09/12 07:13 net-next-old aad06d1104e8 3c88136c .config console log report ci-upstream-net-kasan-gce
2018/09/11 09:01 net-next-old 11957be20ff6 8c88323f .config console log report ci-upstream-net-kasan-gce
2018/09/11 06:17 net-next-old 11957be20ff6 8c88323f .config console log report ci-upstream-net-kasan-gce
2018/09/11 03:35 net-next-old 11957be20ff6 8c88323f .config console log report ci-upstream-net-kasan-gce
2018/09/10 20:42 net-next-old 11957be20ff6 f167cb6b .config console log report ci-upstream-net-kasan-gce
2018/09/10 18:33 net-next-old 09317da317e5 f167cb6b .config console log report ci-upstream-net-kasan-gce
2018/09/10 16:27 net-next-old 09317da317e5 f167cb6b .config console log report ci-upstream-net-kasan-gce
2018/09/08 18:51 net-next-old 7a8c7f5c30f9 6b5120a4 .config console log report ci-upstream-net-kasan-gce
2018/09/08 17:42 net-next-old 7a8c7f5c30f9 6b5120a4 .config console log report ci-upstream-net-kasan-gce
2018/09/07 13:55 net-next-old 38bb4ac91bd8 69cfeb80 .config console log report ci-upstream-net-kasan-gce
2018/09/07 01:14 net-next-old 2002bc328ca3 e30d3b52 .config console log report ci-upstream-net-kasan-gce
2018/09/06 00:21 net-next-old 05dcc7129864 873745f2 .config console log report ci-upstream-net-kasan-gce
2018/09/08 07:11 linux-next f2b6e66e9885 6b5120a4 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/08 00:11 linux-next f2b6e66e9885 69cfeb80 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/07 08:04 linux-next f2b6e66e9885 e30d3b52 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/06 06:41 linux-next f2b6e66e9885 873745f2 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/06 01:47 linux-next f2b6e66e9885 873745f2 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.