syzbot


general protection fault in find_match (2)

Status: auto-closed as invalid on 2021/06/26 04:02
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+b08cdcfff539328e6c32@syzkaller.appspotmail.com
First crash: 1187d, last: 1117d
Discussions (1)
Title Replies (including bot) Last reply
general protection fault in find_match (2) 0 (1) 2020/12/22 08:36
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in find_match net C done error 10 1493d 1680d 0/26 closed as invalid on 2020/04/17 19:54
upstream general protection fault in find_match (3) net 2 525d 567d 0/26 auto-obsoleted due to no activity on 2023/01/16 14:40
upstream general protection fault in find_match (4) net 1 209d 205d 0/26 auto-obsoleted due to no activity on 2023/11/20 22:29
linux-4.19 general protection fault in find_match C error 1 910d 1608d 0/1 upstream: reported C repro on 2019/10/23 12:46

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc000000004c: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000260-0x0000000000000267]
CPU: 0 PID: 1466 Comm: syz-executor.1 Not tainted 5.11.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:ip6_ignore_linkdown include/net/addrconf.h:407 [inline]
RIP: 0010:find_match.part.0+0xcc/0xc60 net/ipv6/route.c:755
Code: f9 0f b6 45 c0 84 c0 0f 84 30 04 00 00 e8 7c a0 c0 f9 49 8d bf 60 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 88 06 00 00 45 8b bf 60 02 00
RSP: 0018:ffffc9000193f000 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff8880126546a0 RCX: ffffc9000af1a000
RDX: 000000000000004c RSI: ffffffff87b237a4 RDI: 0000000000000260
RBP: ffffc9000193f070 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff87b23c07 R11: 0000000000000000 R12: 0000000000000003
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f9a60cd2700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2df23000 CR3: 000000002dbdc000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 find_match net/ipv6/route.c:842 [inline]
 __find_rr_leaf+0x17f/0xd10 net/ipv6/route.c:843
 find_rr_leaf net/ipv6/route.c:864 [inline]
 rt6_select net/ipv6/route.c:908 [inline]
 fib6_table_lookup+0x5b3/0xa20 net/ipv6/route.c:2195
 ip6_pol_route+0x1e1/0x11c0 net/ipv6/route.c:2231
 pol_lookup_func include/net/ip6_fib.h:579 [inline]
 fib6_rule_lookup+0x111/0x6f0 net/ipv6/fib6_rules.c:115
 ip6_route_output_flags_noref+0x2e2/0x380 net/ipv6/route.c:2512
 ip6_route_output_flags+0x8b/0x310 net/ipv6/route.c:2525
 ip6_route_output include/net/ip6_route.h:98 [inline]
 ip6_dst_lookup_tail+0xb6e/0x1740 net/ipv6/ip6_output.c:1064
 ip6_dst_lookup_flow+0x8c/0x1d0 net/ipv6/ip6_output.c:1194
 ip6_sk_dst_lookup_flow+0x598/0x9d0 net/ipv6/ip6_output.c:1232
 udpv6_sendmsg+0x18f0/0x2c40 net/ipv6/udp.c:1507
 inet6_sendmsg+0x99/0xe0 net/ipv6/af_inet6.c:642
 sock_sendmsg_nosec net/socket.c:652 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:672
 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2348
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2402
 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2435
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x465ef9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9a60cd2188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465ef9
RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000004
RBP: 00000000004bcd1c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60
R13: 00007ffee84e345f R14: 00007f9a60cd2300 R15: 0000000000022000
Modules linked in:
---[ end trace 9bdbb7afd2098aaf ]---
RIP: 0010:ip6_ignore_linkdown include/net/addrconf.h:407 [inline]
RIP: 0010:find_match.part.0+0xcc/0xc60 net/ipv6/route.c:755
Code: f9 0f b6 45 c0 84 c0 0f 84 30 04 00 00 e8 7c a0 c0 f9 49 8d bf 60 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 88 06 00 00 45 8b bf 60 02 00
RSP: 0018:ffffc9000193f000 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff8880126546a0 RCX: ffffc9000af1a000
RDX: 000000000000004c RSI: ffffffff87b237a4 RDI: 0000000000000260
RBP: ffffc9000193f070 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff87b23c07 R11: 0000000000000000 R12: 0000000000000003
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f9a60cd2700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000053b198 CR3: 000000002dbdc000 CR4: 00000000001506e0
DR0: 0000000000000436 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/02/26 04:01 bpf 557c223b643a 76f7fc95 .config console log report info ci-upstream-bpf-kasan-gce general protection fault in find_match
2021/01/25 00:44 bpf b9557caaf872 52e37319 .config console log report info ci-upstream-bpf-kasan-gce general protection fault in find_match
2020/12/21 05:19 bpf-next 3db1a3fa9880 04201c06 .config console log report info ci-upstream-bpf-next-kasan-gce
2020/12/17 21:45 bpf-next 3db1a3fa9880 04201c06 .config console log report info ci-upstream-bpf-next-kasan-gce
* Struck through repros no longer work on HEAD.