R13: 00007fa0ac46fbc8 R14: 00000000004b767a R15: 0000000000000000 ------------[ cut here ]------------ kobject_add_internal failed for bpq0 (error: -12 parent: net) WARNING: CPU: 1 PID: 13714 at lib/kobject.c:242 kobject_add_internal+0x3f6/0xbc0 lib/kobject.c:240 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 13714 Comm: syz-executor2 Not tainted 4.15.0-rc7-next-20180109+ #92 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:178 fixup_bug arch/x86/kernel/traps.c:247 [inline] do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:296 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315 invalid_op+0x22/0x40 arch/x86/entry/entry_64.S:1079 RIP: 0010:kobject_add_internal+0x3f6/0xbc0 lib/kobject.c:240 RSP: 0018:ffff8801cfb9f670 EFLAGS: 00010282 RAX: dffffc0000000008 RBX: ffff8801c3da8b58 RCX: ffffffff815a23ee RDX: 0000000000010000 RSI: ffffc90003e45000 RDI: 0000000000000246 RBP: ffff8801cfb9f768 R08: 1ffff10039f73e61 R09: 0000000000000000 R10: ffff8801cfb9f430 R11: 0000000000000000 R12: 1ffff10039f73ed4 R13: 00000000fffffff4 R14: ffff8801d82e4780 R15: ffffffff86209080 kobject_add_varg lib/kobject.c:364 [inline] kobject_add+0x132/0x1f0 lib/kobject.c:409 device_add+0x35d/0x1650 drivers/base/core.c:1785 netdev_register_kobject+0x183/0x360 net/core/net-sysfs.c:1604 register_netdevice+0xb41/0x1020 net/core/dev.c:7842 tun_set_iff drivers/net/tun.c:2412 [inline] __tun_chr_ioctl+0x1cb2/0x3f20 drivers/net/tun.c:2636 tun_chr_ioctl+0x2a/0x40 drivers/net/tun.c:2889 vfs_ioctl fs/ioctl.c:46 [inline] do_vfs_ioctl+0x1b1/0x1520 fs/ioctl.c:686 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692 entry_SYSCALL_64_fastpath+0x23/0x9a RIP: 0033:0x452ac9 RSP: 002b:00007fa0ac46fc58 EFLAGS: 00000212 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fa0ac46faa0 RCX: 0000000000452ac9 RDX: 0000000020b2a000 RSI: 00000000400454ca RDI: 0000000000000014 RBP: 00007fa0ac46fa90 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b767a R13: 00007fa0ac46fbc8 R14: 00000000004b767a R15: 0000000000000000 Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled