Warning: Permanently added '10.128.1.25' (ED25519) to the list of known hosts. executing program [ 35.556616][ T4225] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 35.558827][ T4225] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4225, name: syz-executor276 [ 35.560835][ T4225] preempt_count: 201, expected: 0 [ 35.561944][ T4225] RCU nest depth: 0, expected: 0 [ 35.562968][ T4225] 2 locks held by syz-executor276/4225: [ 35.564169][ T4225] #0: ffff800017e6fdc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 35.566167][ T4225] #1: ffff0000d7a11908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 35.568285][ T4225] Preemption disabled at: [ 35.568295][ T4225] [] sch_tree_lock+0x120/0x1d4 [ 35.570536][ T4225] CPU: 1 PID: 4225 Comm: syz-executor276 Not tainted 6.1.45-syzkaller #0 [ 35.572294][ T4225] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 35.574404][ T4225] Call trace: [ 35.575090][ T4225] dump_backtrace+0x1c8/0x1f4 [ 35.576136][ T4225] show_stack+0x2c/0x3c [ 35.577096][ T4225] dump_stack_lvl+0x108/0x170 [ 35.578092][ T4225] dump_stack+0x1c/0x58 [ 35.579043][ T4225] __might_resched+0x37c/0x4d8 [ 35.580156][ T4225] __might_sleep+0x90/0xe4 [ 35.581106][ T4225] __kmem_cache_alloc_node+0x74/0x388 [ 35.582307][ T4225] __kmalloc_node+0xcc/0x1d0 [ 35.583308][ T4225] kvmalloc_node+0x84/0x1e4 [ 35.584404][ T4225] get_dist_table+0xa0/0x354 [ 35.585412][ T4225] netem_change+0x754/0x1900 [ 35.586408][ T4225] netem_init+0x54/0xb8 [ 35.587303][ T4225] qdisc_create+0x70c/0xe64 [ 35.588315][ T4225] tc_modify_qdisc+0x9f0/0x1840 [ 35.589421][ T4225] rtnetlink_rcv_msg+0x72c/0xd94 [ 35.590520][ T4225] netlink_rcv_skb+0x20c/0x3b8 [ 35.591572][ T4225] rtnetlink_rcv+0x28/0x38 [ 35.592501][ T4225] netlink_unicast+0x660/0x8d4 [ 35.593502][ T4225] netlink_sendmsg+0x834/0xb18 [ 35.594514][ T4225] ____sys_sendmsg+0x558/0x844 [ 35.595589][ T4225] __sys_sendmsg+0x26c/0x33c [ 35.596532][ T4225] __arm64_sys_sendmsg+0x80/0x94 [ 35.597593][ T4225] invoke_syscall+0x98/0x2c0 [ 35.598601][ T4225] el0_svc_common+0x138/0x258 [ 35.599640][ T4225] do_el0_svc+0x64/0x218 [ 35.600572][ T4225] el0_svc+0x58/0x168 [ 35.601413][ T4225] el0t_64_sync_handler+0x84/0xf0 [ 35.602561][ T4225] el0t_64_sync+0x18c/0x190 [ 35.603704][ T4225] [ 35.604178][ T4225] ============================================ [ 35.605434][ T4225] WARNING: possible recursive locking detected [ 35.606781][ T4225] 6.1.45-syzkaller #0 Tainted: G W [ 35.608277][ T4225] -------------------------------------------- [ 35.609628][ T4225] syz-executor276/4225 is trying to acquire lock: [ 35.611016][ T4225] ffff0000d7a11908 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 35.612951][ T4225] [ 35.612951][ T4225] but task is already holding lock: [ 35.614553][ T4225] ffff0000d7a11908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 35.616388][ T4225] [ 35.616388][ T4225] other info that might help us debug this: [ 35.618135][ T4225] Possible unsafe locking scenario: [ 35.618135][ T4225] [ 35.619707][ T4225] CPU0 [ 35.620433][ T4225] ---- [ 35.621129][ T4225] lock(&sch->q.lock); [ 35.622045][ T4225] lock(&sch->q.lock); [ 35.622965][ T4225] [ 35.622965][ T4225] *** DEADLOCK *** [ 35.622965][ T4225] [ 35.624670][ T4225] May be due to missing lock nesting notation [ 35.624670][ T4225] [ 35.626513][ T4225] 2 locks held by syz-executor276/4225: [ 35.627672][ T4225] #0: ffff800017e6fdc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 35.629702][ T4225] #1: ffff0000d7a11908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 35.631602][ T4225] [ 35.631602][ T4225] stack backtrace: [ 35.632865][ T4225] CPU: 1 PID: 4225 Comm: syz-executor276 Tainted: G W 6.1.45-syzkaller #0 [ 35.635067][ T4225] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 35.637226][ T4225] Call trace: [ 35.637928][ T4225] dump_backtrace+0x1c8/0x1f4 [ 35.638950][ T4225] show_stack+0x2c/0x3c [ 35.639845][ T4225] dump_stack_lvl+0x108/0x170 [ 35.640840][ T4225] dump_stack+0x1c/0x58 [ 35.641795][ T4225] __lock_acquire+0x6310/0x764c [ 35.642897][ T4225] lock_acquire+0x26c/0x7cc [ 35.643931][ T4225] _raw_spin_lock_bh+0x54/0x6c [ 35.645001][ T4225] get_dist_table+0x240/0x354 [ 35.646058][ T4225] netem_change+0x754/0x1900 [ 35.647069][ T4225] netem_init+0x54/0xb8 [ 35.647950][ T4225] qdisc_create+0x70c/0xe64 [ 35.649018][ T4225] tc_modify_qdisc+0x9f0/0x1840 [ 35.650014][ T4225] rtnetlink_rcv_msg+0x72c/0xd94 [ 35.651075][ T4225] netlink_rcv_skb+0x20c/0x3b8 [ 35.652176][ T4225] rtnetlink_rcv+0x28/0x38 [ 35.653115][ T4225] netlink_unicast+0x660/0x8d4 [ 35.654172][ T4225] netlink_sendmsg+0x834/0xb18 [ 35.655173][ T4225] ____sys_sendmsg+0x558/0x844 [ 35.656165][ T4225] __sys_sendmsg+0x26c/0x33c [ 35.657112][ T4225] __arm64_sys_sendmsg+0x80/0x94 [ 35.658152][ T4225] invoke_syscall+0x98/0x2c0 [ 35.659195][ T4225] el0_svc_common+0x138/0x258 [ 35.660209][ T4225] do_el0_svc+0x64/0x218 [ 35.661142][ T4225] el0_svc+0x58/0x168 [ 35.662023][ T4225] el0t_64_sync_handler+0x84/0xf0 [ 35.663126][ T4225] el0t_64_sync+0x18c/0x190