kstrdup+0x36/0x70 mm/util.c:56 kasan: GPF could be caused by NULL-ptr deref or user memory access call_modprobe kernel/kmod.c:84 [inline] __request_module+0x214/0x900 kernel/kmod.c:171 general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 26268 Comm: syz-executor.3 Not tainted 4.14.228-syzkaller #0 inet_create net/ipv4/af_inet.c:291 [inline] inet_create+0xae1/0xca0 net/ipv4/af_inet.c:244 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 __sock_create+0x303/0x620 net/socket.c:1275 task: ffff88809b69a400 task.stack: ffff888059d30000 sock_create net/socket.c:1315 [inline] SYSC_socket net/socket.c:1345 [inline] SyS_socket+0xd1/0x1b0 net/socket.c:1325 RIP: 0010:nla_len include/net/netlink.h:706 [inline] RIP: 0010:nla_parse_nested include/net/netlink.h:765 [inline] RIP: 0010:nl802154_del_llsec_devkey+0x149/0x330 net/ieee802154/nl802154.c:1943 RSP: 0018:ffff888059d376a0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88823a0a1540 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff86dab683 RDI: ffff88823a0a1660 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 RBP: 1ffff1100b3a6ed6 R08: 0000000000000001 R09: ffff888059d37990 entry_SYSCALL_64_after_hwframe+0x46/0xbb R10: ffff888059d376af R11: ffff88809b69a400 R12: ffff8882382dcec0 RIP: 0033:0x466459 R13: ffff8880abb30f10 R14: ffffffff886f3930 R15: ffff888093740a40 RSP: 002b:00007f6e3e3e9188 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 FS: 00007fe0f3a9b700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459 CR2: 00007f01da7c7d30 CR3: 000000009b425000 CR4: 00000000001406e0 RDX: 0000000000000001 RSI: 0000000000000005 RDI: 0000000000000002 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 RBP: 00007f6e3e3e91d0 R08: 0000000000000000 R09: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 Call Trace: R13: 00007ffde5146f9f R14: 00007f6e3e3e9300 R15: 0000000000022000 genl_family_rcv_msg+0x572/0xb20 net/netlink/genetlink.c:600 genl_rcv_msg+0xaf/0x140 net/netlink/genetlink.c:625 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433 genl_rcv+0x24/0x40 net/netlink/genetlink.c:636 CPU: 0 PID: 26276 Comm: syz-executor.1 Not tainted 4.14.228-syzkaller #0 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline] netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313 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+0x1b2/0x281 lib/dump_stack.c:58 netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0x10a/0x149 lib/fault-inject.c:149 should_failslab+0xd6/0x130 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc mm/slab.c:3376 [inline] kmem_cache_alloc_trace+0x29a/0x3d0 mm/slab.c:3616 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 kmalloc include/linux/slab.h:488 [inline] kzalloc include/linux/slab.h:661 [inline] sctp_endpoint_init net/sctp/endpointola.c:66 [inline] sctp_endpoint_new+0xda/0xcd0 net/sctp/endpointola.c:196 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062 sctp_init_sock+0xb3f/0x1240 net/sctp/socket.c:4438 inet_create net/ipv4/af_inet.c:376 [inline] inet_create+0x7a9/0xca0 net/ipv4/af_inet.c:244 __sock_create+0x303/0x620 net/socket.c:1275 sock_create net/socket.c:1315 [inline] SYSC_socket net/socket.c:1345 [inline] SyS_socket+0xd1/0x1b0 net/socket.c:1325 __sys_sendmsg+0xa3/0x120 net/socket.c:2096 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb SYSC_sendmsg net/socket.c:2107 [inline] SyS_sendmsg+0x27/0x40 net/socket.c:2103 RIP: 0033:0x466459 RSP: 002b:00007f6497965188 EFLAGS: 00000246 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459 entry_SYSCALL_64_after_hwframe+0x46/0xbb RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000002 RIP: 0033:0x466459 RBP: 00007f64979651d0 R08: 0000000000000000 R09: 0000000000000000 RSP: 002b:00007fe0f3a9b188 EFLAGS: 00000246 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 ORIG_RAX: 000000000000002e R13: 00007ffee8e5fb9f R14: 00007f6497965300 R15: 0000000000022000 RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 0000000000466459 RDX: 000000000400c0c4 RSI: 00000000200001c0 RDI: 0000000000000004 RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c008 R13: 00007ffcbcba900f R14: 00007fe0f3a9b300 R15: 0000000000022000 Code: 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 ca 01 00 00 48 8b 93 20 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 d1 48 c1 e9 03 <0f> b6 0c 01 48 89 d0 83 e0 07 83 c0 01 38 c8 7c 08 84 c9 0f 85 RIP: nla_len include/net/netlink.h:706 [inline] RSP: ffff888059d376a0 RIP: nla_parse_nested include/net/netlink.h:765 [inline] RSP: ffff888059d376a0 RIP: nl802154_del_llsec_devkey+0x149/0x330 net/ieee802154/nl802154.c:1943 RSP: ffff888059d376a0 ---[ end trace f8b79d7cbe1453c0 ]--- FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0