syzbot


general protection fault in fib6_nh_init

Status: auto-closed as invalid on 2019/10/25 08:38
Reported-by: syzbot+1b2927fda48c5bf2e931@syzkaller.appspotmail.com
First crash: 1338d, last: 1321d

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: 0 PID: 24152 Comm: syz-executor.2 Not tainted 5.2.0-rc2+ #25
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:ipv6_addr_any include/net/ipv6.h:626 [inline]
RIP: 0010:ip6_route_check_nh_onlink net/ipv6/route.c:2910 [inline]
RIP: 0010:ip6_validate_gw net/ipv6/route.c:3013 [inline]
RIP: 0010:fib6_nh_init+0x47e/0x1c80 net/ipv6/route.c:3121
Code: 89 de e8 15 76 4e fb 48 85 db 0f 84 fb 10 00 00 e8 67 74 4e fb 48 8d 7b 40 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 bf 16 00 00 48 8d 7b 48 48 8b 4b 40 48 b8 00 00
RSP: 0018:ffff888097a6f2a0 EFLAGS: 00010a02
RAX: dffffc0000000000 RBX: ff88809838fd0000 RCX: ffffc9000c22b000
RDX: 1ff11013071fa008 RSI: ffffffff86223159 RDI: ff88809838fd0040
RBP: ffff888097a6f320 R08: ffff8880638b2400 R09: ffffed1015d06be8
R10: ffffed1015d06be7 R11: ffff8880ae835f3b R12: ffff888092f6b57f
R13: ffff888097a6f490 R14: ffff88808fc52ed8 R15: ffff888097a6f4a4
FS:  00007fec6e6e2700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000075c000 CR3: 00000000a4879000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 ip6_route_info_create+0x922/0x1240 net/ipv6/route.c:3313
 ip6_route_multipath_add+0x48c/0x1380 net/ipv6/route.c:4612
 inet6_rtm_newroute+0xf8/0x190 net/ipv6/route.c:4780
 rtnetlink_rcv_msg+0x463/0xb00 net/core/rtnetlink.c:5218
 netlink_rcv_skb+0x177/0x450 net/netlink/af_netlink.c:2486
 rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5236
 netlink_unicast_kernel net/netlink/af_netlink.c:1311 [inline]
 netlink_unicast+0x531/0x710 net/netlink/af_netlink.c:1337
 netlink_sendmsg+0x8ae/0xd70 net/netlink/af_netlink.c:1926
 sock_sendmsg_nosec net/socket.c:652 [inline]
 sock_sendmsg+0xd7/0x130 net/socket.c:671
 ___sys_sendmsg+0x803/0x920 net/socket.c:2292
 __sys_sendmsg+0x105/0x1d0 net/socket.c:2330
 __do_sys_sendmsg net/socket.c:2339 [inline]
 __se_sys_sendmsg net/socket.c:2337 [inline]
 __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2337
 do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4592c9
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:00007fec6e6e1c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004592c9
RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000005
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fec6e6e26d4
R13: 00000000004c6f76 R14: 00000000004dc0b0 R15: 00000000ffffffff
Modules linked in:
---[ end trace 6fdba9867b92a7c5 ]---
RIP: 0010:ipv6_addr_any include/net/ipv6.h:626 [inline]
RIP: 0010:ip6_route_check_nh_onlink net/ipv6/route.c:2910 [inline]
RIP: 0010:ip6_validate_gw net/ipv6/route.c:3013 [inline]
RIP: 0010:fib6_nh_init+0x47e/0x1c80 net/ipv6/route.c:3121
Code: 89 de e8 15 76 4e fb 48 85 db 0f 84 fb 10 00 00 e8 67 74 4e fb 48 8d 7b 40 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 bf 16 00 00 48 8d 7b 48 48 8b 4b 40 48 b8 00 00
RSP: 0018:ffff888097a6f2a0 EFLAGS: 00010a02
RAX: dffffc0000000000 RBX: ff88809838fd0000 RCX: ffffc9000c22b000
RDX: 1ff11013071fa008 RSI: ffffffff86223159 RDI: ff88809838fd0040
RBP: ffff888097a6f320 R08: ffff8880638b2400 R09: ffffed1015d06be8
R10: ffffed1015d06be7 R11: ffff8880ae835f3b R12: ffff888092f6b57f
R13: ffff888097a6f490 R14: ffff88808fc52ed8 R15: ffff888097a6f4a4
FS:  00007fec6e6e2700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6f71c44db8 CR3: 00000000a4879000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600

Crashes (7):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-bpf-next-kasan-gce 2019/06/19 20:29 bpf-next 94079b64255f 34bf9440 .config console log report
ci-upstream-bpf-next-kasan-gce 2019/06/14 09:54 bpf-next aee450cbe482 998ccc76 .config console log report
ci-upstream-bpf-next-kasan-gce 2019/06/13 09:02 bpf-next aee450cbe482 3f4e812b .config console log report
ci-upstream-bpf-next-kasan-gce 2019/06/12 15:40 bpf-next aee450cbe482 794a1ad7 .config console log report
ci-upstream-bpf-next-kasan-gce 2019/06/09 16:35 bpf-next 4ecabd55c904 0159583c .config console log report
ci-upstream-bpf-next-kasan-gce 2019/06/03 14:55 bpf-next 0462eaacee49 63bf051f .config console log report
ci-upstream-net-kasan-gce 2019/06/02 18:26 net-next c1e9e01d4233 53c81ea5 .config console log report
* Struck through repros no longer work on HEAD.