Warning: Permanently added '10.128.0.146' (ED25519) to the list of known hosts. executing program [ 36.814456][ T4218] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 36.816982][ T4218] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4218, name: syz-executor177 [ 36.819351][ T4218] preempt_count: 201, expected: 0 [ 36.820665][ T4218] RCU nest depth: 0, expected: 0 [ 36.821885][ T4218] 2 locks held by syz-executor177/4218: [ 36.823205][ T4218] #0: ffff800017e6fdc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 36.825589][ T4218] #1: ffff0000dd8b8108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.827903][ T4218] Preemption disabled at: [ 36.827913][ T4218] [] sch_tree_lock+0x120/0x1d4 [ 36.830622][ T4218] CPU: 1 PID: 4218 Comm: syz-executor177 Not tainted 6.1.45-syzkaller #0 [ 36.832661][ T4218] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 36.835118][ T4218] Call trace: [ 36.835975][ T4218] dump_backtrace+0x1c8/0x1f4 [ 36.837100][ T4218] show_stack+0x2c/0x3c [ 36.838096][ T4218] dump_stack_lvl+0x108/0x170 [ 36.839257][ T4218] dump_stack+0x1c/0x58 [ 36.840314][ T4218] __might_resched+0x37c/0x4d8 [ 36.841532][ T4218] __might_sleep+0x90/0xe4 [ 36.842656][ T4218] __kmem_cache_alloc_node+0x74/0x388 [ 36.843981][ T4218] __kmalloc_node+0xcc/0x1d0 [ 36.845156][ T4218] kvmalloc_node+0x84/0x1e4 [ 36.846370][ T4218] get_dist_table+0xa0/0x354 [ 36.847516][ T4218] netem_change+0x754/0x1900 [ 36.848670][ T4218] netem_init+0x54/0xb8 [ 36.849733][ T4218] qdisc_create+0x70c/0xe64 [ 36.850870][ T4218] tc_modify_qdisc+0x9f0/0x1840 [ 36.852105][ T4218] rtnetlink_rcv_msg+0x72c/0xd94 [ 36.853381][ T4218] netlink_rcv_skb+0x20c/0x3b8 [ 36.854630][ T4218] rtnetlink_rcv+0x28/0x38 [ 36.855760][ T4218] netlink_unicast+0x660/0x8d4 [ 36.857003][ T4218] netlink_sendmsg+0x834/0xb18 [ 36.858273][ T4218] ____sys_sendmsg+0x558/0x844 [ 36.859489][ T4218] __sys_sendmsg+0x26c/0x33c [ 36.860664][ T4218] __arm64_sys_sendmsg+0x80/0x94 [ 36.861847][ T4218] invoke_syscall+0x98/0x2c0 [ 36.863019][ T4218] el0_svc_common+0x138/0x258 [ 36.864232][ T4218] do_el0_svc+0x64/0x218 [ 36.865327][ T4218] el0_svc+0x58/0x168 [ 36.866323][ T4218] el0t_64_sync_handler+0x84/0xf0 [ 36.867532][ T4218] el0t_64_sync+0x18c/0x190 [ 36.868800][ T4218] [ 36.869369][ T4218] ============================================ [ 36.870938][ T4218] WARNING: possible recursive locking detected [ 36.872462][ T4218] 6.1.45-syzkaller #0 Tainted: G W [ 36.874097][ T4218] -------------------------------------------- [ 36.875636][ T4218] syz-executor177/4218 is trying to acquire lock: [ 36.877240][ T4218] ffff0000dd8b8108 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 36.879493][ T4218] [ 36.879493][ T4218] but task is already holding lock: [ 36.881361][ T4218] ffff0000dd8b8108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.883606][ T4218] [ 36.883606][ T4218] other info that might help us debug this: [ 36.885668][ T4218] Possible unsafe locking scenario: [ 36.885668][ T4218] [ 36.887567][ T4218] CPU0 [ 36.888374][ T4218] ---- [ 36.889161][ T4218] lock(&sch->q.lock); [ 36.890252][ T4218] lock(&sch->q.lock); [ 36.891335][ T4218] [ 36.891335][ T4218] *** DEADLOCK *** [ 36.891335][ T4218] [ 36.893046][ T4218] May be due to missing lock nesting notation [ 36.893046][ T4218] [ 36.894477][ T4218] 2 locks held by syz-executor177/4218: [ 36.895424][ T4218] #0: ffff800017e6fdc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 36.897054][ T4218] #1: ffff0000dd8b8108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.899499][ T4218] [ 36.899499][ T4218] stack backtrace: [ 36.901042][ T4218] CPU: 1 PID: 4218 Comm: syz-executor177 Tainted: G W 6.1.45-syzkaller #0 [ 36.903611][ T4218] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 36.906186][ T4218] Call trace: [ 36.906996][ T4218] dump_backtrace+0x1c8/0x1f4 [ 36.908133][ T4218] show_stack+0x2c/0x3c [ 36.909326][ T4218] dump_stack_lvl+0x108/0x170 [ 36.910577][ T4218] dump_stack+0x1c/0x58 [ 36.911644][ T4218] __lock_acquire+0x6310/0x764c [ 36.912826][ T4218] lock_acquire+0x26c/0x7cc [ 36.914014][ T4218] _raw_spin_lock_bh+0x54/0x6c [ 36.915175][ T4218] get_dist_table+0x240/0x354 [ 36.916351][ T4218] netem_change+0x754/0x1900 [ 36.917479][ T4218] netem_init+0x54/0xb8 [ 36.918590][ T4218] qdisc_create+0x70c/0xe64 [ 36.919765][ T4218] tc_modify_qdisc+0x9f0/0x1840 [ 36.920981][ T4218] rtnetlink_rcv_msg+0x72c/0xd94 [ 36.922269][ T4218] netlink_rcv_skb+0x20c/0x3b8 [ 36.923461][ T4218] rtnetlink_rcv+0x28/0x38 [ 36.924545][ T4218] netlink_unicast+0x660/0x8d4 [ 36.925810][ T4218] netlink_sendmsg+0x834/0xb18 [ 36.926991][ T4218] ____sys_sendmsg+0x558/0x844 [ 36.928241][ T4218] __sys_sendmsg+0x26c/0x33c [ 36.929419][ T4218] __arm64_sys_sendmsg+0x80/0x94 [ 36.930690][ T4218] invoke_syscall+0x98/0x2c0 [ 36.931919][ T4218] el0_svc_common+0x138/0x258 [ 36.933101][ T4218] do_el0_svc+0x64/0x218 [ 36.934176][ T4218] el0_svc+0x58/0x168 [ 36.935150][ T4218] el0t_64_sync_handler+0x84/0xf0 [ 36.936413][ T4218] el0t_64_sync+0x18c/0x190