Warning: Permanently added '10.128.1.87' (ED25519) to the list of known hosts. executing program [ 34.065492][ T4218] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 34.068072][ T4218] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4218, name: syz-executor221 [ 34.070419][ T4218] preempt_count: 201, expected: 0 [ 34.071730][ T4218] RCU nest depth: 0, expected: 0 [ 34.072982][ T4218] 2 locks held by syz-executor221/4218: [ 34.074477][ T4218] #0: ffff800017e6fdc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 34.076919][ T4218] #1: ffff0000d0765908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 34.079360][ T4218] Preemption disabled at: [ 34.079370][ T4218] [] sch_tree_lock+0x120/0x1d4 [ 34.082068][ T4218] CPU: 0 PID: 4218 Comm: syz-executor221 Not tainted 6.1.45-syzkaller #0 [ 34.084157][ T4218] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 34.086783][ T4218] Call trace: [ 34.087663][ T4218] dump_backtrace+0x1c8/0x1f4 [ 34.088880][ T4218] show_stack+0x2c/0x3c [ 34.089928][ T4218] dump_stack_lvl+0x108/0x170 [ 34.091120][ T4218] dump_stack+0x1c/0x58 [ 34.092212][ T4218] __might_resched+0x37c/0x4d8 [ 34.093389][ T4218] __might_sleep+0x90/0xe4 [ 34.094565][ T4218] __kmem_cache_alloc_node+0x74/0x388 [ 34.095942][ T4218] __kmalloc_node+0xcc/0x1d0 [ 34.097095][ T4218] kvmalloc_node+0x84/0x1e4 [ 34.098273][ T4218] get_dist_table+0xa0/0x354 [ 34.099520][ T4218] netem_change+0x754/0x1900 [ 34.100706][ T4218] netem_init+0x54/0xb8 [ 34.101760][ T4218] qdisc_create+0x70c/0xe64 [ 34.102906][ T4218] tc_modify_qdisc+0x9f0/0x1840 [ 34.104340][ T4218] rtnetlink_rcv_msg+0x72c/0xd94 [ 34.105658][ T4218] netlink_rcv_skb+0x20c/0x3b8 [ 34.106912][ T4218] rtnetlink_rcv+0x28/0x38 [ 34.108056][ T4218] netlink_unicast+0x660/0x8d4 [ 34.109296][ T4218] netlink_sendmsg+0x834/0xb18 [ 34.110531][ T4218] ____sys_sendmsg+0x558/0x844 [ 34.111763][ T4218] __sys_sendmsg+0x26c/0x33c [ 34.113008][ T4218] __arm64_sys_sendmsg+0x80/0x94 [ 34.114335][ T4218] invoke_syscall+0x98/0x2c0 [ 34.115574][ T4218] el0_svc_common+0x138/0x258 [ 34.116830][ T4218] do_el0_svc+0x64/0x218 [ 34.117971][ T4218] el0_svc+0x58/0x168 [ 34.119049][ T4218] el0t_64_sync_handler+0x84/0xf0 [ 34.120408][ T4218] el0t_64_sync+0x18c/0x190 [ 34.121725][ T4218] [ 34.122336][ T4218] ============================================ [ 34.123898][ T4218] WARNING: possible recursive locking detected [ 34.125519][ T4218] 6.1.45-syzkaller #0 Tainted: G W [ 34.127215][ T4218] -------------------------------------------- [ 34.128771][ T4218] syz-executor221/4218 is trying to acquire lock: [ 34.130456][ T4218] ffff0000d0765908 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 34.132733][ T4218] [ 34.132733][ T4218] but task is already holding lock: [ 34.134645][ T4218] ffff0000d0765908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 34.136945][ T4218] [ 34.136945][ T4218] other info that might help us debug this: [ 34.139081][ T4218] Possible unsafe locking scenario: [ 34.139081][ T4218] [ 34.140981][ T4218] CPU0 [ 34.141846][ T4218] ---- [ 34.142668][ T4218] lock(&sch->q.lock); [ 34.143745][ T4218] lock(&sch->q.lock); [ 34.144833][ T4218] [ 34.144833][ T4218] *** DEADLOCK *** [ 34.144833][ T4218] [ 34.146945][ T4218] May be due to missing lock nesting notation [ 34.146945][ T4218] [ 34.149061][ T4218] 2 locks held by syz-executor221/4218: [ 34.150489][ T4218] #0: ffff800017e6fdc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 34.152899][ T4218] #1: ffff0000d0765908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 34.155309][ T4218] [ 34.155309][ T4218] stack backtrace: [ 34.156821][ T4218] CPU: 0 PID: 4218 Comm: syz-executor221 Tainted: G W 6.1.45-syzkaller #0 [ 34.159336][ T4218] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 34.161950][ T4218] Call trace: [ 34.162759][ T4218] dump_backtrace+0x1c8/0x1f4 [ 34.163998][ T4218] show_stack+0x2c/0x3c [ 34.165055][ T4218] dump_stack_lvl+0x108/0x170 [ 34.166229][ T4218] dump_stack+0x1c/0x58 [ 34.167268][ T4218] __lock_acquire+0x6310/0x764c [ 34.168570][ T4218] lock_acquire+0x26c/0x7cc [ 34.169764][ T4218] _raw_spin_lock_bh+0x54/0x6c [ 34.171016][ T4218] get_dist_table+0x240/0x354 [ 34.172237][ T4218] netem_change+0x754/0x1900 [ 34.173404][ T4218] netem_init+0x54/0xb8 [ 34.174466][ T4218] qdisc_create+0x70c/0xe64 [ 34.175621][ T4218] tc_modify_qdisc+0x9f0/0x1840 [ 34.176919][ T4218] rtnetlink_rcv_msg+0x72c/0xd94 [ 34.178189][ T4218] netlink_rcv_skb+0x20c/0x3b8 [ 34.179487][ T4218] rtnetlink_rcv+0x28/0x38 [ 34.180627][ T4218] netlink_unicast+0x660/0x8d4 [ 34.181904][ T4218] netlink_sendmsg+0x834/0xb18 [ 34.183122][ T4218] ____sys_sendmsg+0x558/0x844 [ 34.184329][ T4218] __sys_sendmsg+0x26c/0x33c [ 34.185488][ T4218] __arm64_sys_sendmsg+0x80/0x94 [ 34.186773][ T4218] invoke_syscall+0x98/0x2c0 [ 34.188007][ T4218] el0_svc_common+0x138/0x258 [ 34.189242][ T4218] do_el0_svc+0x64/0x218 [ 34.190316][ T4218] el0_svc+0x58/0x168 [ 34.191361][ T4218] el0t_64_sync_handler+0x84/0xf0 [ 34.192724][ T4218] el0t_64_sync+0x18c/0x190