BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:321
in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 5913, name: syz.1.8
preempt_count: 0, expected: 0
RCU nest depth: 2, expected: 0
3 locks held by syz.1.8/5913:
 #0: ffffffff8f51c948 (rtnl_mutex){+.+.}-{4:4}, at: rtnetlink_rcv_msg+0x71c/0xb70
 #1: ffffffff8e13ee60 (rcu_read_lock){....}-{1:3}, at: tcf_nat_dump+0x18b/0x880
 #2: ffffffff8e13ee60 (rcu_read_lock){....}-{1:3}, at: tcf_nat_dump+0x18b/0x880
CPU: 1 UID: 0 PID: 5913 Comm: syz.1.8 Not tainted 6.16.0-rc3-syzkaller-00159-g223e2288f4b8-dirty #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250
 __might_resched+0x495/0x610
 kmem_cache_alloc_noprof+0x64/0x3c0
 skb_clone+0x212/0x3a0
 netlink_trim+0x19f/0x2e0
 netlink_broadcast_filtered+0x80/0x1140
 nlmsg_notify+0xf0/0x1a0
 tc_ctl_action+0x92e/0xbd0
 rtnetlink_rcv_msg+0x77c/0xb70
 netlink_rcv_skb+0x208/0x470
 netlink_unicast+0x75b/0x8d0
 netlink_sendmsg+0x805/0xb30
 __sock_sendmsg+0x21c/0x270
 ____sys_sendmsg+0x505/0x830
 ___sys_sendmsg+0x21f/0x2a0
 __x64_sys_sendmsg+0x19b/0x260
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fedb238e929
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fedb3217038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fedb25b5fa0 RCX: 00007fedb238e929
RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 0000000000000003
RBP: 00007fedb2410b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fedb25b5fa0 R15: 00007ffe49bc9a48
 </TASK>

================================================
WARNING: lock held when returning to user space!
6.16.0-rc3-syzkaller-00159-g223e2288f4b8-dirty #0 Tainted: G        W          
------------------------------------------------
syz.1.8/5913 is leaving the kernel with locks still held!
2 locks held by syz.1.8/5913:
 #0: ffffffff8e13ee60 (rcu_read_lock){....}-{1:3}, at: tcf_nat_dump+0x18b/0x880
 #1: ffffffff8e13ee60 (rcu_read_lock){....}-{1:3}, at: tcf_nat_dump+0x18b/0x880
------------[ cut here ]------------
Voluntary context switch within RCU read-side critical section!
WARNING: CPU: 1 PID: 5913 at kernel/rcu/tree_plugin.h:332 rcu_note_context_switch+0xe39/0x1140
Modules linked in:
CPU: 1 UID: 0 PID: 5913 Comm: syz.1.8 Tainted: G        W           6.16.0-rc3-syzkaller-00159-g223e2288f4b8-dirty #0 PREEMPT(full) 
Tainted: [W]=WARN
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:rcu_note_context_switch+0xe39/0x1140
Code: 00 ba 02 00 00 00 e8 36 4a fe ff 4c 8b bc 24 b0 00 00 00 eb 91 c6 05 b2 ef e3 0d 01 90 48 c7 c7 20 17 8c 8b e8 68 31 dc ff 90 <0f> 0b 90 90 e9 f4 f2 ff ff 90 0f 0b 90 45 84 ed 0f 84 b9 f2 ff ff
RSP: 0000:ffffc90003a1fb60 EFLAGS: 00010046
RAX: 098132b7ca93c000 RBX: dffffc0000000000 RCX: 0000000000080000
RDX: ffffc90003aa1000 RSI: 000000000003c98a RDI: 000000000003c98b
RBP: ffffc90003a1fcd0 R08: ffff888136624293 R09: 1ffff11026cc4852
R10: dffffc0000000000 R11: ffffed1026cc4853 R12: ffff8880238d3980
R13: 0000000000000000 R14: ffff8880238d3dc4 R15: 1ffff92000743f88
FS:  00007fedb32176c0(0000) GS:ffff8881a3c1d000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f04407f3fc8 CR3: 000000003b8ee000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __schedule+0x326/0x4d00
 schedule+0x165/0x360
 irqentry_exit_to_user_mode+0x5d/0x120
 asm_sysvec_reschedule_ipi+0x1a/0x20
RIP: 0033:0x7fedb238e929
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fedb3217038 EFLAGS: 00000246
RAX: 000000000000009c RBX: 00007fedb25b5fa0 RCX: 00007fedb238e929
RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 0000000000000003
RBP: 00007fedb2410b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fedb25b5fa0 R15: 00007ffe49bc9a48
 </TASK>
