Warning: Permanently added '10.128.0.175' (ED25519) to the list of known hosts. executing program [ 35.859196][ T4224] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 35.862014][ T4224] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4224, name: syz-executor100 [ 35.864433][ T4224] preempt_count: 201, expected: 0 [ 35.865744][ T4224] RCU nest depth: 0, expected: 0 [ 35.867032][ T4224] 2 locks held by syz-executor100/4224: [ 35.868340][ T4224] #0: ffff800017e6fdc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 35.871083][ T4224] #1: ffff0000d4aca108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 35.873718][ T4224] Preemption disabled at: [ 35.873728][ T4224] [] sch_tree_lock+0x120/0x1d4 [ 35.876508][ T4224] CPU: 0 PID: 4224 Comm: syz-executor100 Not tainted 6.1.45-syzkaller #0 [ 35.878689][ T4224] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 35.881251][ T4224] Call trace: [ 35.882117][ T4224] dump_backtrace+0x1c8/0x1f4 [ 35.883393][ T4224] show_stack+0x2c/0x3c [ 35.884527][ T4224] dump_stack_lvl+0x108/0x170 [ 35.885783][ T4224] dump_stack+0x1c/0x58 [ 35.886910][ T4224] __might_resched+0x37c/0x4d8 [ 35.888154][ T4224] __might_sleep+0x90/0xe4 [ 35.889336][ T4224] __kmem_cache_alloc_node+0x74/0x388 [ 35.890752][ T4224] __kmalloc_node+0xcc/0x1d0 [ 35.891972][ T4224] kvmalloc_node+0x84/0x1e4 [ 35.893189][ T4224] get_dist_table+0xa0/0x354 [ 35.894381][ T4224] netem_change+0x754/0x1900 [ 35.895602][ T4224] netem_init+0x54/0xb8 [ 35.896787][ T4224] qdisc_create+0x70c/0xe64 [ 35.897955][ T4224] tc_modify_qdisc+0x9f0/0x1840 [ 35.899250][ T4224] rtnetlink_rcv_msg+0x72c/0xd94 [ 35.900600][ T4224] netlink_rcv_skb+0x20c/0x3b8 [ 35.901903][ T4224] rtnetlink_rcv+0x28/0x38 [ 35.903123][ T4224] netlink_unicast+0x660/0x8d4 [ 35.904351][ T4224] netlink_sendmsg+0x834/0xb18 [ 35.905588][ T4224] ____sys_sendmsg+0x558/0x844 [ 35.906877][ T4224] __sys_sendmsg+0x26c/0x33c [ 35.908105][ T4224] __arm64_sys_sendmsg+0x80/0x94 [ 35.909444][ T4224] invoke_syscall+0x98/0x2c0 [ 35.910670][ T4224] el0_svc_common+0x138/0x258 [ 35.911925][ T4224] do_el0_svc+0x64/0x218 [ 35.912997][ T4224] el0_svc+0x58/0x168 [ 35.914047][ T4224] el0t_64_sync_handler+0x84/0xf0 [ 35.915431][ T4224] el0t_64_sync+0x18c/0x190 [ 35.916721][ T4224] [ 35.917236][ T4224] ============================================ [ 35.918827][ T4224] WARNING: possible recursive locking detected [ 35.920440][ T4224] 6.1.45-syzkaller #0 Tainted: G W [ 35.922136][ T4224] -------------------------------------------- [ 35.923754][ T4224] syz-executor100/4224 is trying to acquire lock: [ 35.925440][ T4224] ffff0000d4aca108 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 35.927803][ T4224] [ 35.927803][ T4224] but task is already holding lock: [ 35.929832][ T4224] ffff0000d4aca108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 35.932207][ T4224] [ 35.932207][ T4224] other info that might help us debug this: [ 35.934377][ T4224] Possible unsafe locking scenario: [ 35.934377][ T4224] [ 35.936330][ T4224] CPU0 [ 35.937213][ T4224] ---- [ 35.938059][ T4224] lock(&sch->q.lock); [ 35.939135][ T4224] lock(&sch->q.lock); [ 35.940234][ T4224] [ 35.940234][ T4224] *** DEADLOCK *** [ 35.940234][ T4224] [ 35.942348][ T4224] May be due to missing lock nesting notation [ 35.942348][ T4224] [ 35.944520][ T4224] 2 locks held by syz-executor100/4224: [ 35.945960][ T4224] #0: ffff800017e6fdc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 35.948460][ T4224] #1: ffff0000d4aca108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 35.950855][ T4224] [ 35.950855][ T4224] stack backtrace: [ 35.952374][ T4224] CPU: 0 PID: 4224 Comm: syz-executor100 Tainted: G W 6.1.45-syzkaller #0 [ 35.954990][ T4224] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 35.957714][ T4224] Call trace: [ 35.958559][ T4224] dump_backtrace+0x1c8/0x1f4 [ 35.959805][ T4224] show_stack+0x2c/0x3c [ 35.960866][ T4224] dump_stack_lvl+0x108/0x170 [ 35.962145][ T4224] dump_stack+0x1c/0x58 [ 35.963259][ T4224] __lock_acquire+0x6310/0x764c [ 35.964557][ T4224] lock_acquire+0x26c/0x7cc [ 35.965777][ T4224] _raw_spin_lock_bh+0x54/0x6c [ 35.967043][ T4224] get_dist_table+0x240/0x354 [ 35.968265][ T4224] netem_change+0x754/0x1900 [ 35.969533][ T4224] netem_init+0x54/0xb8 [ 35.970624][ T4224] qdisc_create+0x70c/0xe64 [ 35.971803][ T4224] tc_modify_qdisc+0x9f0/0x1840 [ 35.973038][ T4224] rtnetlink_rcv_msg+0x72c/0xd94 [ 35.974311][ T4224] netlink_rcv_skb+0x20c/0x3b8 [ 35.975602][ T4224] rtnetlink_rcv+0x28/0x38 [ 35.976785][ T4224] netlink_unicast+0x660/0x8d4 [ 35.978091][ T4224] netlink_sendmsg+0x834/0xb18 [ 35.979322][ T4224] ____sys_sendmsg+0x558/0x844 [ 35.980576][ T4224] __sys_sendmsg+0x26c/0x33c [ 35.981768][ T4224] __arm64_sys_sendmsg+0x80/0x94 [ 35.983009][ T4224] invoke_syscall+0x98/0x2c0 [ 35.984243][ T4224] el0_svc_common+0x138/0x258 [ 35.985495][ T4224] do_el0_svc+0x64/0x218 [ 35.986613][ T4224] el0_svc+0x58/0x168 [ 35.987651][ T4224] el0t_64_sync_handler+0x84/0xf0 [ 35.988965][ T4224] el0t_64_sync+0x18c/0x190