Warning: Permanently added '10.128.1.70' (ED25519) to the list of known hosts. executing program [ 36.658041][ T4216] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 36.660745][ T4216] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4216, name: syz-executor190 [ 36.663147][ T4216] preempt_count: 201, expected: 0 [ 36.664369][ T4216] RCU nest depth: 0, expected: 0 [ 36.665611][ T4216] 2 locks held by syz-executor190/4216: [ 36.666990][ T4216] #0: ffff800017e6f7c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 36.669437][ T4216] #1: ffff0000d40c0908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.672174][ T4216] Preemption disabled at: [ 36.672184][ T4216] [] sch_tree_lock+0x120/0x1d4 [ 36.674967][ T4216] CPU: 0 PID: 4216 Comm: syz-executor190 Not tainted 6.1.42-syzkaller #0 [ 36.677139][ T4216] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 36.679678][ T4216] Call trace: [ 36.680490][ T4216] dump_backtrace+0x1c8/0x1f4 [ 36.681709][ T4216] show_stack+0x2c/0x3c [ 36.682764][ T4216] dump_stack_lvl+0x108/0x170 [ 36.683984][ T4216] dump_stack+0x1c/0x58 [ 36.685032][ T4216] __might_resched+0x37c/0x4d8 [ 36.686277][ T4216] __might_sleep+0x90/0xe4 [ 36.687436][ T4216] __kmem_cache_alloc_node+0x74/0x388 [ 36.688856][ T4216] __kmalloc_node+0xcc/0x1d0 [ 36.690032][ T4216] kvmalloc_node+0x84/0x1e4 [ 36.691198][ T4216] get_dist_table+0xa0/0x354 [ 36.692387][ T4216] netem_change+0x754/0x1900 [ 36.693591][ T4216] netem_init+0x54/0xb8 [ 36.694665][ T4216] qdisc_create+0x70c/0xe64 [ 36.695819][ T4216] tc_modify_qdisc+0x9f0/0x1840 [ 36.697056][ T4216] rtnetlink_rcv_msg+0x72c/0xd94 [ 36.698366][ T4216] netlink_rcv_skb+0x20c/0x3b8 [ 36.699573][ T4216] rtnetlink_rcv+0x28/0x38 [ 36.700778][ T4216] netlink_unicast+0x660/0x8d4 [ 36.702055][ T4216] netlink_sendmsg+0x834/0xb18 [ 36.703361][ T4216] ____sys_sendmsg+0x558/0x844 [ 36.704644][ T4216] __sys_sendmsg+0x26c/0x33c [ 36.705843][ T4216] __arm64_sys_sendmsg+0x80/0x94 [ 36.707158][ T4216] invoke_syscall+0x98/0x2c0 [ 36.708358][ T4216] el0_svc_common+0x138/0x258 [ 36.709570][ T4216] do_el0_svc+0x64/0x218 [ 36.710737][ T4216] el0_svc+0x58/0x168 [ 36.711823][ T4216] el0t_64_sync_handler+0x84/0xf0 [ 36.713135][ T4216] el0t_64_sync+0x18c/0x190 [ 36.714456][ T4216] [ 36.715036][ T4216] ============================================ [ 36.716635][ T4216] WARNING: possible recursive locking detected [ 36.718164][ T4216] 6.1.42-syzkaller #0 Tainted: G W [ 36.719848][ T4216] -------------------------------------------- [ 36.721474][ T4216] syz-executor190/4216 is trying to acquire lock: [ 36.723103][ T4216] ffff0000d40c0908 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 36.725441][ T4216] [ 36.725441][ T4216] but task is already holding lock: [ 36.727337][ T4216] ffff0000d40c0908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.729655][ T4216] [ 36.729655][ T4216] other info that might help us debug this: [ 36.731758][ T4216] Possible unsafe locking scenario: [ 36.731758][ T4216] [ 36.733689][ T4216] CPU0 [ 36.734519][ T4216] ---- [ 36.735362][ T4216] lock(&sch->q.lock); [ 36.736447][ T4216] lock(&sch->q.lock); [ 36.737527][ T4216] [ 36.737527][ T4216] *** DEADLOCK *** [ 36.737527][ T4216] [ 36.739616][ T4216] May be due to missing lock nesting notation [ 36.739616][ T4216] [ 36.741759][ T4216] 2 locks held by syz-executor190/4216: [ 36.743172][ T4216] #0: ffff800017e6f7c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 36.745629][ T4216] #1: ffff0000d40c0908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.747978][ T4216] [ 36.747978][ T4216] stack backtrace: [ 36.749516][ T4216] CPU: 0 PID: 4216 Comm: syz-executor190 Tainted: G W 6.1.42-syzkaller #0 [ 36.752083][ T4216] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 36.754575][ T4216] Call trace: [ 36.755407][ T4216] dump_backtrace+0x1c8/0x1f4 [ 36.756640][ T4216] show_stack+0x2c/0x3c [ 36.757733][ T4216] dump_stack_lvl+0x108/0x170 [ 36.758939][ T4216] dump_stack+0x1c/0x58 [ 36.759997][ T4216] __lock_acquire+0x6310/0x764c [ 36.761296][ T4216] lock_acquire+0x26c/0x7cc [ 36.762456][ T4216] _raw_spin_lock_bh+0x54/0x6c [ 36.763697][ T4216] get_dist_table+0x240/0x354 [ 36.764906][ T4216] netem_change+0x754/0x1900 [ 36.766103][ T4216] netem_init+0x54/0xb8 [ 36.767145][ T4216] qdisc_create+0x70c/0xe64 [ 36.768294][ T4216] tc_modify_qdisc+0x9f0/0x1840 [ 36.769501][ T4216] rtnetlink_rcv_msg+0x72c/0xd94 [ 36.770790][ T4216] netlink_rcv_skb+0x20c/0x3b8 [ 36.772013][ T4216] rtnetlink_rcv+0x28/0x38 [ 36.773115][ T4216] netlink_unicast+0x660/0x8d4 [ 36.774351][ T4216] netlink_sendmsg+0x834/0xb18 [ 36.775600][ T4216] ____sys_sendmsg+0x558/0x844 [ 36.776820][ T4216] __sys_sendmsg+0x26c/0x33c [ 36.778001][ T4216] __arm64_sys_sendmsg+0x80/0x94 [ 36.779288][ T4216] invoke_syscall+0x98/0x2c0 [ 36.780467][ T4216] el0_svc_common+0x138/0x258 [ 36.781678][ T4216] do_el0_svc+0x64/0x218 [ 36.782777][ T4216] el0_svc+0x58/0x168 [ 36.783797][ T4216] el0t_64_sync_handler+0x84/0xf0 [ 36.785068][ T4216] el0t_64_sync+0x18c/0x190