TITLE: BUG: sleeping function called from invalid context in __alloc_skb
TYPE: ATOMIC_SLEEP

[  566.230190][T22160] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:201
[  566.293770][T22160] in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 22160, name: syz-executor.1
[  566.359350][T22160] 1 lock held by syz-executor.1/22160:
[  566.389164][T22160]  #0: ffffffff8bf797a0 (rcu_read_lock){....}-{1:2}, at: nfnetlink_rcv_msg+0x1da/0x1300
[  566.479571][T22160] Preemption disabled at:
[  566.479589][T22160] [<ffffffff8709e980>] __dev_queue_xmit+0x1f0/0x2e30
[  566.534726][T22160] CPU: 1 PID: 22160 Comm: syz-executor.1 Not tainted 5.12.0-next-20210504-syzkaller #0
[  566.544420][T22160] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
[  566.554585][T22160] Call Trace:
[  566.557997][T22160]  dump_stack+0x141/0x1d7
[  566.567572][T22160]  ___might_sleep.cold+0x1f1/0x237
[  566.572746][T22160]  kmem_cache_alloc_node+0x33d/0x3e0
[  566.583028][T22160]  __alloc_skb+0x20b/0x340
[  566.587492][T22160]  netlink_ack+0x1ed/0xaa0
[  566.618120][T22160]  netlink_rcv_skb+0x33d/0x420
[  566.644170][T22160]  nfnetlink_rcv+0x1ac/0x420
[  566.654259][T22160]  netlink_unicast+0x533/0x7d0
[  566.692979][T22160]  netlink_sendmsg+0x856/0xd90
[  566.713975][T22160]  sock_sendmsg+0xcf/0x120
[  566.744144][T22160]  ___sys_sendmsg+0xf3/0x170
[  566.779537][T22160]  __sys_sendmsg+0xe5/0x1b0
[  566.795245][T22160]  do_syscall_64+0x3a/0xb0
[  566.799717][T22160]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[  566.805676][T22160] RIP: 0033:0x4665f9
[  566.809601][T22160] 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
[  566.829223][T22160] RSP: 002b:00007f8d9ab80188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[  566.838086][T22160] RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 00000000004665f9
[  566.846088][T22160] RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000003
[  566.854326][T22160] RBP: 00000000004bfce1 R08: 0000000000000000 R09: 0000000000000000
[  566.862306][T22160] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60
[  566.870283][T22160] R13: 00007ffd6b4c50bf R14: 00007f8d9ab80300 R15: 0000000000022000
