Warning: Permanently added '10.128.1.245' (ED25519) to the list of known hosts. executing program [ 37.552797][ T4216] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 37.555438][ T4216] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4216, name: syz-executor426 [ 37.558237][ T4216] preempt_count: 201, expected: 0 [ 37.559567][ T4216] RCU nest depth: 0, expected: 0 [ 37.560884][ T4216] 2 locks held by syz-executor426/4216: [ 37.562345][ T4216] #0: ffff800017e6f7c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 37.564859][ T4216] #1: ffff0000dd9e6108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 37.567412][ T4216] Preemption disabled at: [ 37.567423][ T4216] [] sch_tree_lock+0x120/0x1d4 [ 37.570225][ T4216] CPU: 0 PID: 4216 Comm: syz-executor426 Not tainted 6.1.42-syzkaller #0 [ 37.572486][ T4216] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 37.574914][ T4216] Call trace: [ 37.575739][ T4216] dump_backtrace+0x1c8/0x1f4 [ 37.576981][ T4216] show_stack+0x2c/0x3c [ 37.578093][ T4216] dump_stack_lvl+0x108/0x170 [ 37.579358][ T4216] dump_stack+0x1c/0x58 [ 37.580483][ T4216] __might_resched+0x37c/0x4d8 [ 37.581750][ T4216] __might_sleep+0x90/0xe4 [ 37.582930][ T4216] __kmem_cache_alloc_node+0x74/0x388 [ 37.584388][ T4216] __kmalloc_node+0xcc/0x1d0 [ 37.585618][ T4216] kvmalloc_node+0x84/0x1e4 [ 37.586820][ T4216] get_dist_table+0xa0/0x354 [ 37.588102][ T4216] netem_change+0x7a4/0x1900 [ 37.589358][ T4216] netem_init+0x54/0xb8 [ 37.590445][ T4216] qdisc_create+0x70c/0xe64 [ 37.591630][ T4216] tc_modify_qdisc+0x9f0/0x1840 [ 37.592943][ T4216] rtnetlink_rcv_msg+0x72c/0xd94 [ 37.594286][ T4216] netlink_rcv_skb+0x20c/0x3b8 [ 37.595578][ T4216] rtnetlink_rcv+0x28/0x38 [ 37.596748][ T4216] netlink_unicast+0x660/0x8d4 [ 37.598064][ T4216] netlink_sendmsg+0x834/0xb18 [ 37.599353][ T4216] ____sys_sendmsg+0x558/0x844 [ 37.600683][ T4216] __sys_sendmsg+0x26c/0x33c [ 37.601970][ T4216] __arm64_sys_sendmsg+0x80/0x94 [ 37.603343][ T4216] invoke_syscall+0x98/0x2c0 [ 37.604583][ T4216] el0_svc_common+0x138/0x258 [ 37.605845][ T4216] do_el0_svc+0x64/0x218 [ 37.606992][ T4216] el0_svc+0x58/0x168 [ 37.608068][ T4216] el0t_64_sync_handler+0x84/0xf0 [ 37.609422][ T4216] el0t_64_sync+0x18c/0x190 [ 37.610773][ T4216] [ 37.611366][ T4216] ============================================ [ 37.612928][ T4216] WARNING: possible recursive locking detected [ 37.614500][ T4216] 6.1.42-syzkaller #0 Tainted: G W [ 37.616157][ T4216] -------------------------------------------- [ 37.617786][ T4216] syz-executor426/4216 is trying to acquire lock: [ 37.619518][ T4216] ffff0000dd9e6108 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 37.621877][ T4216] [ 37.621877][ T4216] but task is already holding lock: [ 37.623807][ T4216] ffff0000dd9e6108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 37.626124][ T4216] [ 37.626124][ T4216] other info that might help us debug this: [ 37.628302][ T4216] Possible unsafe locking scenario: [ 37.628302][ T4216] [ 37.630357][ T4216] CPU0 [ 37.631249][ T4216] ---- [ 37.632103][ T4216] lock(&sch->q.lock); [ 37.633231][ T4216] lock(&sch->q.lock); [ 37.634351][ T4216] [ 37.634351][ T4216] *** DEADLOCK *** [ 37.634351][ T4216] [ 37.636477][ T4216] May be due to missing lock nesting notation [ 37.636477][ T4216] [ 37.638636][ T4216] 2 locks held by syz-executor426/4216: [ 37.640127][ T4216] #0: ffff800017e6f7c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 37.642671][ T4216] #1: ffff0000dd9e6108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 37.645194][ T4216] [ 37.645194][ T4216] stack backtrace: [ 37.646762][ T4216] CPU: 0 PID: 4216 Comm: syz-executor426 Tainted: G W 6.1.42-syzkaller #0 [ 37.649367][ T4216] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 37.652032][ T4216] Call trace: [ 37.652892][ T4216] dump_backtrace+0x1c8/0x1f4 [ 37.654198][ T4216] show_stack+0x2c/0x3c [ 37.655401][ T4216] dump_stack_lvl+0x108/0x170 [ 37.656686][ T4216] dump_stack+0x1c/0x58 [ 37.657788][ T4216] __lock_acquire+0x6310/0x764c [ 37.659061][ T4216] lock_acquire+0x26c/0x7cc [ 37.660243][ T4216] _raw_spin_lock_bh+0x54/0x6c [ 37.661484][ T4216] get_dist_table+0x240/0x354 [ 37.662707][ T4216] netem_change+0x7a4/0x1900 [ 37.663934][ T4216] netem_init+0x54/0xb8 [ 37.665053][ T4216] qdisc_create+0x70c/0xe64 [ 37.666291][ T4216] tc_modify_qdisc+0x9f0/0x1840 [ 37.667585][ T4216] rtnetlink_rcv_msg+0x72c/0xd94 [ 37.668877][ T4216] netlink_rcv_skb+0x20c/0x3b8 [ 37.670149][ T4216] rtnetlink_rcv+0x28/0x38 [ 37.671337][ T4216] netlink_unicast+0x660/0x8d4 [ 37.672620][ T4216] netlink_sendmsg+0x834/0xb18 [ 37.673859][ T4216] ____sys_sendmsg+0x558/0x844 [ 37.675167][ T4216] __sys_sendmsg+0x26c/0x33c [ 37.676402][ T4216] __arm64_sys_sendmsg+0x80/0x94 [ 37.677682][ T4216] invoke_syscall+0x98/0x2c0 [ 37.678929][ T4216] el0_svc_common+0x138/0x258 [ 37.680190][ T4216] do_el0_svc+0x64/0x218 [ 37.681325][ T4216] el0_svc+0x58/0x168 [ 37.682369][ T4216] el0t_64_sync_handler+0x84/0xf0 [ 37.683669][ T4216] el0t_64_sync+0x18c/0x190