netlink: 8 bytes leftover after parsing attributes in process `syz-executor0'.
netlink: 8 bytes leftover after parsing attributes in process `syz-executor0'.

=============================
WARNING: suspicious RCU usage
4.15.0-rc7+ #258 Not tainted
-----------------------------
./include/linux/rcupdate.h:302 Illegal context switch in RCU read-side critical section!

other info that might help us debug this:


rcu_scheduler_active = 2, debug_locks = 1
2 locks held by syz-executor0/22019:
 #0:  (&net->xfrm.xfrm_cfg_mutex){+.+.}, at: [<000000008ebb8a43>] xfrm_netlink_rcv+0x60/0x90 net/xfrm/xfrm_user.c:2598
 #1:  (rcu_read_lock){....}, at: [<000000001bc01ce6>] xfrm_state_get_afinfo+0x62/0x280 net/xfrm/xfrm_state.c:2150

stack backtrace:
CPU: 1 PID: 22019 Comm: syz-executor0 Not tainted 4.15.0-rc7+ #258
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+0x194/0x257 lib/dump_stack.c:53
 lockdep_rcu_suspicious+0x123/0x170 kernel/locking/lockdep.c:4585
 rcu_preempt_sleep_check include/linux/rcupdate.h:301 [inline]
 ___might_sleep+0x385/0x470 kernel/sched/core.c:6025
 __might_sleep+0x95/0x190 kernel/sched/core.c:6013
 slab_pre_alloc_hook mm/slab.h:419 [inline]
 slab_alloc mm/slab.c:3368 [inline]
 kmem_cache_alloc_trace+0x298/0x750 mm/slab.c:3608
 kmalloc include/linux/slab.h:499 [inline]
 call_modprobe kernel/kmod.c:80 [inline]
 __request_module+0x2e1/0xc20 kernel/kmod.c:171
 xfrm_get_type_offload net/xfrm/xfrm_state.c:317 [inline]
 __xfrm_init_state+0xa61/0xdd0 net/xfrm/xfrm_state.c:2250
 xfrm_state_construct net/xfrm/xfrm_user.c:590 [inline]
 xfrm_add_sa+0x1a09/0x33e0 net/xfrm/xfrm_user.c:646
 xfrm_user_rcv_msg+0x422/0x860 net/xfrm/xfrm_user.c:2591
 netlink_rcv_skb+0x224/0x470 net/netlink/af_netlink.c:2408
 xfrm_netlink_rcv+0x6f/0x90 net/xfrm/xfrm_user.c:2599
 netlink_unicast_kernel net/netlink/af_netlink.c:1275 [inline]
 netlink_unicast+0x4ee/0x700 net/netlink/af_netlink.c:1301
 netlink_sendmsg+0xa4a/0xe60 net/netlink/af_netlink.c:1864
 sock_sendmsg_nosec net/socket.c:638 [inline]
 sock_sendmsg+0xca/0x110 net/socket.c:648
 ___sys_sendmsg+0x767/0x8b0 net/socket.c:2028
 __sys_sendmsg+0xe5/0x210 net/socket.c:2062
 SYSC_sendmsg net/socket.c:2073 [inline]
 SyS_sendmsg+0x2d/0x50 net/socket.c:2069
 entry_SYSCALL_64_fastpath+0x23/0x9a
RIP: 0033:0x452ac9
RSP: 002b:00007f55ba020c58 EFLAGS: 00000212 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f55ba021700 RCX: 0000000000452ac9
RDX: 0000000000000000 RSI: 0000000020984fc8 RDI: 0000000000000013
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 0000000000000000
R13: 0000000000a2f7ef R14: 00007f55ba0219c0 R15: 0000000000000000
BUG: sleeping function called from invalid context at mm/slab.h:419
in_atomic(): 1, irqs_disabled(): 0, pid: 22019, name: syz-executor0
2 locks held by syz-executor0/22019:
 #0:  (&net->xfrm.xfrm_cfg_mutex){+.+.}, at: [<000000008ebb8a43>] xfrm_netlink_rcv+0x60/0x90 net/xfrm/xfrm_user.c:2598
 #1:  (rcu_read_lock){....}, at: [<000000001bc01ce6>] xfrm_state_get_afinfo+0x62/0x280 net/xfrm/xfrm_state.c:2150
CPU: 1 PID: 22019 Comm: syz-executor0 Not tainted 4.15.0-rc7+ #258
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+0x194/0x257 lib/dump_stack.c:53
 ___might_sleep+0x2b2/0x470 kernel/sched/core.c:6060
 __might_sleep+0x95/0x190 kernel/sched/core.c:6013
 slab_pre_alloc_hook mm/slab.h:419 [inline]
 slab_alloc mm/slab.c:3368 [inline]
 kmem_cache_alloc_trace+0x298/0x750 mm/slab.c:3608
 kmalloc include/linux/slab.h:499 [inline]
 call_modprobe kernel/kmod.c:80 [inline]
 __request_module+0x2e1/0xc20 kernel/kmod.c:171
 xfrm_get_type_offload net/xfrm/xfrm_state.c:317 [inline]
 __xfrm_init_state+0xa61/0xdd0 net/xfrm/xfrm_state.c:2250
 xfrm_state_construct net/xfrm/xfrm_user.c:590 [inline]
 xfrm_add_sa+0x1a09/0x33e0 net/xfrm/xfrm_user.c:646
 xfrm_user_rcv_msg+0x422/0x860 net/xfrm/xfrm_user.c:2591
 netlink_rcv_skb+0x224/0x470 net/netlink/af_netlink.c:2408
 xfrm_netlink_rcv+0x6f/0x90 net/xfrm/xfrm_user.c:2599
 netlink_unicast_kernel net/netlink/af_netlink.c:1275 [inline]
 netlink_unicast+0x4ee/0x700 net/netlink/af_netlink.c:1301
 netlink_sendmsg+0xa4a/0xe60 net/netlink/af_netlink.c:1864
 sock_sendmsg_nosec net/socket.c:638 [inline]
 sock_sendmsg+0xca/0x110 net/socket.c:648
 ___sys_sendmsg+0x767/0x8b0 net/socket.c:2028
 __sys_sendmsg+0xe5/0x210 net/socket.c:2062
 SYSC_sendmsg net/socket.c:2073 [inline]
 SyS_sendmsg+0x2d/0x50 net/socket.c:2069
 entry_SYSCALL_64_fastpath+0x23/0x9a
RIP: 0033:0x452ac9
RSP: 002b:00007f55ba020c58 EFLAGS: 00000212 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f55ba021700 RCX: 0000000000452ac9
RDX: 0000000000000000 RSI: 0000000020984fc8 RDI: 0000000000000013
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 0000000000000000
R13: 0000000000a2f7ef R14: 00007f55ba0219c0 R15: 0000000000000000
BUG: scheduling while atomic: syz-executor0/22019/0x00000002
2 locks held by syz-executor0/22019:
 #0:  (&net->xfrm.xfrm_cfg_mutex){+.+.}, at: [<000000008ebb8a43>] xfrm_netlink_rcv+0x60/0x90 net/xfrm/xfrm_user.c:2598
 #1:  (rcu_read_lock){....}, at: [<000000001bc01ce6>] xfrm_state_get_afinfo+0x62/0x280 net/xfrm/xfrm_state.c:2150
Modules linked in: