Warning: Permanently added '10.128.0.213' (ED25519) to the list of known hosts. executing program [ 36.518923][ T4217] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 36.521481][ T4217] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4217, name: syz-executor319 [ 36.523781][ T4217] preempt_count: 201, expected: 0 [ 36.525002][ T4217] RCU nest depth: 0, expected: 0 [ 36.526248][ T4217] 2 locks held by syz-executor319/4217: [ 36.527631][ T4217] #0: ffff800017e6fdc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 36.529942][ T4217] #1: ffff0000dd98f108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.532404][ T4217] Preemption disabled at: [ 36.532415][ T4217] [] sch_tree_lock+0x120/0x1d4 [ 36.535076][ T4217] CPU: 1 PID: 4217 Comm: syz-executor319 Not tainted 6.1.45-syzkaller #0 [ 36.537164][ T4217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 36.539576][ T4217] Call trace: [ 36.540387][ T4217] dump_backtrace+0x1c8/0x1f4 [ 36.541576][ T4217] show_stack+0x2c/0x3c [ 36.542633][ T4217] dump_stack_lvl+0x108/0x170 [ 36.543808][ T4217] dump_stack+0x1c/0x58 [ 36.544859][ T4217] __might_resched+0x37c/0x4d8 [ 36.545790][ T4217] __might_sleep+0x90/0xe4 [ 36.546924][ T4217] __kmem_cache_alloc_node+0x74/0x388 [ 36.548380][ T4217] __kmalloc_node+0xcc/0x1d0 [ 36.549596][ T4217] kvmalloc_node+0x84/0x1e4 [ 36.550796][ T4217] get_dist_table+0xa0/0x354 [ 36.551969][ T4217] netem_change+0x7a4/0x1900 [ 36.553149][ T4217] netem_init+0x54/0xb8 [ 36.554290][ T4217] qdisc_create+0x70c/0xe64 [ 36.555427][ T4217] tc_modify_qdisc+0x9f0/0x1840 [ 36.556596][ T4217] rtnetlink_rcv_msg+0x72c/0xd94 [ 36.557882][ T4217] netlink_rcv_skb+0x20c/0x3b8 [ 36.559131][ T4217] rtnetlink_rcv+0x28/0x38 [ 36.560251][ T4217] netlink_unicast+0x660/0x8d4 [ 36.561563][ T4217] netlink_sendmsg+0x834/0xb18 [ 36.562812][ T4217] ____sys_sendmsg+0x558/0x844 [ 36.563979][ T4217] __sys_sendmsg+0x26c/0x33c [ 36.565083][ T4217] __arm64_sys_sendmsg+0x80/0x94 [ 36.566380][ T4217] invoke_syscall+0x98/0x2c0 [ 36.567517][ T4217] el0_svc_common+0x138/0x258 [ 36.568685][ T4217] do_el0_svc+0x64/0x218 [ 36.569758][ T4217] el0_svc+0x58/0x168 [ 36.570824][ T4217] el0t_64_sync_handler+0x84/0xf0 [ 36.572088][ T4217] el0t_64_sync+0x18c/0x190 [ 36.573405][ T4217] [ 36.574006][ T4217] ============================================ [ 36.575484][ T4217] WARNING: possible recursive locking detected [ 36.576976][ T4217] 6.1.45-syzkaller #0 Tainted: G W [ 36.578522][ T4217] -------------------------------------------- [ 36.580066][ T4217] syz-executor319/4217 is trying to acquire lock: [ 36.581676][ T4217] ffff0000dd98f108 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 36.583907][ T4217] [ 36.583907][ T4217] but task is already holding lock: [ 36.585792][ T4217] ffff0000dd98f108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.588092][ T4217] [ 36.588092][ T4217] other info that might help us debug this: [ 36.590175][ T4217] Possible unsafe locking scenario: [ 36.590175][ T4217] [ 36.592030][ T4217] CPU0 [ 36.592822][ T4217] ---- [ 36.593661][ T4217] lock(&sch->q.lock); [ 36.594748][ T4217] lock(&sch->q.lock); [ 36.595836][ T4217] [ 36.595836][ T4217] *** DEADLOCK *** [ 36.595836][ T4217] [ 36.597842][ T4217] May be due to missing lock nesting notation [ 36.597842][ T4217] [ 36.599934][ T4217] 2 locks held by syz-executor319/4217: [ 36.601295][ T4217] #0: ffff800017e6fdc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 36.603698][ T4217] #1: ffff0000dd98f108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.606017][ T4217] [ 36.606017][ T4217] stack backtrace: [ 36.607504][ T4217] CPU: 1 PID: 4217 Comm: syz-executor319 Tainted: G W 6.1.45-syzkaller #0 [ 36.609928][ T4217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 36.612414][ T4217] Call trace: [ 36.613232][ T4217] dump_backtrace+0x1c8/0x1f4 [ 36.614373][ T4217] show_stack+0x2c/0x3c [ 36.615396][ T4217] dump_stack_lvl+0x108/0x170 [ 36.616600][ T4217] dump_stack+0x1c/0x58 [ 36.617623][ T4217] __lock_acquire+0x6310/0x764c [ 36.618830][ T4217] lock_acquire+0x26c/0x7cc [ 36.620018][ T4217] _raw_spin_lock_bh+0x54/0x6c [ 36.621270][ T4217] get_dist_table+0x240/0x354 [ 36.622105][ T4217] netem_change+0x7a4/0x1900 [ 36.622921][ T4217] netem_init+0x54/0xb8 [ 36.623652][ T4217] qdisc_create+0x70c/0xe64 [ 36.624436][ T4217] tc_modify_qdisc+0x9f0/0x1840 [ 36.625287][ T4217] rtnetlink_rcv_msg+0x72c/0xd94 [ 36.626162][ T4217] netlink_rcv_skb+0x20c/0x3b8 [ 36.627428][ T4217] rtnetlink_rcv+0x28/0x38 [ 36.628539][ T4217] netlink_unicast+0x660/0x8d4 [ 36.629716][ T4217] netlink_sendmsg+0x834/0xb18 [ 36.630897][ T4217] ____sys_sendmsg+0x558/0x844 [ 36.632213][ T4217] __sys_sendmsg+0x26c/0x33c [ 36.633443][ T4217] __arm64_sys_sendmsg+0x80/0x94 [ 36.634694][ T4217] invoke_syscall+0x98/0x2c0 [ 36.635901][ T4217] el0_svc_common+0x138/0x258 [ 36.636993][ T4217] do_el0_svc+0x64/0x218 [ 36.638020][ T4217] el0_svc+0x58/0x168 [ 36.639024][ T4217] el0t_64_sync_handler+0x84/0xf0 [ 36.640259][ T4217] el0t_64_sync+0x18c/0x190