__do_sys_add_key security/keys/keyctl.c:122 [inline] __se_sys_add_key+0x744/0x970 security/keys/keyctl.c:62 __x64_sys_add_key+0x15d/0x1b0 security/keys/keyctl.c:62 do_syscall_64+0x15b/0x220 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x457089 BUG: unable to handle kernel NULL pointer dereference at 0000000000000008 Code: PGD 800000017a085067 fd P4D 800000017a085067 b4 PUD 1b62d5067 fb PMD 0 ff c3 Oops: 0000 [#1] SMP PTI 66 CPU: 1 PID: 9754 Comm: syz-executor4 Not tainted 4.18.0-rc8+ #34 2e Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0f RIP: 0010:map_vm_area+0x69/0x1f0 mm/vmalloc.c:1340 1f Code: 84 08 00 48 89 00 45 a0 00 41 00 8b 84 00 24 90 66 0c 90 00 48 00 89 89 45 cc f8 45 8b 48 bc 24 89 88 f7 0c 00 48 00 e8 89 64 35 d6 b5 ff 48 4d 8d 89 75 ca 08 48 4d 85 89 db 0f c2 85 5b 4d 01 00 89 00 <49> c8 8b 45 4c 08 8b 48 89 4c 45 a8 24 4c 89 08 f7 e8 0f 17 05 88 <48> 0e 3d 00 4d 01 8d f0 75 ff 18 ff 48 0f 8b 83 RSP: 0018:ffff8801b673f8b8 EFLAGS: 00010046 cb b4 RAX: ffffffff81b04e5c RBX: 0000000000000000 RCX: 0000000000040000 fb RDX: ffffc90001eb6000 RSI: 0000000000027dfd RDI: 0000000000027dfe ff RBP: ffff8801b673f930 R08: 00000000004000c0 R09: ffff88021fd39090 c3 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88021fd39090 66 R13: 0000000000000000 R14: 0000000000000008 R15: 0000000000000000 2e FS: 00007f3e91631700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 0f CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000008 CR3: 000000017b0fc000 CR4: 00000000001406e0 1f Call Trace: 84 00 00 00 kmsan_vmap+0x124/0x1e0 mm/kmsan/kmsan_hooks.c:181 00 vmap+0x3b2/0x540 mm/vmalloc.c:1648 RSP: 002b:00007fca99825c78 EFLAGS: 00000246 big_key_alloc_buffer+0x699/0x9d0 security/keys/big_key.c:190 ORIG_RAX: 00000000000000f8 big_key_preparse+0x206/0xee0 security/keys/big_key.c:230 RAX: ffffffffffffffda RBX: 00007fca998266d4 RCX: 0000000000457089 RDX: 0000000020000300 RSI: 0000000020000080 RDI: 0000000020000040 RBP: 00000000009300a0 R08: fffffffffffffffe R09: 0000000000000000 key_create_or_update+0x7bc/0x1ae0 security/keys/key.c:849 R10: 0000000000000311 R11: 0000000000000246 R12: 0000000000000004 __do_sys_add_key security/keys/keyctl.c:122 [inline] __se_sys_add_key+0x744/0x970 security/keys/keyctl.c:62 R13: 00000000004caec0 R14: 00000000004c2d5c R15: 0000000000000009 __x64_sys_add_key+0x15d/0x1b0 security/keys/keyctl.c:62 do_syscall_64+0x15b/0x220 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x457089 Code: fd b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f3e91630c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000f8 RAX: ffffffffffffffda RBX: 00007f3e916316d4 RCX: 0000000000457089 RDX: 0000000020000300 RSI: 0000000020000080 RDI: 0000000020000040 RBP: 00000000009300a0 R08: fffffffffffffffe R09: 0000000000000000 R10: 0000000000000311 R11: 0000000000000246 R12: 0000000000000004 R13: 00000000004caec0 R14: 00000000004c2d5c R15: 000000000000000b Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CR2: 0000000000000008 ---[ end trace aa12d729a770c2fa ]--- RIP: 0010:map_vm_area+0x69/0x1f0 mm/vmalloc.c:1340 Code: 08 48 89 45 a0 41 8b 84 24 90 0c 00 00 89 CPU: 0 PID: 9765 Comm: syz-executor6 Tainted: G D 4.18.0-rc8+ #34 45 cc Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 45 8b Call Trace: bc 24 __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x17c/0x1c0 lib/dump_stack.c:113 88 0c fail_dump lib/fault-inject.c:51 [inline] should_fail+0x867/0xaa0 lib/fault-inject.c:149 00 00 __should_failslab+0x278/0x2a0 mm/failslab.c:32 e8 64 should_failslab+0x29/0x70 mm/slab_common.c:1557 35 b5 slab_pre_alloc_hook mm/slab.h:423 [inline] slab_alloc_node mm/slub.c:2646 [inline] kmem_cache_alloc_node+0x156/0xc80 mm/slub.c:2762 ff 4d 8d 75 08 48 __alloc_skb+0x208/0x9b0 net/core/skbuff.c:194 85 db 0f 85 alloc_skb include/linux/skbuff.h:988 [inline] nlmsg_new include/net/netlink.h:511 [inline] xfrm_send_acquire+0x1d1/0x1640 net/xfrm/xfrm_user.c:2873 5b 01 00 km_query+0x158/0x260 net/xfrm/xfrm_state.c:1954 00 xfrm_add_acquire+0xa7c/0xe90 net/xfrm/xfrm_user.c:2218 <49> 8b 45 xfrm_user_rcv_msg+0x60c/0x9b0 net/xfrm/xfrm_user.c:2594 08 48 89 45 a8 netlink_rcv_skb+0x36e/0x5f0 net/netlink/af_netlink.c:2455 4c 89 f7 e8 xfrm_netlink_rcv+0xb2/0xf0 net/xfrm/xfrm_user.c:2602 17 88 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x1492/0x1740 net/netlink/af_netlink.c:1343 0e 00 4d netlink_sendmsg+0x114c/0x1350 net/netlink/af_netlink.c:1908 8d 75 sock_sendmsg_nosec net/socket.c:642 [inline] sock_sendmsg net/socket.c:652 [inline] ___sys_sendmsg+0xe32/0x1250 net/socket.c:2126 18 48 8b RSP: 0018:ffff8801b673f8b8 EFLAGS: 00010046 __sys_sendmsg net/socket.c:2164 [inline] __do_sys_sendmsg net/socket.c:2173 [inline] __se_sys_sendmsg net/socket.c:2171 [inline] __x64_sys_sendmsg+0x32d/0x460 net/socket.c:2171 RAX: ffffffff81b04e5c RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc90001eb6000 RSI: 0000000000027dfd RDI: 0000000000027dfe do_syscall_64+0x15b/0x220 arch/x86/entry/common.c:290 RBP: ffff8801b673f930 R08: 00000000004000c0 R09: ffff88021fd39090 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88021fd39090 entry_SYSCALL_64_after_hwframe+0x63/0xe7 R13: 0000000000000000 R14: 0000000000000008 R15: 0000000000000000 FS: 00007f3e91631700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000 RIP: 0033:0x457089 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000008 CR3: 000000017b0fc000 CR4: 00000000001406e0 Code: