Warning: Permanently added '10.128.0.198' (ED25519) to the list of known hosts. executing program [ 37.045300][ T4216] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 37.047820][ T4216] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4216, name: syz-executor197 [ 37.050315][ T4216] preempt_count: 201, expected: 0 [ 37.051610][ T4216] RCU nest depth: 0, expected: 0 [ 37.052875][ T4216] 2 locks held by syz-executor197/4216: [ 37.054284][ T4216] #0: ffff800017e6fdc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 37.056777][ T4216] #1: ffff0000d2cfa108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 37.059298][ T4216] Preemption disabled at: [ 37.059308][ T4216] [] sch_tree_lock+0x120/0x1d4 [ 37.062029][ T4216] CPU: 1 PID: 4216 Comm: syz-executor197 Not tainted 6.1.45-syzkaller #0 [ 37.064263][ T4216] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 37.066919][ T4216] Call trace: [ 37.067760][ T4216] dump_backtrace+0x1c8/0x1f4 [ 37.068964][ T4216] show_stack+0x2c/0x3c [ 37.070033][ T4216] dump_stack_lvl+0x108/0x170 [ 37.071288][ T4216] dump_stack+0x1c/0x58 [ 37.072457][ T4216] __might_resched+0x37c/0x4d8 [ 37.073748][ T4216] __might_sleep+0x90/0xe4 [ 37.074901][ T4216] __kmem_cache_alloc_node+0x74/0x388 [ 37.076383][ T4216] __kmalloc_node+0xcc/0x1d0 [ 37.077626][ T4216] kvmalloc_node+0x84/0x1e4 [ 37.078834][ T4216] get_dist_table+0xa0/0x354 [ 37.080095][ T4216] netem_change+0x754/0x1900 [ 37.081305][ T4216] netem_init+0x54/0xb8 [ 37.082391][ T4216] qdisc_create+0x70c/0xe64 [ 37.083588][ T4216] tc_modify_qdisc+0x9f0/0x1840 [ 37.084849][ T4216] rtnetlink_rcv_msg+0x72c/0xd94 [ 37.086115][ T4216] netlink_rcv_skb+0x20c/0x3b8 [ 37.087395][ T4216] rtnetlink_rcv+0x28/0x38 [ 37.088568][ T4216] netlink_unicast+0x660/0x8d4 [ 37.089828][ T4216] netlink_sendmsg+0x834/0xb18 [ 37.091072][ T4216] ____sys_sendmsg+0x558/0x844 [ 37.092334][ T4216] __sys_sendmsg+0x26c/0x33c [ 37.093578][ T4216] __arm64_sys_sendmsg+0x80/0x94 [ 37.094910][ T4216] invoke_syscall+0x98/0x2c0 [ 37.096123][ T4216] el0_svc_common+0x138/0x258 [ 37.097334][ T4216] do_el0_svc+0x64/0x218 [ 37.098475][ T4216] el0_svc+0x58/0x168 [ 37.099515][ T4216] el0t_64_sync_handler+0x84/0xf0 [ 37.100884][ T4216] el0t_64_sync+0x18c/0x190 [ 37.102171][ T4216] [ 37.102764][ T4216] ============================================ [ 37.104299][ T4216] WARNING: possible recursive locking detected [ 37.105838][ T4216] 6.1.45-syzkaller #0 Tainted: G W [ 37.107532][ T4216] -------------------------------------------- [ 37.109124][ T4216] syz-executor197/4216 is trying to acquire lock: [ 37.110850][ T4216] ffff0000d2cfa108 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 37.113257][ T4216] [ 37.113257][ T4216] but task is already holding lock: [ 37.115173][ T4216] ffff0000d2cfa108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 37.117519][ T4216] [ 37.117519][ T4216] other info that might help us debug this: [ 37.119616][ T4216] Possible unsafe locking scenario: [ 37.119616][ T4216] [ 37.121535][ T4216] CPU0 [ 37.122385][ T4216] ---- [ 37.123266][ T4216] lock(&sch->q.lock); [ 37.124345][ T4216] lock(&sch->q.lock); [ 37.125453][ T4216] [ 37.125453][ T4216] *** DEADLOCK *** [ 37.125453][ T4216] [ 37.127644][ T4216] May be due to missing lock nesting notation [ 37.127644][ T4216] [ 37.129862][ T4216] 2 locks held by syz-executor197/4216: [ 37.131320][ T4216] #0: ffff800017e6fdc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 37.133856][ T4216] #1: ffff0000d2cfa108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 37.136345][ T4216] [ 37.136345][ T4216] stack backtrace: [ 37.137892][ T4216] CPU: 1 PID: 4216 Comm: syz-executor197 Tainted: G W 6.1.45-syzkaller #0 [ 37.140516][ T4216] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 37.143148][ T4216] Call trace: [ 37.144024][ T4216] dump_backtrace+0x1c8/0x1f4 [ 37.145354][ T4216] show_stack+0x2c/0x3c [ 37.146477][ T4216] dump_stack_lvl+0x108/0x170 [ 37.147733][ T4216] dump_stack+0x1c/0x58 [ 37.148834][ T4216] __lock_acquire+0x6310/0x764c [ 37.150100][ T4216] lock_acquire+0x26c/0x7cc [ 37.151305][ T4216] _raw_spin_lock_bh+0x54/0x6c [ 37.152552][ T4216] get_dist_table+0x240/0x354 [ 37.153816][ T4216] netem_change+0x754/0x1900 [ 37.155026][ T4216] netem_init+0x54/0xb8 [ 37.156117][ T4216] qdisc_create+0x70c/0xe64 [ 37.157306][ T4216] tc_modify_qdisc+0x9f0/0x1840 [ 37.158580][ T4216] rtnetlink_rcv_msg+0x72c/0xd94 [ 37.159868][ T4216] netlink_rcv_skb+0x20c/0x3b8 [ 37.161150][ T4216] rtnetlink_rcv+0x28/0x38 [ 37.162407][ T4216] netlink_unicast+0x660/0x8d4 [ 37.163714][ T4216] netlink_sendmsg+0x834/0xb18 [ 37.164985][ T4216] ____sys_sendmsg+0x558/0x844 [ 37.166314][ T4216] __sys_sendmsg+0x26c/0x33c [ 37.167559][ T4216] __arm64_sys_sendmsg+0x80/0x94 [ 37.168897][ T4216] invoke_syscall+0x98/0x2c0 [ 37.170148][ T4216] el0_svc_common+0x138/0x258 [ 37.171407][ T4216] do_el0_svc+0x64/0x218 [ 37.172534][ T4216] el0_svc+0x58/0x168 [ 37.173609][ T4216] el0t_64_sync_handler+0x84/0xf0 [ 37.174926][ T4216] el0t_64_sync+0x18c/0x190