Warning: Permanently added '10.128.1.40' (ED25519) to the list of known hosts. executing program [ 35.089517][ T4216] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 35.092232][ T4216] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4216, name: syz-executor109 [ 35.094603][ T4216] preempt_count: 201, expected: 0 [ 35.095977][ T4216] RCU nest depth: 0, expected: 0 [ 35.097211][ T4216] 2 locks held by syz-executor109/4216: [ 35.098646][ T4216] #0: ffff800017e6fdc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 35.101204][ T4216] #1: ffff0000d46ab108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 35.103711][ T4216] Preemption disabled at: [ 35.103721][ T4216] [] sch_tree_lock+0x120/0x1d4 [ 35.106495][ T4216] CPU: 1 PID: 4216 Comm: syz-executor109 Not tainted 6.1.45-syzkaller #0 [ 35.108586][ T4216] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 35.111049][ T4216] Call trace: [ 35.111887][ T4216] dump_backtrace+0x1c8/0x1f4 [ 35.113083][ T4216] show_stack+0x2c/0x3c [ 35.114138][ T4216] dump_stack_lvl+0x108/0x170 [ 35.115328][ T4216] dump_stack+0x1c/0x58 [ 35.116429][ T4216] __might_resched+0x37c/0x4d8 [ 35.117702][ T4216] __might_sleep+0x90/0xe4 [ 35.118892][ T4216] __kmem_cache_alloc_node+0x74/0x388 [ 35.120315][ T4216] __kmalloc_node+0xcc/0x1d0 [ 35.121527][ T4216] kvmalloc_node+0x84/0x1e4 [ 35.122722][ T4216] get_dist_table+0xa0/0x354 [ 35.123944][ T4216] netem_change+0x754/0x1900 [ 35.125151][ T4216] netem_init+0x54/0xb8 [ 35.126315][ T4216] qdisc_create+0x70c/0xe64 [ 35.127500][ T4216] tc_modify_qdisc+0x9f0/0x1840 [ 35.128765][ T4216] rtnetlink_rcv_msg+0x72c/0xd94 [ 35.130033][ T4216] netlink_rcv_skb+0x20c/0x3b8 [ 35.131315][ T4216] rtnetlink_rcv+0x28/0x38 [ 35.132482][ T4216] netlink_unicast+0x660/0x8d4 [ 35.133711][ T4216] netlink_sendmsg+0x834/0xb18 [ 35.134952][ T4216] ____sys_sendmsg+0x558/0x844 [ 35.136265][ T4216] __sys_sendmsg+0x26c/0x33c [ 35.137476][ T4216] __arm64_sys_sendmsg+0x80/0x94 [ 35.138761][ T4216] invoke_syscall+0x98/0x2c0 [ 35.139989][ T4216] el0_svc_common+0x138/0x258 [ 35.141201][ T4216] do_el0_svc+0x64/0x218 [ 35.142355][ T4216] el0_svc+0x58/0x168 [ 35.143389][ T4216] el0t_64_sync_handler+0x84/0xf0 [ 35.144734][ T4216] el0t_64_sync+0x18c/0x190 [ 35.146056][ T4216] [ 35.146644][ T4216] ============================================ [ 35.148184][ T4216] WARNING: possible recursive locking detected [ 35.149715][ T4216] 6.1.45-syzkaller #0 Tainted: G W [ 35.151371][ T4216] -------------------------------------------- [ 35.152966][ T4216] syz-executor109/4216 is trying to acquire lock: [ 35.154691][ T4216] ffff0000d46ab108 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 35.157038][ T4216] [ 35.157038][ T4216] but task is already holding lock: [ 35.158949][ T4216] ffff0000d46ab108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 35.161281][ T4216] [ 35.161281][ T4216] other info that might help us debug this: [ 35.163430][ T4216] Possible unsafe locking scenario: [ 35.163430][ T4216] [ 35.165378][ T4216] CPU0 [ 35.166223][ T4216] ---- [ 35.167108][ T4216] lock(&sch->q.lock); [ 35.168220][ T4216] lock(&sch->q.lock); [ 35.169321][ T4216] [ 35.169321][ T4216] *** DEADLOCK *** [ 35.169321][ T4216] [ 35.171473][ T4216] May be due to missing lock nesting notation [ 35.171473][ T4216] [ 35.173725][ T4216] 2 locks held by syz-executor109/4216: [ 35.175097][ T4216] #0: ffff800017e6fdc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 35.177482][ T4216] #1: ffff0000d46ab108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 35.179819][ T4216] [ 35.179819][ T4216] stack backtrace: [ 35.181334][ T4216] CPU: 1 PID: 4216 Comm: syz-executor109 Tainted: G W 6.1.45-syzkaller #0 [ 35.183854][ T4216] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 35.186413][ T4216] Call trace: [ 35.187243][ T4216] dump_backtrace+0x1c8/0x1f4 [ 35.188422][ T4216] show_stack+0x2c/0x3c [ 35.189473][ T4216] dump_stack_lvl+0x108/0x170 [ 35.190666][ T4216] dump_stack+0x1c/0x58 [ 35.191717][ T4216] __lock_acquire+0x6310/0x764c [ 35.192969][ T4216] lock_acquire+0x26c/0x7cc [ 35.194110][ T4216] _raw_spin_lock_bh+0x54/0x6c [ 35.195318][ T4216] get_dist_table+0x240/0x354 [ 35.196520][ T4216] netem_change+0x754/0x1900 [ 35.197690][ T4216] netem_init+0x54/0xb8 [ 35.198764][ T4216] qdisc_create+0x70c/0xe64 [ 35.199895][ T4216] tc_modify_qdisc+0x9f0/0x1840 [ 35.201127][ T4216] rtnetlink_rcv_msg+0x72c/0xd94 [ 35.202394][ T4216] netlink_rcv_skb+0x20c/0x3b8 [ 35.203603][ T4216] rtnetlink_rcv+0x28/0x38 [ 35.204706][ T4216] netlink_unicast+0x660/0x8d4 [ 35.205915][ T4216] netlink_sendmsg+0x834/0xb18 [ 35.207141][ T4216] ____sys_sendmsg+0x558/0x844 [ 35.208378][ T4216] __sys_sendmsg+0x26c/0x33c [ 35.209538][ T4216] __arm64_sys_sendmsg+0x80/0x94 [ 35.210810][ T4216] invoke_syscall+0x98/0x2c0 [ 35.211982][ T4216] el0_svc_common+0x138/0x258 [ 35.213200][ T4216] do_el0_svc+0x64/0x218 [ 35.214265][ T4216] el0_svc+0x58/0x168 [ 35.215343][ T4216] el0t_64_sync_handler+0x84/0xf0 [ 35.216649][ T4216] el0t_64_sync+0x18c/0x190