syzbot


WARNING in fib6_add (2)

Status: auto-closed as invalid on 2019/10/17 17:19
Reported-by: syzbot+60cc5bc1296c8afcf739@syzkaller.appspotmail.com
First crash: 1531d, last: 1388d
similar bugs (4):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in fib6_add C 8225 1914d 1938d 3/24 fixed on 2017/11/28 03:36
upstream WARNING in fib6_add (4) 2 1010d 1027d 0/24 auto-closed as invalid on 2020/08/31 02:33
upstream WARNING in fib6_add (3) 1 1105d 1105d 0/24 closed as invalid on 2020/02/24 20:17
linux-4.19 WARNING in fib6_add 1 1277d 1277d 0/1 auto-closed as invalid on 2019/12/07 20:56

Sample crash report:
IPv6: NLM_F_REPLACE set, but no existing node found!
WARNING: CPU: 1 PID: 21745 at net/ipv6/ip6_fib.c:1360 fib6_add+0x1176/0x14e0 net/ipv6/ip6_fib.c:1360
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 21745 Comm: syz-executor5 Not tainted 4.20.0+ #5
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1db/0x2d0 lib/dump_stack.c:113
 panic+0x2cb/0x589 kernel/panic.c:189
kobject: 'loop4' (000000006a4424a4): kobject_uevent_env
kobject: 'loop4' (000000006a4424a4): fill_kobj_path: path = '/devices/virtual/block/loop4'
 __warn.cold+0x20/0x4b kernel/panic.c:544
 report_bug+0x263/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:290
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:973
RIP: 0010:fib6_add+0x1176/0x14e0 net/ipv6/ip6_fib.c:1360
Code: 08 49 8d bf a8 0c 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 d6 02 00 00 4d 8b bf a8 0c 00 00 e9 3e fd ff ff e8 5a c5 ac fa <0f> 0b 48 8b 95 28 fe ff ff 48 b8 00 00 00 00 00 fc ff df 48 c1 ea
RSP: 0018:ffff88805f657000 EFLAGS: 00010212
kobject: 'loop2' (000000001f5770de): kobject_uevent_env
RAX: 0000000000040000 RBX: ffff88805f6575a0 RCX: ffffc9000de39000
RDX: 000000000000bbc3 RSI: ffffffff86d4e0b6 RDI: ffff888097500e20
RBP: ffff88805f657218 R08: ffff8880961d6700 R09: ffffed100da9b47e
R10: ffffed100da9b47d R11: ffff88806d4da3ef R12: 00000000fffffffe
R13: ffff888097500e00 R14: ffff8880a846ee20 R15: 0000000000000000
kobject: 'loop2' (000000001f5770de): fill_kobj_path: path = '/devices/virtual/block/loop2'
 __ip6_ins_rt+0x54/0x80 net/ipv6/route.c:1155
 ip6_route_multipath_add+0x925/0x1840 net/ipv6/route.c:4392
kobject: 'loop4' (000000006a4424a4): kobject_uevent_env
kobject: 'loop4' (000000006a4424a4): fill_kobj_path: path = '/devices/virtual/block/loop4'
 inet6_rtm_newroute+0xfb/0x180 net/ipv6/route.c:4522
 rtnetlink_rcv_msg+0x481/0xc30 net/core/rtnetlink.c:5130
 netlink_rcv_skb+0x17d/0x410 net/netlink/af_netlink.c:2477
 rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5148
 netlink_unicast_kernel net/netlink/af_netlink.c:1310 [inline]
 netlink_unicast+0x574/0x770 net/netlink/af_netlink.c:1336
 netlink_sendmsg+0xa05/0xf90 net/netlink/af_netlink.c:1917
 sock_sendmsg_nosec net/socket.c:621 [inline]
 sock_sendmsg+0xdd/0x130 net/socket.c:631
 ___sys_sendmsg+0x7ec/0x910 net/socket.c:2116
 __sys_sendmsg+0x112/0x270 net/socket.c:2154
 __do_sys_sendmsg net/socket.c:2163 [inline]
 __se_sys_sendmsg net/socket.c:2161 [inline]
 __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2161
 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457ec9
Code: 6d 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 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f336625ac78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457ec9
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000003
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f336625b6d4
R13: 00000000004c5188 R14: 00000000004d8a10 R15: 00000000ffffffff
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (11):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-bpf-kasan-gce 2019/01/04 06:42 bpf a67825f51951 7da23925 .config console log report
ci-upstream-bpf-kasan-gce 2018/12/14 02:26 bpf 7640ead93924 fe7127be .config console log report
ci-upstream-bpf-kasan-gce 2018/12/12 10:22 bpf fdadd04931c2 c3b10a5d .config console log report
ci-upstream-bpf-kasan-gce 2018/12/07 13:05 bpf b2b7af861122 1eb6a7e4 .config console log report
ci-upstream-bpf-kasan-gce 2018/12/01 15:40 bpf d74286d2c25a 5a581673 .config console log report
ci-upstream-bpf-kasan-gce 2018/12/01 00:39 bpf c01ac66b3866 ade12e91 .config console log report
ci-upstream-bpf-kasan-gce 2018/11/29 22:16 bpf 528bff0cdb66 66071e27 .config console log report
ci-upstream-bpf-kasan-gce 2018/11/29 15:21 bpf 528bff0cdb66 4b6d14f2 .config console log report
ci-upstream-net-kasan-gce 2019/04/20 17:18 net-next 5313794b7915 b0e8efcb .config console log report
ci-upstream-net-kasan-gce 2019/02/18 14:15 net-next e511f17b1fb4 59f36113 .config console log report
ci-upstream-net-kasan-gce 2019/01/26 14:30 net-next f859a4484703 c73f090a .config console log report
* Struck through repros no longer work on HEAD.