Hello,
syzbot found the following crash on:
HEAD commit: 7472c402 Linux 4.19.108
git tree: linux-4.19.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=14fbf70de00000
kernel config:
https://syzkaller.appspot.com/x/.config?x=6d889e71eea7bde
dashboard link:
https://syzkaller.appspot.com/bug?extid=6fcd3e62f67b669a80f9
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro:
https://syzkaller.appspot.com/x/repro.syz?x=143fdfa1e00000
C reproducer:
https://syzkaller.appspot.com/x/repro.c?x=113c481de00000
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by:
syzbot+6fcd3e...@syzkaller.appspotmail.com
hsr_slave_1: Device is already in use.
device hsr_slave_1 left promiscuous mode
veth1_vlan: Device is already in use.
------------[ cut here ]------------
WARNING: CPU: 1 PID: 8508 at drivers/net/ipvlan/ipvlan_main.c:65 ipvlan_unregister_nf_hook.cold+0x11/0x1d drivers/net/ipvlan/ipvlan_main.c:65
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 8508 Comm: syz-executor794 Not tainted 4.19.108-syzkaller #0
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+0x188/0x20d lib/dump_stack.c:118
panic+0x26a/0x50e kernel/panic.c:186
__warn.cold+0x20/0x46 kernel/panic.c:541
report_bug+0x262/0x2a0 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+0x1d7/0x310 arch/x86/kernel/traps.c:296
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1037
RIP: 0010:ipvlan_unregister_nf_hook.cold+0x11/0x1d drivers/net/ipvlan/ipvlan_main.c:65
Code: 24 e8 10 c2 53 fd 48 8b 04 24 e9 cc f7 ff ff e8 02 c2 53 fd e9 a5 f7 ff ff e8 58 fb 1d fd 48 c7 c7 40 a2 d4 87 e8 85 19 09 fd <0f> 0b e9 08 d5 ff ff 90 90 90 90 90 53 48 89 fb e8 37 fb 1d fd 48
RSP: 0018:ffff888085036ff0 EFLAGS: 00010282
RAX: 0000000000000024 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8152d2f1 RDI: ffffed1010a06df0
RBP: ffff8880905e8040 R08: 0000000000000024 R09: ffffed1015ce5079
R10: ffffed1015ce5078 R11: ffff8880ae7283c7 R12: ffff8880a95dc680
R13: ffff888091f53240 R14: 0000000000000001 R15: 0000000000001002
ipvlan_set_port_mode+0x538/0x650 drivers/net/ipvlan/ipvlan_main.c:106
ipvlan_link_new+0x68d/0xc40 drivers/net/ipvlan/ipvlan_main.c:679
rtnl_newlink+0xf03/0x1440 net/core/rtnetlink.c:3141
rtnetlink_rcv_msg+0x453/0xaf0 net/core/rtnetlink.c:4777
netlink_rcv_skb+0x160/0x410 net/netlink/af_netlink.c:2455
netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
netlink_unicast+0x4d7/0x6a0 net/netlink/af_netlink.c:1344
netlink_sendmsg+0x80b/0xcd0 net/netlink/af_netlink.c:1909
sock_sendmsg_nosec net/socket.c:622 [inline]
sock_sendmsg+0xcf/0x120 net/socket.c:632
___sys_sendmsg+0x803/0x920 net/socket.c:2115
__sys_sendmsg+0xec/0x1b0 net/socket.c:2153
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x445659
Code: e8 9c 0b 03 00 48 83 c4 18 c3 0f 1f 80 00 00 00 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 0f 83 eb 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffe6bf60ba8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000445659
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000030
R13: 0000000000406460 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..
---
This bug is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this bug, for details see:
https://goo.gl/tpsmEJ#testing-patches