Warning: Permanently added '10.128.1.95' (ECDSA) to the list of known hosts. executing program [ 35.320391][ T4218] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 35.322504][ T4218] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4218, name: syz-executor220 [ 35.324474][ T4218] preempt_count: 201, expected: 0 [ 35.325542][ T4218] RCU nest depth: 0, expected: 0 [ 35.326580][ T4218] 2 locks held by syz-executor220/4218: [ 35.327669][ T4218] #0: ffff800017b8e848 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 35.329529][ T4218] #1: ffff0000d4537908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 35.331448][ T4218] Preemption disabled at: [ 35.331458][ T4218] [] sch_tree_lock+0x120/0x1d4 [ 35.333595][ T4218] CPU: 0 PID: 4218 Comm: syz-executor220 Not tainted 6.1.36-syzkaller #0 [ 35.335349][ T4218] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 [ 35.337358][ T4218] Call trace: [ 35.338100][ T4218] dump_backtrace+0x1c8/0x1f4 [ 35.339118][ T4218] show_stack+0x2c/0x3c [ 35.339995][ T4218] dump_stack_lvl+0x108/0x170 [ 35.341016][ T4218] dump_stack+0x1c/0x58 [ 35.341887][ T4218] __might_resched+0x37c/0x4d8 [ 35.342846][ T4218] __might_sleep+0x90/0xe4 [ 35.343746][ T4218] __kmem_cache_alloc_node+0x74/0x388 [ 35.344832][ T4218] __kmalloc_node+0xcc/0x1d0 [ 35.345793][ T4218] kvmalloc_node+0x84/0x1e4 [ 35.346689][ T4218] get_dist_table+0xa0/0x354 [ 35.347660][ T4218] netem_change+0x754/0x1900 [ 35.348593][ T4218] netem_init+0x54/0xb8 [ 35.349487][ T4218] qdisc_create+0x70c/0xe64 [ 35.350458][ T4218] tc_modify_qdisc+0x9f0/0x1840 [ 35.351454][ T4218] rtnetlink_rcv_msg+0x72c/0xd94 [ 35.352446][ T4218] netlink_rcv_skb+0x20c/0x3b8 [ 35.353396][ T4218] rtnetlink_rcv+0x28/0x38 [ 35.354328][ T4218] netlink_unicast+0x660/0x8d4 [ 35.355270][ T4218] netlink_sendmsg+0x834/0xb18 [ 35.356316][ T4218] ____sys_sendmsg+0x558/0x844 [ 35.357423][ T4218] __sys_sendmsg+0x26c/0x33c [ 35.358344][ T4218] __arm64_sys_sendmsg+0x80/0x94 [ 35.359358][ T4218] invoke_syscall+0x98/0x2c0 [ 35.360367][ T4218] el0_svc_common+0x138/0x258 [ 35.361346][ T4218] do_el0_svc+0x64/0x218 [ 35.362295][ T4218] el0_svc+0x58/0x168 [ 35.363150][ T4218] el0t_64_sync_handler+0x84/0xf0 [ 35.364252][ T4218] el0t_64_sync+0x18c/0x190 [ 35.365248][ T4218] [ 35.365796][ T4218] ============================================ [ 35.366939][ T4218] WARNING: possible recursive locking detected [ 35.368195][ T4218] 6.1.36-syzkaller #0 Tainted: G W [ 35.369491][ T4218] -------------------------------------------- [ 35.370705][ T4218] syz-executor220/4218 is trying to acquire lock: [ 35.372012][ T4218] ffff0000d4537908 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 35.373854][ T4218] [ 35.373854][ T4218] but task is already holding lock: [ 35.375353][ T4218] ffff0000d4537908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 35.377231][ T4218] [ 35.377231][ T4218] other info that might help us debug this: [ 35.378866][ T4218] Possible unsafe locking scenario: [ 35.378866][ T4218] [ 35.380435][ T4218] CPU0 [ 35.381127][ T4218] ---- [ 35.381805][ T4218] lock(&sch->q.lock); [ 35.382651][ T4218] lock(&sch->q.lock); [ 35.383560][ T4218] [ 35.383560][ T4218] *** DEADLOCK *** [ 35.383560][ T4218] [ 35.385152][ T4218] May be due to missing lock nesting notation [ 35.385152][ T4218] [ 35.386782][ T4218] 2 locks held by syz-executor220/4218: [ 35.387916][ T4218] #0: ffff800017b8e848 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 35.389870][ T4218] #1: ffff0000d4537908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 35.391763][ T4218] [ 35.391763][ T4218] stack backtrace: [ 35.392985][ T4218] CPU: 0 PID: 4218 Comm: syz-executor220 Tainted: G W 6.1.36-syzkaller #0 [ 35.395146][ T4218] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 [ 35.397228][ T4218] Call trace: [ 35.397971][ T4218] dump_backtrace+0x1c8/0x1f4 [ 35.398994][ T4218] show_stack+0x2c/0x3c [ 35.399874][ T4218] dump_stack_lvl+0x108/0x170 [ 35.400850][ T4218] dump_stack+0x1c/0x58 [ 35.401752][ T4218] __lock_acquire+0x6310/0x764c [ 35.402721][ T4218] lock_acquire+0x26c/0x7cc [ 35.403624][ T4218] _raw_spin_lock_bh+0x54/0x6c [ 35.404625][ T4218] get_dist_table+0x240/0x354 [ 35.405537][ T4218] netem_change+0x754/0x1900 [ 35.406518][ T4218] netem_init+0x54/0xb8 [ 35.407378][ T4218] qdisc_create+0x70c/0xe64 [ 35.408304][ T4218] tc_modify_qdisc+0x9f0/0x1840 [ 35.409334][ T4218] rtnetlink_rcv_msg+0x72c/0xd94 [ 35.410359][ T4218] netlink_rcv_skb+0x20c/0x3b8 [ 35.411325][ T4218] rtnetlink_rcv+0x28/0x38 [ 35.412227][ T4218] netlink_unicast+0x660/0x8d4 [ 35.413188][ T4218] netlink_sendmsg+0x834/0xb18 [ 35.414184][ T4218] ____sys_sendmsg+0x558/0x844 [ 35.415150][ T4218] __sys_sendmsg+0x26c/0x33c [ 35.416144][ T4218] __arm64_sys_sendmsg+0x80/0x94 [ 35.417236][ T4218] invoke_syscall+0x98/0x2c0 [ 35.418157][ T4218] el0_svc_common+0x138/0x258 [ 35.419053][ T4218] do_el0_svc+0x64/0x218 [ 35.419968][ T4218] el0_svc+0x58/0x168 [ 35.420827][ T4218] el0t_64_sync_handler+0x84/0xf0 [ 35.421873][ T4218] el0t_64_sync+0x18c/0x190