Warning: Permanently added '10.128.0.90' (ED25519) to the list of known hosts. executing program [ 39.318081][ T4217] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 39.320638][ T4217] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4217, name: syz-executor100 [ 39.323059][ T4217] preempt_count: 201, expected: 0 [ 39.324384][ T4217] RCU nest depth: 0, expected: 0 [ 39.325699][ T4217] 2 locks held by syz-executor100/4217: [ 39.327229][ T4217] #0: ffff800017e6fdc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 39.329712][ T4217] #1: ffff0000d4957908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 39.332144][ T4217] Preemption disabled at: [ 39.332155][ T4217] [] sch_tree_lock+0x120/0x1d4 [ 39.334842][ T4217] CPU: 0 PID: 4217 Comm: syz-executor100 Not tainted 6.1.45-syzkaller #0 [ 39.337048][ T4217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 39.339679][ T4217] Call trace: [ 39.340560][ T4217] dump_backtrace+0x1c8/0x1f4 [ 39.341793][ T4217] show_stack+0x2c/0x3c [ 39.342908][ T4217] dump_stack_lvl+0x108/0x170 [ 39.344120][ T4217] dump_stack+0x1c/0x58 [ 39.345179][ T4217] __might_resched+0x37c/0x4d8 [ 39.346441][ T4217] __might_sleep+0x90/0xe4 [ 39.347603][ T4217] __kmem_cache_alloc_node+0x74/0x388 [ 39.349090][ T4217] __kmalloc_node+0xcc/0x1d0 [ 39.350343][ T4217] kvmalloc_node+0x84/0x1e4 [ 39.351594][ T4217] get_dist_table+0xa0/0x354 [ 39.352857][ T4217] netem_change+0x754/0x1900 [ 39.354076][ T4217] netem_init+0x54/0xb8 [ 39.355155][ T4217] qdisc_create+0x70c/0xe64 [ 39.356348][ T4217] tc_modify_qdisc+0x9f0/0x1840 [ 39.357607][ T4217] rtnetlink_rcv_msg+0x72c/0xd94 [ 39.358907][ T4217] netlink_rcv_skb+0x20c/0x3b8 [ 39.360157][ T4217] rtnetlink_rcv+0x28/0x38 [ 39.361298][ T4217] netlink_unicast+0x660/0x8d4 [ 39.362572][ T4217] netlink_sendmsg+0x834/0xb18 [ 39.363807][ T4217] ____sys_sendmsg+0x558/0x844 [ 39.365092][ T4217] __sys_sendmsg+0x26c/0x33c [ 39.366391][ T4217] __arm64_sys_sendmsg+0x80/0x94 [ 39.367687][ T4217] invoke_syscall+0x98/0x2c0 [ 39.368956][ T4217] el0_svc_common+0x138/0x258 [ 39.370235][ T4217] do_el0_svc+0x64/0x218 [ 39.371336][ T4217] el0_svc+0x58/0x168 [ 39.372391][ T4217] el0t_64_sync_handler+0x84/0xf0 [ 39.373720][ T4217] el0t_64_sync+0x18c/0x190 [ 39.375264][ T4217] [ 39.375893][ T4217] ============================================ [ 39.377560][ T4217] WARNING: possible recursive locking detected [ 39.379210][ T4217] 6.1.45-syzkaller #0 Tainted: G W [ 39.380915][ T4217] -------------------------------------------- [ 39.382595][ T4217] syz-executor100/4217 is trying to acquire lock: [ 39.384365][ T4217] ffff0000d4957908 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 39.386756][ T4217] [ 39.386756][ T4217] but task is already holding lock: [ 39.388706][ T4217] ffff0000d4957908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 39.390991][ T4217] [ 39.390991][ T4217] other info that might help us debug this: [ 39.393077][ T4217] Possible unsafe locking scenario: [ 39.393077][ T4217] [ 39.395012][ T4217] CPU0 [ 39.395845][ T4217] ---- [ 39.396710][ T4217] lock(&sch->q.lock); [ 39.397816][ T4217] lock(&sch->q.lock); [ 39.398886][ T4217] [ 39.398886][ T4217] *** DEADLOCK *** [ 39.398886][ T4217] [ 39.401032][ T4217] May be due to missing lock nesting notation [ 39.401032][ T4217] [ 39.403217][ T4217] 2 locks held by syz-executor100/4217: [ 39.404662][ T4217] #0: ffff800017e6fdc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 39.407109][ T4217] #1: ffff0000d4957908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 39.409540][ T4217] [ 39.409540][ T4217] stack backtrace: [ 39.411026][ T4217] CPU: 0 PID: 4217 Comm: syz-executor100 Tainted: G W 6.1.45-syzkaller #0 [ 39.413524][ T4217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 39.416106][ T4217] Call trace: [ 39.416959][ T4217] dump_backtrace+0x1c8/0x1f4 [ 39.418254][ T4217] show_stack+0x2c/0x3c [ 39.419414][ T4217] dump_stack_lvl+0x108/0x170 [ 39.420696][ T4217] dump_stack+0x1c/0x58 [ 39.421853][ T4217] __lock_acquire+0x6310/0x764c [ 39.423241][ T4217] lock_acquire+0x26c/0x7cc [ 39.424400][ T4217] _raw_spin_lock_bh+0x54/0x6c [ 39.425607][ T4217] get_dist_table+0x240/0x354 [ 39.426812][ T4217] netem_change+0x754/0x1900 [ 39.427987][ T4217] netem_init+0x54/0xb8 [ 39.429086][ T4217] qdisc_create+0x70c/0xe64 [ 39.430306][ T4217] tc_modify_qdisc+0x9f0/0x1840 [ 39.431607][ T4217] rtnetlink_rcv_msg+0x72c/0xd94 [ 39.432870][ T4217] netlink_rcv_skb+0x20c/0x3b8 [ 39.434097][ T4217] rtnetlink_rcv+0x28/0x38 [ 39.435273][ T4217] netlink_unicast+0x660/0x8d4 [ 39.436503][ T4217] netlink_sendmsg+0x834/0xb18 [ 39.437739][ T4217] ____sys_sendmsg+0x558/0x844 [ 39.438975][ T4217] __sys_sendmsg+0x26c/0x33c [ 39.440186][ T4217] __arm64_sys_sendmsg+0x80/0x94 [ 39.441434][ T4217] invoke_syscall+0x98/0x2c0 [ 39.442630][ T4217] el0_svc_common+0x138/0x258 [ 39.443848][ T4217] do_el0_svc+0x64/0x218 [ 39.444926][ T4217] el0_svc+0x58/0x168 [ 39.445989][ T4217] el0t_64_sync_handler+0x84/0xf0 [ 39.447276][ T4217] el0t_64_sync+0x18c/0x190