RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ------------[ cut here ]------------ kobject_add_internal failed for 0`” (error: -12 parent: net) WARNING: CPU: 1 PID: 18418 at lib/kobject.c:244 kobject_add_internal+0x3f6/0xbc0 lib/kobject.c:242 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 18418 Comm: syz-executor4 Not tainted 4.14.0+ #101 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:53 panic+0x1e4/0x41c kernel/panic.c:183 __warn+0x1dc/0x200 kernel/panic.c:547 report_bug+0x211/0x2d0 lib/bug.c:184 fixup_bug.part.11+0x37/0x80 arch/x86/kernel/traps.c:177 fixup_bug arch/x86/kernel/traps.c:246 [inline] do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:295 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314 invalid_op+0x18/0x20 arch/x86/entry/entry_64.S:926 RIP: 0010:kobject_add_internal+0x3f6/0xbc0 lib/kobject.c:242 RSP: 0018:ffff8801d1ddf6c0 EFLAGS: 00010286 RAX: dffffc0000000008 RBX: ffff8801d8dbae30 RCX: ffffffff8159bf1e RDX: 0000000000010000 RSI: ffffc90003a83000 RDI: 0000000000000246 RBP: ffff8801d1ddf7b8 R08: 1ffff1003a3bbe6b R09: 0000000000000000 R10: ffff8801a10aa480 R11: 0000000000000000 R12: 1ffff1003a3bbede R13: 00000000fffffff4 R14: ffff8801d786bc00 R15: ffffffff857d7b60 kobject_add_varg lib/kobject.c:366 [inline] kobject_add+0x132/0x1f0 lib/kobject.c:411 device_add+0x355/0x1640 drivers/base/core.c:1787 netdev_register_kobject+0x183/0x360 net/core/net-sysfs.c:1604 register_netdevice+0xb2b/0x1010 net/core/dev.c:7693 tun_set_iff drivers/net/tun.c:2305 [inline] __tun_chr_ioctl+0x1c96/0x3ce0 drivers/net/tun.c:2508 tun_chr_compat_ioctl+0x29/0x30 drivers/net/tun.c:2785 C_SYSC_ioctl fs/compat_ioctl.c:1473 [inline] compat_SyS_ioctl+0x151/0x2a30 fs/compat_ioctl.c:1419 do_syscall_32_irqs_on arch/x86/entry/common.c:327 [inline] do_fast_syscall_32+0x3ee/0xf9d arch/x86/entry/common.c:389 entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:125 RIP: 0023:0xf7f4bc79 RSP: 002b:00000000f774701c EFLAGS: 00000296 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000019 RCX: 00000000400454ca RDX: 0000000020511fd8 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled