Warning: Permanently added '10.128.15.203' (ED25519) to the list of known hosts. executing program [ 36.272323][ T4217] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 36.275073][ T4217] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4217, name: syz-executor372 [ 36.277529][ T4217] preempt_count: 201, expected: 0 [ 36.278821][ T4217] RCU nest depth: 0, expected: 0 [ 36.280044][ T4217] 2 locks held by syz-executor372/4217: [ 36.281486][ T4217] #0: ffff800017e6f7c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 36.284060][ T4217] #1: ffff0000d4aaf908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.286600][ T4217] Preemption disabled at: [ 36.286611][ T4217] [] sch_tree_lock+0x120/0x1d4 [ 36.289232][ T4217] CPU: 0 PID: 4217 Comm: syz-executor372 Not tainted 6.1.42-syzkaller #0 [ 36.291245][ T4217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 36.293863][ T4217] Call trace: [ 36.294726][ T4217] dump_backtrace+0x1c8/0x1f4 [ 36.295984][ T4217] show_stack+0x2c/0x3c [ 36.297012][ T4217] dump_stack_lvl+0x108/0x170 [ 36.298213][ T4217] dump_stack+0x1c/0x58 [ 36.299269][ T4217] __might_resched+0x37c/0x4d8 [ 36.300470][ T4217] __might_sleep+0x90/0xe4 [ 36.301543][ T4217] __kmem_cache_alloc_node+0x74/0x388 [ 36.302968][ T4217] __kmalloc_node+0xcc/0x1d0 [ 36.304178][ T4217] kvmalloc_node+0x84/0x1e4 [ 36.305467][ T4217] get_dist_table+0xa0/0x354 [ 36.306636][ T4217] netem_change+0x7a4/0x1900 [ 36.307834][ T4217] netem_init+0x54/0xb8 [ 36.308899][ T4217] qdisc_create+0x70c/0xe64 [ 36.310076][ T4217] tc_modify_qdisc+0x9f0/0x1840 [ 36.311380][ T4217] rtnetlink_rcv_msg+0x72c/0xd94 [ 36.312665][ T4217] netlink_rcv_skb+0x20c/0x3b8 [ 36.313954][ T4217] rtnetlink_rcv+0x28/0x38 [ 36.315137][ T4217] netlink_unicast+0x660/0x8d4 [ 36.316409][ T4217] netlink_sendmsg+0x834/0xb18 [ 36.317677][ T4217] ____sys_sendmsg+0x558/0x844 [ 36.318940][ T4217] __sys_sendmsg+0x26c/0x33c [ 36.320134][ T4217] __arm64_sys_sendmsg+0x80/0x94 [ 36.321435][ T4217] invoke_syscall+0x98/0x2c0 [ 36.322681][ T4217] el0_svc_common+0x138/0x258 [ 36.323932][ T4217] do_el0_svc+0x64/0x218 [ 36.325035][ T4217] el0_svc+0x58/0x168 [ 36.326116][ T4217] el0t_64_sync_handler+0x84/0xf0 [ 36.327458][ T4217] el0t_64_sync+0x18c/0x190 [ 36.328952][ T4217] [ 36.329546][ T4217] ============================================ [ 36.331059][ T4217] WARNING: possible recursive locking detected [ 36.332577][ T4217] 6.1.42-syzkaller #0 Tainted: G W [ 36.334233][ T4217] -------------------------------------------- [ 36.335755][ T4217] syz-executor372/4217 is trying to acquire lock: [ 36.337388][ T4217] ffff0000d4aaf908 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 36.339691][ T4217] [ 36.339691][ T4217] but task is already holding lock: [ 36.341639][ T4217] ffff0000d4aaf908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.343859][ T4217] [ 36.343859][ T4217] other info that might help us debug this: [ 36.345958][ T4217] Possible unsafe locking scenario: [ 36.345958][ T4217] [ 36.347929][ T4217] CPU0 [ 36.348813][ T4217] ---- [ 36.349679][ T4217] lock(&sch->q.lock); [ 36.350758][ T4217] lock(&sch->q.lock); [ 36.351830][ T4217] [ 36.351830][ T4217] *** DEADLOCK *** [ 36.351830][ T4217] [ 36.353879][ T4217] May be due to missing lock nesting notation [ 36.353879][ T4217] [ 36.356054][ T4217] 2 locks held by syz-executor372/4217: [ 36.357489][ T4217] #0: ffff800017e6f7c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 36.359959][ T4217] #1: ffff0000d4aaf908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.362327][ T4217] [ 36.362327][ T4217] stack backtrace: [ 36.363876][ T4217] CPU: 0 PID: 4217 Comm: syz-executor372 Tainted: G W 6.1.42-syzkaller #0 [ 36.366533][ T4217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 36.369115][ T4217] Call trace: [ 36.369946][ T4217] dump_backtrace+0x1c8/0x1f4 [ 36.371162][ T4217] show_stack+0x2c/0x3c [ 36.372241][ T4217] dump_stack_lvl+0x108/0x170 [ 36.373430][ T4217] dump_stack+0x1c/0x58 [ 36.374465][ T4217] __lock_acquire+0x6310/0x764c [ 36.375695][ T4217] lock_acquire+0x26c/0x7cc [ 36.376837][ T4217] _raw_spin_lock_bh+0x54/0x6c [ 36.378003][ T4217] get_dist_table+0x240/0x354 [ 36.379238][ T4217] netem_change+0x7a4/0x1900 [ 36.380402][ T4217] netem_init+0x54/0xb8 [ 36.381436][ T4217] qdisc_create+0x70c/0xe64 [ 36.382637][ T4217] tc_modify_qdisc+0x9f0/0x1840 [ 36.383906][ T4217] rtnetlink_rcv_msg+0x72c/0xd94 [ 36.385139][ T4217] netlink_rcv_skb+0x20c/0x3b8 [ 36.386376][ T4217] rtnetlink_rcv+0x28/0x38 [ 36.387529][ T4217] netlink_unicast+0x660/0x8d4 [ 36.388763][ T4217] netlink_sendmsg+0x834/0xb18 [ 36.390002][ T4217] ____sys_sendmsg+0x558/0x844 [ 36.391283][ T4217] __sys_sendmsg+0x26c/0x33c [ 36.392410][ T4217] __arm64_sys_sendmsg+0x80/0x94 [ 36.393746][ T4217] invoke_syscall+0x98/0x2c0 [ 36.394928][ T4217] el0_svc_common+0x138/0x258 [ 36.396145][ T4217] do_el0_svc+0x64/0x218 [ 36.397240][ T4217] el0_svc+0x58/0x168 [ 36.398287][ T4217] el0t_64_sync_handler+0x84/0xf0 [ 36.399551][ T4217] el0t_64_sync+0x18c/0x190