R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ------------[ cut here ]------------ kernel BUG at net/core/net-sysfs.c:1631! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8134 Comm: syz-executor.3 Not tainted 5.1.0-rc5 #68 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:ffff88805cd6f748 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff888064c14620 RCX: ffffc9000c45a000 RDX: 0000000000040000 RSI: ffffffff8586b262 RDI: 0000000000000001 RBP: ffff88805cd6f760 R08: ffff88806482e180 R09: ffff88806482ea20 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff888064c14080 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae800000(0063) knlGS:00000000f5dc3b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f5db0db0 CR3: 00000000a4ca7000 CR4: 00000000001406f0 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 ip6_tnl_create2+0x1c2/0x350 net/ipv6/ip6_tunnel.c:269 ip6_tnl_create net/ipv6/ip6_tunnel.c:320 [inline] ip6_tnl_locate+0x63f/0x8d0 net/ipv6/ip6_tunnel.c:368 ip6_tnl_ioctl+0x490/0xab0 net/ipv6/ip6_tunnel.c:1634 dev_ifsioc+0x257/0x990 net/core/dev_ioctl.c:322 dev_ioctl+0x1cc/0xe30 net/core/dev_ioctl.c:513 compat_ifr_data_ioctl+0xfb/0x160 net/socket.c:3136 compat_sock_ioctl_trans net/socket.c:3358 [inline] compat_sock_ioctl+0x400/0x1ed0 net/socket.c:3442 __do_compat_sys_ioctl fs/compat_ioctl.c:1052 [inline] __se_compat_sys_ioctl fs/compat_ioctl.c:998 [inline] __ia32_compat_sys_ioctl+0x197/0x620 fs/compat_ioctl.c:998 do_syscall_32_irqs_on arch/x86/entry/common.c:326 [inline] do_fast_syscall_32+0x281/0xc98 arch/x86/entry/common.c:397 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7fc7869 Code: 85 d2 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 14 24 c3 8b 3c 24 c3 90 90 90 90 90 90 90 90 90 90 90 90 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:00000000f5dc30cc EFLAGS: 00000296 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00000000000089f1 RDX: 0000000020000080 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: ---[ end trace bcc2a95b6bf78d23 ]--- 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:ffff88805cd6f748 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff888064c14620 RCX: ffffc9000c45a000 RDX: 0000000000040000 RSI: ffffffff8586b262 RDI: 0000000000000001 RBP: ffff88805cd6f760 R08: ffff88806482e180 R09: ffff88806482ea20 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff888064c14080 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae800000(0063) knlGS:00000000f5dc3b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000008350004 CR3: 00000000a4ca7000 CR4: 00000000001406f0