Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x185/0x1d0 lib/dump_stack.c:113 kernfs: ns required in 'ieee80211' for 'phy209' fail_dump lib/fault-inject.c:51 [inline] should_fail+0x87b/0xab0 lib/fault-inject.c:149 __should_failslab+0x278/0x2a0 mm/failslab.c:32 WARNING: CPU: 0 PID: 19707 at fs/kernfs/dir.c:759 kernfs_add_one+0x675/0xab0 fs/kernfs/dir.c:758 should_failslab+0x29/0x70 mm/slab_common.c:1522 Kernel panic - not syncing: panic_on_warn set ... slab_pre_alloc_hook mm/slab.h:423 [inline] slab_alloc_node mm/slub.c:2679 [inline] kmem_cache_alloc_node+0x15e/0xc90 mm/slub.c:2795 __alloc_skb+0x202/0x9e0 net/core/skbuff.c:194 alloc_skb include/linux/skbuff.h:988 [inline] netlink_alloc_large_skb net/netlink/af_netlink.c:1182 [inline] netlink_sendmsg+0x76e/0x1350 net/netlink/af_netlink.c:1876 sock_sendmsg_nosec net/socket.c:629 [inline] sock_sendmsg net/socket.c:639 [inline] ___sys_sendmsg+0xec0/0x1310 net/socket.c:2117 __sys_sendmsg net/socket.c:2155 [inline] __do_sys_sendmsg net/socket.c:2164 [inline] __se_sys_sendmsg net/socket.c:2162 [inline] __x64_sys_sendmsg+0x331/0x460 net/socket.c:2162 do_syscall_64+0x152/0x230 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x455a09 RSP: 002b:00007f35f78bcc68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f35f78bd6d4 RCX: 0000000000455a09 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000014 R13: 00000000000005ab R14: 00000000006fd8a8 R15: 0000000000000000 CPU: 0 PID: 19707 Comm: syz-executor3 Not tainted 4.17.0-rc5+ #103 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x185/0x1d0 lib/dump_stack.c:113 panic+0x39d/0x940 kernel/panic.c:184 __warn+0x40f/0x580 kernel/panic.c:536 report_bug+0x72a/0x880 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:179 [inline] do_error_trap+0x1c1/0x620 arch/x86/kernel/traps.c:298 do_invalid_op+0x46/0x50 arch/x86/kernel/traps.c:317 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:992 RIP: 0010:kernfs_add_one+0x675/0xab0 fs/kernfs/dir.c:758 RSP: 0018:ffff88017916ef48 EFLAGS: 00010282 RAX: 000000000000002f RBX: ffff8801972c5888 RCX: 0000000000000000 RDX: ffffc900027a0000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffff88017916eff0 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: ffff880138dc08d8 R13: 0000000000000000 R14: 0000000000000000 R15: ffff8801cb135bc0 kernfs_create_link+0x1e0/0x320 fs/kernfs/symlink.c:41 sysfs_do_create_link_sd+0x19d/0x360 fs/sysfs/symlink.c:43 sysfs_do_create_link fs/sysfs/symlink.c:79 [inline] sysfs_create_link+0x125/0x190 fs/sysfs/symlink.c:91 device_add_class_symlinks drivers/base/core.c:1612 [inline] device_add+0x157d/0x2cb0 drivers/base/core.c:1810 wiphy_register+0x2475/0x3180 net/wireless/core.c:809 ieee80211_register_hw+0x39ab/0x49d0 net/mac80211/main.c:1047 mac80211_hwsim_new_radio+0x2e99/0x4cf0 drivers/net/wireless/mac80211_hwsim.c:2772 hwsim_new_radio_nl+0xa8d/0xda0 drivers/net/wireless/mac80211_hwsim.c:3247 genl_family_rcv_msg net/netlink/genetlink.c:599 [inline] genl_rcv_msg+0x16b1/0x1840 net/netlink/genetlink.c:624 netlink_rcv_skb+0x378/0x600 net/netlink/af_netlink.c:2448 genl_rcv+0x63/0x80 net/netlink/genetlink.c:635 netlink_unicast_kernel net/netlink/af_netlink.c:1310 [inline] netlink_unicast+0x1678/0x1750 net/netlink/af_netlink.c:1336 netlink_sendmsg+0x104f/0x1350 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:629 [inline] sock_sendmsg net/socket.c:639 [inline] ___sys_sendmsg+0xec0/0x1310 net/socket.c:2117 __sys_sendmsg net/socket.c:2155 [inline] __do_sys_sendmsg net/socket.c:2164 [inline] __se_sys_sendmsg net/socket.c:2162 [inline] __x64_sys_sendmsg+0x331/0x460 net/socket.c:2162 do_syscall_64+0x152/0x230 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x455a09 RSP: 002b:00007faf72e35c68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007faf72e366d4 RCX: 0000000000455a09 RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000014 R13: 00000000000005ce R14: 00000000006fdbf0 R15: 000000000000002b Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..