Warning: Permanently added '10.128.0.124' (ED25519) to the list of known hosts. executing program [ 32.623345][ T4217] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 32.625964][ T4217] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4217, name: syz-executor278 [ 32.628500][ T4217] preempt_count: 201, expected: 0 [ 32.629819][ T4217] RCU nest depth: 0, expected: 0 [ 32.631045][ T4217] 2 locks held by syz-executor278/4217: [ 32.632550][ T4217] #0: ffff800017e6fac8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 32.635047][ T4217] #1: ffff0000d41fa108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 32.637531][ T4217] Preemption disabled at: [ 32.637541][ T4217] [] sch_tree_lock+0x120/0x1d4 [ 32.640195][ T4217] CPU: 0 PID: 4217 Comm: syz-executor278 Not tainted 6.1.43-syzkaller #0 [ 32.642363][ T4217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 32.644867][ T4217] Call trace: [ 32.645706][ T4217] dump_backtrace+0x1c8/0x1f4 [ 32.646898][ T4217] show_stack+0x2c/0x3c [ 32.648033][ T4217] dump_stack_lvl+0x108/0x170 [ 32.649292][ T4217] dump_stack+0x1c/0x58 [ 32.650387][ T4217] __might_resched+0x37c/0x4d8 [ 32.651613][ T4217] __might_sleep+0x90/0xe4 [ 32.652758][ T4217] __kmem_cache_alloc_node+0x74/0x388 [ 32.654152][ T4217] __kmalloc_node+0xcc/0x1d0 [ 32.655389][ T4217] kvmalloc_node+0x84/0x1e4 [ 32.656555][ T4217] get_dist_table+0xa0/0x354 [ 32.657791][ T4217] netem_change+0x754/0x1900 [ 32.659002][ T4217] netem_init+0x54/0xb8 [ 32.660084][ T4217] qdisc_create+0x70c/0xe64 [ 32.661247][ T4217] tc_modify_qdisc+0x9f0/0x1840 [ 32.662512][ T4217] rtnetlink_rcv_msg+0x72c/0xd94 [ 32.663836][ T4217] netlink_rcv_skb+0x20c/0x3b8 [ 32.665040][ T4217] rtnetlink_rcv+0x28/0x38 [ 32.666254][ T4217] netlink_unicast+0x660/0x8d4 [ 32.667636][ T4217] netlink_sendmsg+0x834/0xb18 [ 32.668980][ T4217] ____sys_sendmsg+0x558/0x844 [ 32.670284][ T4217] __sys_sendmsg+0x26c/0x33c [ 32.671528][ T4217] __arm64_sys_sendmsg+0x80/0x94 [ 32.672857][ T4217] invoke_syscall+0x98/0x2c0 [ 32.674081][ T4217] el0_svc_common+0x138/0x258 [ 32.675349][ T4217] do_el0_svc+0x64/0x218 [ 32.676502][ T4217] el0_svc+0x58/0x168 [ 32.677585][ T4217] el0t_64_sync_handler+0x84/0xf0 [ 32.678911][ T4217] el0t_64_sync+0x18c/0x190 [ 32.680197][ T4217] [ 32.680765][ T4217] ============================================ [ 32.682320][ T4217] WARNING: possible recursive locking detected [ 32.683820][ T4217] 6.1.43-syzkaller #0 Tainted: G W [ 32.685507][ T4217] -------------------------------------------- [ 32.687116][ T4217] syz-executor278/4217 is trying to acquire lock: [ 32.688802][ T4217] ffff0000d41fa108 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 32.691095][ T4217] [ 32.691095][ T4217] but task is already holding lock: [ 32.693062][ T4217] ffff0000d41fa108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 32.695402][ T4217] [ 32.695402][ T4217] other info that might help us debug this: [ 32.697522][ T4217] Possible unsafe locking scenario: [ 32.697522][ T4217] [ 32.699489][ T4217] CPU0 [ 32.700324][ T4217] ---- [ 32.701155][ T4217] lock(&sch->q.lock); [ 32.702227][ T4217] lock(&sch->q.lock); [ 32.703344][ T4217] [ 32.703344][ T4217] *** DEADLOCK *** [ 32.703344][ T4217] [ 32.705482][ T4217] May be due to missing lock nesting notation [ 32.705482][ T4217] [ 32.707766][ T4217] 2 locks held by syz-executor278/4217: [ 32.709195][ T4217] #0: ffff800017e6fac8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 32.711852][ T4217] #1: ffff0000d41fa108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 32.714362][ T4217] [ 32.714362][ T4217] stack backtrace: [ 32.715999][ T4217] CPU: 0 PID: 4217 Comm: syz-executor278 Tainted: G W 6.1.43-syzkaller #0 [ 32.718647][ T4217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 32.721341][ T4217] Call trace: [ 32.722163][ T4217] dump_backtrace+0x1c8/0x1f4 [ 32.723396][ T4217] show_stack+0x2c/0x3c [ 32.724486][ T4217] dump_stack_lvl+0x108/0x170 [ 32.725734][ T4217] dump_stack+0x1c/0x58 [ 32.726838][ T4217] __lock_acquire+0x6310/0x764c [ 32.728100][ T4217] lock_acquire+0x26c/0x7cc [ 32.729298][ T4217] _raw_spin_lock_bh+0x54/0x6c [ 32.730554][ T4217] get_dist_table+0x240/0x354 [ 32.731841][ T4217] netem_change+0x754/0x1900 [ 32.733070][ T4217] netem_init+0x54/0xb8 [ 32.734192][ T4217] qdisc_create+0x70c/0xe64 [ 32.735420][ T4217] tc_modify_qdisc+0x9f0/0x1840 [ 32.736689][ T4217] rtnetlink_rcv_msg+0x72c/0xd94 [ 32.737953][ T4217] netlink_rcv_skb+0x20c/0x3b8 [ 32.739180][ T4217] rtnetlink_rcv+0x28/0x38 [ 32.740349][ T4217] netlink_unicast+0x660/0x8d4 [ 32.741653][ T4217] netlink_sendmsg+0x834/0xb18 [ 32.742889][ T4217] ____sys_sendmsg+0x558/0x844 [ 32.744186][ T4217] __sys_sendmsg+0x26c/0x33c [ 32.745441][ T4217] __arm64_sys_sendmsg+0x80/0x94 [ 32.746713][ T4217] invoke_syscall+0x98/0x2c0 [ 32.747952][ T4217] el0_svc_common+0x138/0x258 [ 32.749184][ T4217] do_el0_svc+0x64/0x218 [ 32.750301][ T4217] el0_svc+0x58/0x168 [ 32.751398][ T4217] el0t_64_sync_handler+0x84/0xf0 [ 32.752703][ T4217] el0t_64_sync+0x18c/0x190