BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
PGD 80000001add96067 P4D 80000001add96067 PUD 1ab780067 PMD 0
Oops: 0000 [#1] SMP PTI
CPU: 1 PID: 5005 Comm: syz-executor272 Not tainted 4.18.0-rc8+ #34
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:get_work_pool kernel/workqueue.c:716 [inline]
RIP: 0010:__queue_work+0x4c9/0x1ed0 kernel/workqueue.c:1401
Code: 84 6e ff ff ff 66 90 66 2e 0f 1f 84 00 00 00 00 00 e8 7b ab 3b 00 49 81 e7 00 ff ff ff 49 81 fc 00 01 00 00 0f 83 62 02 00 00 <49> 8b 1f 4c 89 ff e8 2c fe 94 00 e9 20 01 00 00 8b 3a e8 50 07 95
RSP: 0018:ffff8801b2a3f278 EFLAGS: 00010087
RAX: ffffffff8129d845 RBX: 0000000000000004 RCX: ffff8801b4799d80
RDX: 0000000000000000 RSI: aaaaaaaaaaaab000 RDI: ffffea00003a1ee0
RBP: ffff8801b2a3f380 R08: 0000000000480020 R09: 0000000000000002
R10: 0000000000000000 R11: ffffffff8134f310 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000002472880(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001a868c000 CR4: 00000000001406e0
Call Trace:
queue_work_on+0x19d/0x1c0 kernel/workqueue.c:1486
queue_work include/linux/workqueue.h:512 [inline]
schedule_work include/linux/workqueue.h:570 [inline]
xfrm_policy_insert+0x3478/0x39e0 net/xfrm/xfrm_policy.c:795
xfrm_add_policy+0x5d4/0xa20 net/xfrm/xfrm_user.c:1602
xfrm_user_rcv_msg+0x60c/0x9b0 net/xfrm/xfrm_user.c:2594
netlink_rcv_skb+0x36e/0x5f0 net/netlink/af_netlink.c:2455
xfrm_netlink_rcv+0xb2/0xf0 net/xfrm/xfrm_user.c:2602
netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline]
netlink_unicast+0x1492/0x1740 net/netlink/af_netlink.c:1343
netlink_sendmsg+0x114c/0x1350 net/netlink/af_netlink.c:1908
sock_sendmsg_nosec net/socket.c:642 [inline]
sock_sendmsg net/socket.c:652 [inline]
___sys_sendmsg+0xe32/0x1250 net/socket.c:2126
__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
do_syscall_64+0x15b/0x220 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x63/0xe7
RIP: 0033:0x4416b9
Code: e8 7c e7 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 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 0f 83 db 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffefdf4a5d8 EFLAGS: 00000213 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004416b9
RDX: 000000000000c800 RSI: 0000000020000500 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000213 R12: 0000000000000038
R13: 0000000000018b9c R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
Dumping ftrace buffer:
(ftrace buffer empty)
CR2: 0000000000000000
---[ end trace b20b7c3a9a1b9557 ]---
RIP: 0010:get_work_pool kernel/workqueue.c:716 [inline]
RIP: 0010:__queue_work+0x4c9/0x1ed0 kernel/workqueue.c:1401
Code: 84 6e ff ff ff 66 90 66 2e 0f 1f 84 00 00 00 00 00 e8 7b ab 3b 00 49 81 e7 00 ff ff ff 49 81 fc 00 01 00 00 0f 83 62 02 00 00 <49> 8b 1f 4c 89 ff e8 2c fe 94 00 e9 20 01 00 00 8b 3a e8 50 07 95
RSP: 0018:ffff8801b2a3f278 EFLAGS: 00010087
RAX: ffffffff8129d845 RBX: 0000000000000004 RCX: ffff8801b4799d80
RDX: 0000000000000000 RSI: aaaaaaaaaaaab000 RDI: ffffea00003a1ee0
RBP: ffff8801b2a3f380 R08: 0000000000480020 R09: 0000000000000002
R10: 0000000000000000 R11: ffffffff8134f310 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000002472880(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001a868c000 CR4: 00000000001406e0