RAX: ffffffffffffffda RBX: 000000000071bf00 RCX: 0000000000457879 RDX: 0000000020000080 RSI: 00000000000089f1 RDI: 0000000000000006 RBP: 00007fe93e0abca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000007 R13: 00000000006e6fd8 R14: 00000000004b1840 R15: 00007fe93e0ac6d4 ------------[ cut here ]------------ kernel BUG at net/core/net-sysfs.c:1631! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 6835 Comm: syz-executor.3 Not tainted 5.0.0+ #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014 RIP: 0010:netdev_release+0x71/0x90 net/core/net-sysfs.c:1631 Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 22 48 8b bb 80 fa ff ff e8 3c ee 6d fc 4c 89 e7 e8 b4 77 f6 ff 5b 41 5c 5d c3 <0f> 0b e8 a8 27 6e fc eb ba e8 01 28 6e fc eb d7 0f 1f 44 00 00 66 RSP: 0018:ffff888071bd7738 EFLAGS: 00010297 RAX: 0000000000000000 RBX: ffff88802b7ef220 RCX: 0000000000000000 RDX: 1ffff110056fde3d RSI: ffff888071bd76b8 RDI: ffff88802b7ef1e8 RBP: ffff888071bd7748 R08: 0000000000000006 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88802b7eec80 R13: 0000000000000000 R14: ffffffff87daaf80 R15: ffff88802b7eec80 FS: 00007fe93e0ac700(0000) GS:ffff88802d800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2af903d000 CR3: 000000007b3a6000 CR4: 00000000007406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 PKRU: 55555554 Call Trace: device_release+0x74/0x1d0 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.9+0x22e/0x281 lib/kobject.c:708 put_device+0x12/0x20 drivers/base/core.c:2205 netdev_register_kobject+0x179/0x360 net/core/net-sysfs.c:1763 register_netdevice+0x6e8/0x1100 net/core/dev.c:8711 ip6_tnl_create2+0x144/0x270 net/ipv6/ip6_tunnel.c:269 ip6_tnl_create net/ipv6/ip6_tunnel.c:320 [inline] ip6_tnl_locate+0x524/0x780 net/ipv6/ip6_tunnel.c:368 ip6_tnl_ioctl+0x3ee/0x890 net/ipv6/ip6_tunnel.c:1634 dev_ifsioc+0x294/0x720 net/core/dev_ioctl.c:322 dev_ioctl+0x57e/0xad0 net/core/dev_ioctl.c:513 sock_ioctl+0x3be/0x510 net/socket.c:1102 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0x199/0x10d0 fs/ioctl.c:696 ksys_ioctl+0x62/0x90 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x6e/0xb0 fs/ioctl.c:718 do_syscall_64+0xd6/0x4e0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457879 Code: 8d b5 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 5b b5 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fe93e0abc88 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000071bf00 RCX: 0000000000457879 RDX: 0000000020000080 RSI: 00000000000089f1 RDI: 0000000000000006 RBP: 00007fe93e0abca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000007 R13: 00000000006e6fd8 R14: 00000000004b1840 R15: 00007fe93e0ac6d4 Modules linked in: ---[ end trace 1e6882502cec0892 ]--- RIP: 0010:netdev_release+0x71/0x90 net/core/net-sysfs.c:1631 Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 22 48 8b bb 80 fa ff ff e8 3c ee 6d fc 4c 89 e7 e8 b4 77 f6 ff 5b 41 5c 5d c3 <0f> 0b e8 a8 27 6e fc eb ba e8 01 28 6e fc eb d7 0f 1f 44 00 00 66 RSP: 0018:ffff888071bd7738 EFLAGS: 00010297 RAX: 0000000000000000 RBX: ffff88802b7ef220 RCX: 0000000000000000 RDX: 1ffff110056fde3d RSI: ffff888071bd76b8 RDI: ffff88802b7ef1e8 RBP: ffff888071bd7748 R08: 0000000000000006 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88802b7eec80 R13: 0000000000000000 R14: ffffffff87daaf80 R15: ffff88802b7eec80 FS: 00007fe93e0ac700(0000) GS:ffff88802d800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc384bb7190 CR3: 000000007b3a6000 CR4: 00000000007406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 PKRU: 55555554