Warning: Permanently added '10.128.0.247' (ED25519) to the list of known hosts. executing program [ 32.428824][ T4218] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 32.430902][ T4218] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4218, name: syz-executor169 [ 32.432858][ T4218] preempt_count: 201, expected: 0 [ 32.433895][ T4218] RCU nest depth: 0, expected: 0 [ 32.435080][ T4218] 2 locks held by syz-executor169/4218: [ 32.436238][ T4218] #0: ffff800017b9e948 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 32.438182][ T4218] #1: ffff0000dc012108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 32.440185][ T4218] Preemption disabled at: [ 32.440195][ T4218] [] sch_tree_lock+0x120/0x1d4 [ 32.442358][ T4218] CPU: 0 PID: 4218 Comm: syz-executor169 Not tainted 6.1.38-syzkaller #0 [ 32.444214][ T4218] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 [ 32.446425][ T4218] Call trace: [ 32.447099][ T4218] dump_backtrace+0x1c8/0x1f4 [ 32.448080][ T4218] show_stack+0x2c/0x3c [ 32.448955][ T4218] dump_stack_lvl+0x108/0x170 [ 32.449936][ T4218] dump_stack+0x1c/0x5c [ 32.450856][ T4218] __might_resched+0x37c/0x4d8 [ 32.451915][ T4218] __might_sleep+0x90/0xe4 [ 32.452778][ T4218] __kmem_cache_alloc_node+0x74/0x388 [ 32.453892][ T4218] __kmalloc_node+0xcc/0x1d0 [ 32.454872][ T4218] kvmalloc_node+0x84/0x1e4 [ 32.455798][ T4218] get_dist_table+0xa0/0x354 [ 32.456728][ T4218] netem_change+0x754/0x1900 [ 32.457694][ T4218] netem_init+0x54/0xb8 [ 32.458580][ T4218] qdisc_create+0x70c/0xe64 [ 32.459566][ T4218] tc_modify_qdisc+0x9f0/0x1840 [ 32.460589][ T4218] rtnetlink_rcv_msg+0x72c/0xd94 [ 32.461595][ T4218] netlink_rcv_skb+0x20c/0x3b8 [ 32.462618][ T4218] rtnetlink_rcv+0x28/0x38 [ 32.463583][ T4218] netlink_unicast+0x660/0x8d4 [ 32.464558][ T4218] netlink_sendmsg+0x834/0xb18 [ 32.465562][ T4218] ____sys_sendmsg+0x558/0x844 [ 32.466532][ T4218] __sys_sendmsg+0x26c/0x33c [ 32.467539][ T4218] __arm64_sys_sendmsg+0x80/0x94 [ 32.468583][ T4218] invoke_syscall+0x98/0x2c0 [ 32.469555][ T4218] el0_svc_common+0x138/0x258 [ 32.470564][ T4218] do_el0_svc+0x64/0x218 [ 32.471458][ T4218] el0_svc+0x58/0x168 [ 32.472303][ T4218] el0t_64_sync_handler+0x84/0xf0 [ 32.473405][ T4218] el0t_64_sync+0x18c/0x190 [ 32.474496][ T4218] [ 32.475016][ T4218] ============================================ [ 32.476231][ T4218] WARNING: possible recursive locking detected [ 32.477498][ T4218] 6.1.38-syzkaller #0 Tainted: G W [ 32.478885][ T4218] -------------------------------------------- [ 32.480145][ T4218] syz-executor169/4218 is trying to acquire lock: [ 32.481466][ T4218] ffff0000dc012108 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 32.483278][ T4218] [ 32.483278][ T4218] but task is already holding lock: [ 32.484821][ T4218] ffff0000dc012108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 32.486668][ T4218] [ 32.486668][ T4218] other info that might help us debug this: [ 32.488385][ T4218] Possible unsafe locking scenario: [ 32.488385][ T4218] [ 32.490024][ T4218] CPU0 [ 32.490666][ T4218] ---- [ 32.491274][ T4218] lock(&sch->q.lock); [ 32.492214][ T4218] lock(&sch->q.lock); [ 32.493044][ T4218] [ 32.493044][ T4218] *** DEADLOCK *** [ 32.493044][ T4218] [ 32.494743][ T4218] May be due to missing lock nesting notation [ 32.494743][ T4218] [ 32.496406][ T4218] 2 locks held by syz-executor169/4218: [ 32.497536][ T4218] #0: ffff800017b9e948 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 32.499493][ T4218] #1: ffff0000dc012108 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 32.501429][ T4218] [ 32.501429][ T4218] stack backtrace: [ 32.502666][ T4218] CPU: 0 PID: 4218 Comm: syz-executor169 Tainted: G W 6.1.38-syzkaller #0 [ 32.504710][ T4218] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 [ 32.506822][ T4218] Call trace: [ 32.507505][ T4218] dump_backtrace+0x1c8/0x1f4 [ 32.508445][ T4218] show_stack+0x2c/0x3c [ 32.509299][ T4218] dump_stack_lvl+0x108/0x170 [ 32.510298][ T4218] dump_stack+0x1c/0x5c [ 32.511147][ T4218] __lock_acquire+0x6310/0x764c [ 32.512136][ T4218] lock_acquire+0x26c/0x7cc [ 32.513054][ T4218] _raw_spin_lock_bh+0x54/0x6c [ 32.514038][ T4218] get_dist_table+0x240/0x354 [ 32.515037][ T4218] netem_change+0x754/0x1900 [ 32.516099][ T4218] netem_init+0x54/0xb8 [ 32.516927][ T4218] qdisc_create+0x70c/0xe64 [ 32.517855][ T4218] tc_modify_qdisc+0x9f0/0x1840 [ 32.518809][ T4218] rtnetlink_rcv_msg+0x72c/0xd94 [ 32.519787][ T4218] netlink_rcv_skb+0x20c/0x3b8 [ 32.520817][ T4218] rtnetlink_rcv+0x28/0x38 [ 32.521728][ T4218] netlink_unicast+0x660/0x8d4 [ 32.522678][ T4218] netlink_sendmsg+0x834/0xb18 [ 32.523747][ T4218] ____sys_sendmsg+0x558/0x844 [ 32.524742][ T4218] __sys_sendmsg+0x26c/0x33c [ 32.525693][ T4218] __arm64_sys_sendmsg+0x80/0x94 [ 32.526745][ T4218] invoke_syscall+0x98/0x2c0 [ 32.527659][ T4218] el0_svc_common+0x138/0x258 [ 32.528616][ T4218] do_el0_svc+0x64/0x218 [ 32.529483][ T4218] el0_svc+0x58/0x168 [ 32.530303][ T4218] el0t_64_sync_handler+0x84/0xf0 [ 32.531314][ T4218] el0t_64_sync+0x18c/0x190