Warning: Permanently added '10.128.10.28' (ED25519) to the list of known hosts. executing program [ 35.117780][ T4218] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 35.120357][ T4218] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4218, name: syz-executor103 [ 35.122819][ T4218] preempt_count: 201, expected: 0 [ 35.124056][ T4218] RCU nest depth: 0, expected: 0 [ 35.125330][ T4218] 2 locks held by syz-executor103/4218: [ 35.126820][ T4218] #0: ffff800017e6f7c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 35.129276][ T4218] #1: ffff0000d4b4e108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 35.131685][ T4218] Preemption disabled at: [ 35.131695][ T4218] [] sch_tree_lock+0x120/0x1d4 [ 35.134423][ T4218] CPU: 0 PID: 4218 Comm: syz-executor103 Not tainted 6.1.42-syzkaller #0 [ 35.136594][ T4218] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 35.139304][ T4218] Call trace: [ 35.140145][ T4218] dump_backtrace+0x1c8/0x1f4 [ 35.141401][ T4218] show_stack+0x2c/0x3c [ 35.142446][ T4218] dump_stack_lvl+0x108/0x170 [ 35.143661][ T4218] dump_stack+0x1c/0x58 [ 35.144754][ T4218] __might_resched+0x37c/0x4d8 [ 35.146044][ T4218] __might_sleep+0x90/0xe4 [ 35.147148][ T4218] __kmem_cache_alloc_node+0x74/0x388 [ 35.148554][ T4218] __kmalloc_node+0xcc/0x1d0 [ 35.149775][ T4218] kvmalloc_node+0x84/0x1e4 [ 35.151046][ T4218] get_dist_table+0xa0/0x354 [ 35.152262][ T4218] netem_change+0x754/0x1900 [ 35.153463][ T4218] netem_init+0x54/0xb8 [ 35.154594][ T4218] qdisc_create+0x70c/0xe64 [ 35.155857][ T4218] tc_modify_qdisc+0x9f0/0x1840 [ 35.157095][ T4218] rtnetlink_rcv_msg+0x72c/0xd94 [ 35.158362][ T4218] netlink_rcv_skb+0x20c/0x3b8 [ 35.159564][ T4218] rtnetlink_rcv+0x28/0x38 [ 35.160733][ T4218] netlink_unicast+0x660/0x8d4 [ 35.162035][ T4218] netlink_sendmsg+0x834/0xb18 [ 35.163377][ T4218] ____sys_sendmsg+0x558/0x844 [ 35.164668][ T4218] __sys_sendmsg+0x26c/0x33c [ 35.165872][ T4218] __arm64_sys_sendmsg+0x80/0x94 [ 35.167254][ T4218] invoke_syscall+0x98/0x2c0 [ 35.168475][ T4218] el0_svc_common+0x138/0x258 [ 35.169734][ T4218] do_el0_svc+0x64/0x218 [ 35.170878][ T4218] el0_svc+0x58/0x168 [ 35.171958][ T4218] el0t_64_sync_handler+0x84/0xf0 [ 35.173322][ T4218] el0t_64_sync+0x18c/0x190 [ 35.174702][ T4218] [ 35.175294][ T4218] ============================================ [ 35.176932][ T4218] WARNING: possible recursive locking detected [ 35.178510][ T4218] 6.1.42-syzkaller #0 Tainted: G W [ 35.180231][ T4218] -------------------------------------------- [ 35.181911][ T4218] syz-executor103/4218 is trying to acquire lock: [ 35.183619][ T4218] ffff0000d4b4e108 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 35.186031][ T4218] [ 35.186031][ T4218] but task is already holding lock: [ 35.187849][ T4218] ffff0000d4b4e108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 35.190303][ T4218] [ 35.190303][ T4218] other info that might help us debug this: [ 35.192427][ T4218] Possible unsafe locking scenario: [ 35.192427][ T4218] [ 35.194388][ T4218] CPU0 [ 35.195231][ T4218] ---- [ 35.196070][ T4218] lock(&sch->q.lock); [ 35.197163][ T4218] lock(&sch->q.lock); [ 35.198234][ T4218] [ 35.198234][ T4218] *** DEADLOCK *** [ 35.198234][ T4218] [ 35.200509][ T4218] May be due to missing lock nesting notation [ 35.200509][ T4218] [ 35.202754][ T4218] 2 locks held by syz-executor103/4218: [ 35.204238][ T4218] #0: ffff800017e6f7c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 35.206728][ T4218] #1: ffff0000d4b4e108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 35.209168][ T4218] [ 35.209168][ T4218] stack backtrace: [ 35.210735][ T4218] CPU: 0 PID: 4218 Comm: syz-executor103 Tainted: G W 6.1.42-syzkaller #0 [ 35.213272][ T4218] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 35.215936][ T4218] Call trace: [ 35.216792][ T4218] dump_backtrace+0x1c8/0x1f4 [ 35.218074][ T4218] show_stack+0x2c/0x3c [ 35.219248][ T4218] dump_stack_lvl+0x108/0x170 [ 35.220466][ T4218] dump_stack+0x1c/0x58 [ 35.221551][ T4218] __lock_acquire+0x6310/0x764c [ 35.222823][ T4218] lock_acquire+0x26c/0x7cc [ 35.224010][ T4218] _raw_spin_lock_bh+0x54/0x6c [ 35.225221][ T4218] get_dist_table+0x240/0x354 [ 35.226468][ T4218] netem_change+0x754/0x1900 [ 35.227665][ T4218] netem_init+0x54/0xb8 [ 35.228743][ T4218] qdisc_create+0x70c/0xe64 [ 35.229909][ T4218] tc_modify_qdisc+0x9f0/0x1840 [ 35.231224][ T4218] rtnetlink_rcv_msg+0x72c/0xd94 [ 35.232542][ T4218] netlink_rcv_skb+0x20c/0x3b8 [ 35.233799][ T4218] rtnetlink_rcv+0x28/0x38 [ 35.235006][ T4218] netlink_unicast+0x660/0x8d4 [ 35.236245][ T4218] netlink_sendmsg+0x834/0xb18 [ 35.237467][ T4218] ____sys_sendmsg+0x558/0x844 [ 35.238720][ T4218] __sys_sendmsg+0x26c/0x33c [ 35.239946][ T4218] __arm64_sys_sendmsg+0x80/0x94 [ 35.241236][ T4218] invoke_syscall+0x98/0x2c0 [ 35.242531][ T4218] el0_svc_common+0x138/0x258 [ 35.243731][ T4218] do_el0_svc+0x64/0x218 [ 35.244774][ T4218] el0_svc+0x58/0x168 [ 35.245809][ T4218] el0t_64_sync_handler+0x84/0xf0 [ 35.247098][ T4218] el0t_64_sync+0x18c/0x190