kobject_add_internal failed for pim6reg (error: -12 parent: net) WARNING: CPU: 1 PID: 653 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: 653 Comm: syz-executor3 Not tainted 4.15.0+ #219 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:1097 RIP: 0010:kobject_add_internal+0x3f6/0xbc0 lib/kobject.c:242 RSP: 0018:ffff8801b19bf040 EFLAGS: 00010282 RAX: dffffc0000000008 RBX: ffff8801bdc3ae68 RCX: ffffffff815a4c6e RDX: 0000000000010000 RSI: ffffc900049ba000 RDI: ffff8801db51f6d8 RBP: ffff8801b19bf138 R08: 1ffff10036337d85 R09: 0000000000000000 R10: ffff8801b19bee00 R11: 0000000000000000 R12: 1ffff10036337e0e R13: 00000000fffffff4 R14: ffff8801d8432300 R15: ffffffff8640d180 kobject_add_varg lib/kobject.c:366 [inline] kobject_add+0x132/0x1f0 lib/kobject.c:411 device_add+0x35d/0x1650 drivers/base/core.c:1787 netdev_register_kobject+0x183/0x360 net/core/net-sysfs.c:1604 register_netdevice+0xb41/0x1020 net/core/dev.c:7881 ip6mr_reg_vif net/ipv6/ip6mr.c:755 [inline] mif6_add net/ipv6/ip6mr.c:950 [inline] ip6_mroute_setsockopt+0x900/0x35b0 net/ipv6/ip6mr.c:1709 do_ipv6_setsockopt.isra.8+0x2f0/0x39d0 net/ipv6/ipv6_sockglue.c:163 ipv6_setsockopt+0xd7/0x150 net/ipv6/ipv6_sockglue.c:922 rawv6_setsockopt+0x4a/0xf0 net/ipv6/raw.c:1060 sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2978 SYSC_setsockopt net/socket.c:1849 [inline] SyS_setsockopt+0x189/0x360 net/socket.c:1828 entry_SYSCALL_64_fastpath+0x29/0xa0 RIP: 0033:0x453299 RSP: 002b:00007f05e4fe2c58 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f05e4fe2aa0 RCX: 0000000000453299 RDX: 00000000000000ca RSI: 0000000000000029 RDI: 0000000000000014 RBP: 00007f05e4fe2a90 R08: 000000000000000c R09: 0000000000000000 R10: 0000000020fb1000 R11: 0000000000000212 R12: 00000000004b8096 R13: 00007f05e4fe2bc8 R14: 00000000004b8096 R15: 0000000000000000 Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..