syzbot


general protection fault in ipvlan_find_addr

Status: auto-closed as invalid on 2020/10/28 13:32
Subsystems: net
[Documentation on labels]
First crash: 1359d, last: 1359d

Sample crash report:
device ipvlan174 entered promiscuous mode
general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]
CPU: 0 PID: 31749 Comm: syz-executor.5 Not tainted 5.8.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:addr_equal drivers/net/ipvlan/ipvlan_core.c:58 [inline]
RIP: 0010:ipvlan_find_addr+0x121/0x3c0 drivers/net/ipvlan/ipvlan_core.c:111
Code: 00 0f 85 45 02 00 00 4d 8b 64 24 28 49 83 ec 28 4d 39 e6 0f 84 95 01 00 00 e8 5b d0 bc fc 49 8d 7c 24 38 48 89 f8 48 c1 e8 03 <0f> b6 04 28 84 c0 74 08 3c 03 0f 8e 08 02 00 00 31 ff 44 89 ee 41
RSP: 0018:ffffc900047aeb38 EFLAGS: 00010202
RAX: 0000000000000002 RBX: 10aaaa3001aaaafe RCX: ffffc90013fcf000
RDX: 0000000000040000 RSI: ffffffff84b6ecb5 RDI: 0000000000000010
RBP: dffffc0000000000 R08: 0000000000000000 R09: ffffffff8c59aa27
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffffffffd8
R13: 0000000000000001 R14: ffff888041a02bc0 R15: ffffc900047aed08
FS:  0000000000000000(0000) GS:ffff8880ae600000(0063) knlGS:00000000f5d7eb40
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000213501000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ipvlan_addr_busy+0xfc/0x220 drivers/net/ipvlan/ipvlan_core.c:127
 ipvlan_addr6_validator_event+0x111/0x1c0 drivers/net/ipvlan/ipvlan_main.c:892
 notifier_call_chain+0xb5/0x200 kernel/notifier.c:83
 __blocking_notifier_call_chain kernel/notifier.c:284 [inline]
 __blocking_notifier_call_chain kernel/notifier.c:271 [inline]
 blocking_notifier_call_chain kernel/notifier.c:295 [inline]
 blocking_notifier_call_chain+0x67/0x90 kernel/notifier.c:292
 ipv6_add_addr+0x1297/0x1ec0 net/ipv6/addrconf.c:1075
 addrconf_add_linklocal+0x1d6/0x5a0 net/ipv6/addrconf.c:3153
 addrconf_addr_gen+0x39b/0x3e0 net/ipv6/addrconf.c:3284
 addrconf_dev_config+0x27e/0x420 net/ipv6/addrconf.c:3331
 addrconf_notify+0x362/0x2310 net/ipv6/addrconf.c:3564
 notifier_call_chain+0xb5/0x200 kernel/notifier.c:83
 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2027
 call_netdevice_notifiers_extack net/core/dev.c:2039 [inline]
 call_netdevice_notifiers net/core/dev.c:2053 [inline]
 __dev_notify_flags+0x110/0x2b0 net/core/dev.c:8316
 rtnl_configure_link+0x16b/0x230 net/core/rtnetlink.c:3031
 __rtnl_newlink+0x10bb/0x1750 net/core/rtnetlink.c:3358
 rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3398
 rtnetlink_rcv_msg+0x44e/0xad0 net/core/rtnetlink.c:5461
 netlink_rcv_skb+0x15a/0x430 net/netlink/af_netlink.c:2469
 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline]
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1329
 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1918
 sock_sendmsg_nosec net/socket.c:652 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:672
 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2352
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2406
 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2439
 do_syscall_32_irqs_on+0x3f/0x60 arch/x86/entry/common.c:428
 __do_fast_syscall_32 arch/x86/entry/common.c:475 [inline]
 do_fast_syscall_32+0x7f/0x120 arch/x86/entry/common.c:503
 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c
RIP: 0023:0xf7f83569
Code: 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 002b:00000000f5d7e0cc EFLAGS: 00000296 ORIG_RAX: 0000000000000172
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000020000480
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/30 13:25 upstream d3590ebf6f91 233283a1 .config console log report ci-upstream-kasan-gce-386
* Struck through repros no longer work on HEAD.