syzbot


WARNING in ip6_route_info_create

Status: fixed on 2024/01/30 15:47
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+c15aa445274af8674f41@syzkaller.appspotmail.com
Fix commit: a3c205d0560f ipv6: do not check fib6_has_expires() in fib6_info_release()
First crash: 201d, last: 197d
Cause bisection: introduced by (bisect log) :
commit 5a08d0065a915ccf325563d7ca57fa8b4897881c
Author: Eric Dumazet <edumazet@google.com>
Date: Tue Dec 5 17:32:50 2023 +0000

  ipv6: add debug checks in fib6_info_release()

Crash: WARNING in ip6_route_info_create (log)
Repro: C syz .config
  
Discussions (5)
Title Replies (including bot) Last reply
[syzbot] [net?] WARNING in ip6_route_info_create 1 (9) 2024/01/29 23:13
[PATCH net-next v3 1/2] net/ipv6: insert a f6i to a GC list only if the f6i is in a fib6_table tree. 7 (7) 2023/12/18 01:16
[PATCH net-next] ipv6: do not check fib6_has_expires() in fib6_info_release() 4 (4) 2023/12/09 01:30
[PATCH net-next v2 1/2] net/ipv6: insert a f6i to a GC list only if the f6i is in a fib6_table tree. 4 (4) 2023/12/08 23:38
[PATCH net-next] net/ipv6: insert the fib6 gc_link of a fib6_info only if in fib6. 10 (10) 2023/12/08 02:30
Last patch testing requests (7)
Created Duration User Patch Repo Result
2024/01/29 23:13 23m sinquersw@gmail.com https://github.com/ThinkerYzu/linux.git fix-gc-uaf OK log
2024/01/29 22:21 0m sinquersw@gmail.com git@github.com:ThinkerYzu/linux.git fix-gc-uaf error OK
2024/01/29 21:59 1m sinquersw@gmail.com git@github.com:ThinkerYzu/linux.git fix-gc-uaf error OK
2024/01/29 21:26 3m sinquersw@gmail.com git@github.com:ThinkerYzu/linux.git fix-gc-uaf error OK
2023/12/08 00:16 31m sinquersw@gmail.com https://github.com/ThinkerYzu/linux.git fix-fib6_set_expires_locked OK log
2023/12/07 23:49 17m sinquersw@gmail.com https://github.com/ThinkerYzu/linux.git fix-fib6_set_expires_locked error OK
2023/12/07 23:35 0m sinquersw@gmail.com git@github.com:ThinkerYzu/linux.git fix-fib6_set_expires_locked error OK

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5062 at include/net/ip6_fib.h:332 fib6_info_release include/net/ip6_fib.h:332 [inline]
WARNING: CPU: 0 PID: 5062 at include/net/ip6_fib.h:332 ip6_route_info_create+0x1a1a/0x1f10 net/ipv6/route.c:3829
Modules linked in:
CPU: 0 PID: 5062 Comm: syz-executor292 Not tainted 6.7.0-rc3-syzkaller-00805-g5a08d0065a91 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
RIP: 0010:fib6_info_release include/net/ip6_fib.h:332 [inline]
RIP: 0010:ip6_route_info_create+0x1a1a/0x1f10 net/ipv6/route.c:3829
Code: 49 83 7f 40 00 75 28 e8 04 ae 50 f8 49 8d bf a0 00 00 00 48 c7 c6 c0 ae 37 89 e8 41 2c 3a f8 e9 65 f4 ff ff e8 e7 ad 50 f8 90 <0f> 0b 90 eb ad e8 dc ad 50 f8 90 0f 0b 90 eb cd e8 d1 ad 50 f8 e8
RSP: 0018:ffffc900043271b0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000400000 RCX: ffffffff8936e418
RDX: ffff8880249dd940 RSI: ffffffff8936e469 RDI: 0000000000000005
RBP: ffffc900043272a0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000400000 R11: 0000000000000001 R12: ffffffffffffff9c
R13: ffff88801ae6702c R14: ffffc9000432735c R15: ffff88801ae67000
FS:  0000555556690380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000007954e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ip6_route_add+0x26/0x1f0 net/ipv6/route.c:3843
 addrconf_prefix_route+0x2fe/0x510 net/ipv6/addrconf.c:2445
 inet6_addr_add+0x605/0xbe0 net/ipv6/addrconf.c:3012
 inet6_rtm_newaddr+0x11da/0x1ab0 net/ipv6/addrconf.c:4984
 rtnetlink_rcv_msg+0x3c7/0xe00 net/core/rtnetlink.c:6566
 netlink_rcv_skb+0x16b/0x440 net/netlink/af_netlink.c:2544
 netlink_unicast_kernel net/netlink/af_netlink.c:1341 [inline]
 netlink_unicast+0x53b/0x810 net/netlink/af_netlink.c:1367
 netlink_sendmsg+0x8b7/0xd70 net/netlink/af_netlink.c:1909
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg+0xd5/0x180 net/socket.c:745
 ____sys_sendmsg+0x6ac/0x940 net/socket.c:2584
 ___sys_sendmsg+0x135/0x1d0 net/socket.c:2638
 __sys_sendmsg+0x117/0x1e0 net/socket.c:2667
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f3ec29dcf89
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 21 18 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffccbaf31b8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f3ec29dcf89
RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000555556691610
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (241):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/11 10:29 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/11 09:32 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/11 08:32 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/11 06:49 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/11 06:03 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/11 04:17 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/11 04:03 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/11 03:22 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/11 02:46 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 23:48 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 22:46 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 22:06 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 21:03 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 19:37 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 18:17 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 17:27 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 16:50 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 14:57 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 12:11 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 11:30 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 06:00 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 05:14 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 03:02 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 02:13 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 01:22 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 00:34 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 23:49 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 23:13 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 22:36 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 20:51 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 19:06 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 18:26 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 17:30 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 17:07 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 16:15 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 14:45 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 12:15 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 10:05 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 06:28 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 04:46 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/07 22:13 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/07 16:08 net-next 5a08d0065a91 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/07 10:29 net-next 5a08d0065a91 e3299f55 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/11 00:46 net-next 5a08d0065a91 28b24332 .config console log report syz [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/11 11:02 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/11 07:56 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/11 02:43 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/11 01:09 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 17:54 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 13:50 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 10:16 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 08:45 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 07:45 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 07:44 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/10 04:18 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 22:33 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 20:42 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 17:02 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 14:28 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 12:29 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 11:15 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 09:07 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 07:02 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/09 05:47 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/08 23:02 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/08 22:34 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/08 20:36 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/08 18:48 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/08 16:04 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/08 11:37 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/08 08:23 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/08 05:56 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/08 03:54 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/08 02:57 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/08 02:14 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/08 00:39 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/07 22:55 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/07 20:52 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/07 20:14 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/07 20:13 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/07 19:31 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/07 13:13 net-next 5a08d0065a91 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/07 11:25 net-next 5a08d0065a91 e3299f55 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/07 08:15 net-next 5a08d0065a91 e3299f55 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
2023/12/07 07:27 net-next 5a08d0065a91 e3299f55 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in ip6_route_info_create
* Struck through repros no longer work on HEAD.