RAX: ffffffffffffffda RBX: 00007f12b59bbc90 RCX: 0000000000458c29 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000004 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f12b59bc6d4 R13: 00000000004c6516 R14: 00000000004dae80 R15: 0000000000000005 ------------[ cut here ]------------ kernel BUG at net/core/net-sysfs.c:1631! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 15341 Comm: syz-executor.4 Not tainted 5.1.0-rc5+ #69 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:netdev_release net/core/net-sysfs.c:1631 [inline] RIP: 0010:netdev_release+0x92/0xb0 net/core/net-sysfs.c:1627 Code: 48 c1 ea 03 80 3c 02 00 75 29 48 8b bb 80 fa ff ff e8 72 af 21 fc 4c 89 ef e8 9a c2 f5 ff 5b 41 5c 41 5d 5d c3 e8 4e da e9 fb <0f> 0b e8 97 e9 21 fc eb 9c e8 f0 e9 21 fc eb d0 0f 1f 40 00 66 2e RSP: 0018:ffff8880575eef08 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff888094cfd320 RCX: ffffc9000e64f000 RDX: 0000000000040000 RSI: ffffffff8586b262 RDI: 0000000000000001 RBP: ffff8880575eef20 R08: ffff8880a50fa180 R09: ffff8880a50faa20 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff888094cfcd80 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f12b59bc700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f47fd59e000 CR3: 000000008e44f000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: device_release+0x7d/0x210 drivers/base/core.c:1064 kobject_cleanup lib/kobject.c:662 [inline] kobject_release lib/kobject.c:691 [inline] kref_put include/linux/kref.h:67 [inline] kobject_put.cold+0x28f/0x2ec lib/kobject.c:708 put_device+0x20/0x30 drivers/base/core.c:2205 netdev_register_kobject+0x1a1/0x3c0 net/core/net-sysfs.c:1763 register_netdevice+0x878/0xff0 net/core/dev.c:8713 ipip6_tunnel_create+0x402/0x610 net/ipv6/sit.c:212 ipip6_newlink+0x147/0x350 net/ipv6/sit.c:1588 __rtnl_newlink+0x107b/0x16c0 net/core/rtnetlink.c:3176 rtnl_newlink+0x69/0xa0 net/core/rtnetlink.c:3234 rtnetlink_rcv_msg+0x465/0xb00 net/core/rtnetlink.c:5192 netlink_rcv_skb+0x17a/0x460 net/netlink/af_netlink.c:2485 rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5210 netlink_unicast_kernel net/netlink/af_netlink.c:1310 [inline] netlink_unicast+0x536/0x720 net/netlink/af_netlink.c:1336 netlink_sendmsg+0x8ae/0xd70 net/netlink/af_netlink.c:1925 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xdd/0x130 net/socket.c:661 ___sys_sendmsg+0x806/0x930 net/socket.c:2260 __sys_sendmsg+0x105/0x1d0 net/socket.c:2298 __do_sys_sendmsg net/socket.c:2307 [inline] __se_sys_sendmsg net/socket.c:2305 [inline] __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2305 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458c29 Code: ad b8 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 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f12b59bbc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f12b59bbc90 RCX: 0000000000458c29 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000004 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f12b59bc6d4 R13: 00000000004c6516 R14: 00000000004dae80 R15: 0000000000000005 Modules linked in: ---[ end trace 6a0a5a4aa0f46295 ]--- RIP: 0010:netdev_release net/core/net-sysfs.c:1631 [inline] RIP: 0010:netdev_release+0x92/0xb0 net/core/net-sysfs.c:1627 Code: 48 c1 ea 03 80 3c 02 00 75 29 48 8b bb 80 fa ff ff e8 72 af 21 fc 4c 89 ef e8 9a c2 f5 ff 5b 41 5c 41 5d 5d c3 e8 4e da e9 fb <0f> 0b e8 97 e9 21 fc eb 9c e8 f0 e9 21 fc eb d0 0f 1f 40 00 66 2e RSP: 0018:ffff8880575eef08 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff888094cfd320 RCX: ffffc9000e64f000 RDX: 0000000000040000 RSI: ffffffff8586b262 RDI: 0000000000000001 RBP: ffff8880575eef20 R08: ffff8880a50fa180 R09: ffff8880a50faa20 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff888094cfcd80 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f12b59bc700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9f108db848 CR3: 000000008e44f000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400