Warning: Permanently added '10.128.1.156' (ED25519) to the list of known hosts. executing program [ 39.954128][ T4218] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 39.956795][ T4218] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4218, name: syz-executor275 [ 39.959216][ T4218] preempt_count: 201, expected: 0 [ 39.960447][ T4218] RCU nest depth: 0, expected: 0 [ 39.961716][ T4218] 2 locks held by syz-executor275/4218: [ 39.963227][ T4218] #0: ffff800017e6f7c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 39.965784][ T4218] #1: ffff0000d0796108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 39.968122][ T4218] Preemption disabled at: [ 39.968132][ T4218] [] sch_tree_lock+0x120/0x1d4 [ 39.970798][ T4218] CPU: 1 PID: 4218 Comm: syz-executor275 Not tainted 6.1.42-syzkaller #0 [ 39.972999][ T4218] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 39.975547][ T4218] Call trace: [ 39.976359][ T4218] dump_backtrace+0x1c8/0x1f4 [ 39.977522][ T4218] show_stack+0x2c/0x3c [ 39.978502][ T4218] dump_stack_lvl+0x108/0x170 [ 39.979659][ T4218] dump_stack+0x1c/0x58 [ 39.980681][ T4218] __might_resched+0x37c/0x4d8 [ 39.981863][ T4218] __might_sleep+0x90/0xe4 [ 39.983029][ T4218] __kmem_cache_alloc_node+0x74/0x388 [ 39.984425][ T4218] __kmalloc_node+0xcc/0x1d0 [ 39.985569][ T4218] kvmalloc_node+0x84/0x1e4 [ 39.986741][ T4218] get_dist_table+0xa0/0x354 [ 39.987946][ T4218] netem_change+0x7a4/0x1900 [ 39.989146][ T4218] netem_init+0x54/0xb8 [ 39.990211][ T4218] qdisc_create+0x70c/0xe64 [ 39.991394][ T4218] tc_modify_qdisc+0x9f0/0x1840 [ 39.992593][ T4218] rtnetlink_rcv_msg+0x72c/0xd94 [ 39.993881][ T4218] netlink_rcv_skb+0x20c/0x3b8 [ 39.995141][ T4218] rtnetlink_rcv+0x28/0x38 [ 39.996297][ T4218] netlink_unicast+0x660/0x8d4 [ 39.997522][ T4218] netlink_sendmsg+0x834/0xb18 [ 39.998760][ T4218] ____sys_sendmsg+0x558/0x844 [ 39.999983][ T4218] __sys_sendmsg+0x26c/0x33c [ 40.001184][ T4218] __arm64_sys_sendmsg+0x80/0x94 [ 40.002372][ T4218] invoke_syscall+0x98/0x2c0 [ 40.003585][ T4218] el0_svc_common+0x138/0x258 [ 40.004808][ T4218] do_el0_svc+0x64/0x218 [ 40.005960][ T4218] el0_svc+0x58/0x168 [ 40.007009][ T4218] el0t_64_sync_handler+0x84/0xf0 [ 40.008266][ T4218] el0t_64_sync+0x18c/0x190 [ 40.009467][ T4218] [ 40.010041][ T4218] ============================================ [ 40.011558][ T4218] WARNING: possible recursive locking detected [ 40.013144][ T4218] 6.1.42-syzkaller #0 Tainted: G W [ 40.014776][ T4218] -------------------------------------------- [ 40.016358][ T4218] syz-executor275/4218 is trying to acquire lock: [ 40.018028][ T4218] ffff0000d0796108 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 40.020335][ T4218] [ 40.020335][ T4218] but task is already holding lock: [ 40.022266][ T4218] ffff0000d0796108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 40.024586][ T4218] [ 40.024586][ T4218] other info that might help us debug this: [ 40.026708][ T4218] Possible unsafe locking scenario: [ 40.026708][ T4218] [ 40.028679][ T4218] CPU0 [ 40.029488][ T4218] ---- [ 40.030316][ T4218] lock(&sch->q.lock); [ 40.031415][ T4218] lock(&sch->q.lock); [ 40.032554][ T4218] [ 40.032554][ T4218] *** DEADLOCK *** [ 40.032554][ T4218] [ 40.034637][ T4218] May be due to missing lock nesting notation [ 40.034637][ T4218] [ 40.036795][ T4218] 2 locks held by syz-executor275/4218: [ 40.038233][ T4218] #0: ffff800017e6f7c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 40.040654][ T4218] #1: ffff0000d0796108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 40.043153][ T4218] [ 40.043153][ T4218] stack backtrace: [ 40.044684][ T4218] CPU: 1 PID: 4218 Comm: syz-executor275 Tainted: G W 6.1.42-syzkaller #0 [ 40.047234][ T4218] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 40.049830][ T4218] Call trace: [ 40.050651][ T4218] dump_backtrace+0x1c8/0x1f4 [ 40.051837][ T4218] show_stack+0x2c/0x3c [ 40.052939][ T4218] dump_stack_lvl+0x108/0x170 [ 40.054094][ T4218] dump_stack+0x1c/0x58 [ 40.055160][ T4218] __lock_acquire+0x6310/0x764c [ 40.056426][ T4218] lock_acquire+0x26c/0x7cc [ 40.057590][ T4218] _raw_spin_lock_bh+0x54/0x6c [ 40.058854][ T4218] get_dist_table+0x240/0x354 [ 40.060054][ T4218] netem_change+0x7a4/0x1900 [ 40.061223][ T4218] netem_init+0x54/0xb8 [ 40.062279][ T4218] qdisc_create+0x70c/0xe64 [ 40.063421][ T4218] tc_modify_qdisc+0x9f0/0x1840 [ 40.064673][ T4218] rtnetlink_rcv_msg+0x72c/0xd94 [ 40.065953][ T4218] netlink_rcv_skb+0x20c/0x3b8 [ 40.067178][ T4218] rtnetlink_rcv+0x28/0x38 [ 40.068308][ T4218] netlink_unicast+0x660/0x8d4 [ 40.069538][ T4218] netlink_sendmsg+0x834/0xb18 [ 40.070803][ T4218] ____sys_sendmsg+0x558/0x844 [ 40.072024][ T4218] __sys_sendmsg+0x26c/0x33c [ 40.073222][ T4218] __arm64_sys_sendmsg+0x80/0x94 [ 40.074488][ T4218] invoke_syscall+0x98/0x2c0 [ 40.075679][ T4218] el0_svc_common+0x138/0x258 [ 40.076944][ T4218] do_el0_svc+0x64/0x218 [ 40.078006][ T4218] el0_svc+0x58/0x168 [ 40.079043][ T4218] el0t_64_sync_handler+0x84/0xf0 [ 40.080314][ T4218] el0t_64_sync+0x18c/0x190