kasan: GPF could be caused by NULL-ptr deref or user memory access __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 should_fail_alloc_page mm/page_alloc.c:3088 [inline] prepare_alloc_pages mm/page_alloc.c:4346 [inline] __alloc_pages_nodemask+0x239/0x2890 mm/page_alloc.c:4393 general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 19422 Comm: syz-executor.3 Not tainted 4.19.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:nla_get_u16 include/net/netlink.h:1100 [inline] RIP: 0010:nla_get_shortaddr net/ieee802154/nl-mac.c:56 [inline] RIP: 0010:ieee802154_llsec_parse_key_id+0x17f/0x8a0 net/ieee802154/nl-mac.c:567 Code: 00 00 4d 8b 66 30 4d 85 e4 0f 84 1e 05 00 00 e8 77 72 9c f9 49 8d 7c 24 04 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 4e RSP: 0018:ffff888069877550 EFLAGS: 00010247 RAX: dffffc0000000000 RBX: ffff888069877648 RCX: ffffc9000c164000 RDX: 0000000000000000 RSI: ffffffff87c5eb49 RDI: 0000000000000004 RBP: ffff8880698777b8 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: 1ffff1100d30eeaa R14: ffff8880b2b44540 R15: ffff8880698777d8 alloc_pages_current+0x193/0x2a0 mm/mempolicy.c:2197 FS: 00007f71730a4700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 alloc_pages include/linux/gfp.h:532 [inline] __vmalloc_area_node+0x47e/0x780 mm/vmalloc.c:1693 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff2e3519c0 CR3: 0000000091bae000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __vmalloc_node_range mm/vmalloc.c:1753 [inline] __vmalloc_node mm/vmalloc.c:1804 [inline] __vmalloc_node_flags_caller+0x114/0x1b0 mm/vmalloc.c:1826 bpf_map_area_alloc+0x6b/0x80 kernel/bpf/syscall.c:153 htab_map_alloc+0x61c/0x1210 kernel/bpf/hashtab.c:370 ieee802154_llsec_setparams+0x2a9/0x760 net/ieee802154/nl-mac.c:738 find_and_alloc_map kernel/bpf/syscall.c:130 [inline] map_create kernel/bpf/syscall.c:510 [inline] __do_sys_bpf kernel/bpf/syscall.c:2403 [inline] __se_sys_bpf+0x82a/0x3a20 kernel/bpf/syscall.c:2379 genl_family_rcv_msg+0x642/0xc40 net/netlink/genetlink.c:602 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 genl_rcv_msg+0xbf/0x160 net/netlink/genetlink.c:627 entry_SYSCALL_64_after_hwframe+0x49/0xbe netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2455 RIP: 0033:0x466459 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f358a73b188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459 genl_rcv+0x24/0x40 net/netlink/genetlink.c:638 RDX: 0000000000000040 RSI: 0000000020000280 RDI: 0000000000000000 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1344 RBP: 00007f358a73b1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffe3bd59d5f R14: 00007f358a73b300 R15: 0000000000022000 netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1909 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:632 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2115 __sys_sendmsg net/socket.c:2153 [inline] __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x132/0x220 net/socket.c:2160 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x466459 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f71730a4188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459 RDX: 0000000020008084 RSI: 0000000020000580 RDI: 0000000000000009 RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007fffe71d335f R14: 00007f71730a4300 R15: 0000000000022000 Modules linked in: ---[ end trace ecf2ac868530e24e ]--- RIP: 0010:nla_get_u16 include/net/netlink.h:1100 [inline] RIP: 0010:nla_get_shortaddr net/ieee802154/nl-mac.c:56 [inline] RIP: 0010:ieee802154_llsec_parse_key_id+0x17f/0x8a0 net/ieee802154/nl-mac.c:567 Code: 00 00 4d 8b 66 30 4d 85 e4 0f 84 1e 05 00 00 e8 77 72 9c f9 49 8d 7c 24 04 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 4e FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 RSP: 0018:ffff888069877550 EFLAGS: 00010247 RAX: dffffc0000000000 RBX: ffff888069877648 RCX: ffffc9000c164000 CPU: 0 PID: 19458 Comm: syz-executor.5 Tainted: G D 4.19.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RDX: 0000000000000000 RSI: ffffffff87c5eb49 RDI: 0000000000000004 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 should_fail_alloc_page mm/page_alloc.c:3088 [inline] prepare_alloc_pages mm/page_alloc.c:4346 [inline] __alloc_pages_nodemask+0x239/0x2890 mm/page_alloc.c:4393 RBP: ffff8880698777b8 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: 1ffff1100d30eeaa R14: ffff8880b2b44540 R15: ffff8880698777d8 FS: 00007f71730a4700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f71f72c7000 CR3: 0000000091bae000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 alloc_pages_current+0x193/0x2a0 mm/mempolicy.c:2197 alloc_pages include/linux/gfp.h:532 [inline] __vmalloc_area_node+0x47e/0x780 mm/vmalloc.c:1693