Warning: Permanently added '10.128.1.26' (ED25519) to the list of known hosts. executing program [ 31.347269][ T4216] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 31.350132][ T4216] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4216, name: syz-executor124 [ 31.352899][ T4216] preempt_count: 201, expected: 0 [ 31.354240][ T4216] RCU nest depth: 0, expected: 0 [ 31.355553][ T4216] 2 locks held by syz-executor124/4216: [ 31.357066][ T4216] #0: ffff800017e6f7c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 31.359711][ T4216] #1: ffff0000d4eca908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 31.362264][ T4216] Preemption disabled at: [ 31.362274][ T4216] [] sch_tree_lock+0x120/0x1d4 [ 31.365084][ T4216] CPU: 0 PID: 4216 Comm: syz-executor124 Not tainted 6.1.42-syzkaller #0 [ 31.367484][ T4216] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 31.370113][ T4216] Call trace: [ 31.370941][ T4216] dump_backtrace+0x1c8/0x1f4 [ 31.372162][ T4216] show_stack+0x2c/0x3c [ 31.373466][ T4216] dump_stack_lvl+0x108/0x170 [ 31.374697][ T4216] dump_stack+0x1c/0x58 [ 31.375816][ T4216] __might_resched+0x37c/0x4d8 [ 31.377064][ T4216] __might_sleep+0x90/0xe4 [ 31.378262][ T4216] __kmem_cache_alloc_node+0x74/0x388 [ 31.379884][ T4216] __kmalloc_node+0xcc/0x1d0 [ 31.381191][ T4216] kvmalloc_node+0x84/0x1e4 [ 31.382401][ T4216] get_dist_table+0xa0/0x354 [ 31.383653][ T4216] netem_change+0x754/0x1900 [ 31.384915][ T4216] netem_init+0x54/0xb8 [ 31.386043][ T4216] qdisc_create+0x70c/0xe64 [ 31.387412][ T4216] tc_modify_qdisc+0x9f0/0x1840 [ 31.388718][ T4216] rtnetlink_rcv_msg+0x72c/0xd94 [ 31.390053][ T4216] netlink_rcv_skb+0x20c/0x3b8 [ 31.391387][ T4216] rtnetlink_rcv+0x28/0x38 [ 31.392592][ T4216] netlink_unicast+0x660/0x8d4 [ 31.394020][ T4216] netlink_sendmsg+0x834/0xb18 [ 31.395335][ T4216] ____sys_sendmsg+0x558/0x844 [ 31.396578][ T4216] __sys_sendmsg+0x26c/0x33c [ 31.397873][ T4216] __arm64_sys_sendmsg+0x80/0x94 [ 31.399210][ T4216] invoke_syscall+0x98/0x2c0 [ 31.400458][ T4216] el0_svc_common+0x138/0x258 [ 31.401841][ T4216] do_el0_svc+0x64/0x218 [ 31.403005][ T4216] el0_svc+0x58/0x168 [ 31.404095][ T4216] el0t_64_sync_handler+0x84/0xf0 [ 31.405486][ T4216] el0t_64_sync+0x18c/0x190 [ 31.406833][ T4216] [ 31.407452][ T4216] ============================================ [ 31.409168][ T4216] WARNING: possible recursive locking detected [ 31.410819][ T4216] 6.1.42-syzkaller #0 Tainted: G W [ 31.412535][ T4216] -------------------------------------------- [ 31.414165][ T4216] syz-executor124/4216 is trying to acquire lock: [ 31.416008][ T4216] ffff0000d4eca908 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 31.418424][ T4216] [ 31.418424][ T4216] but task is already holding lock: [ 31.420399][ T4216] ffff0000d4eca908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 31.422859][ T4216] [ 31.422859][ T4216] other info that might help us debug this: [ 31.425168][ T4216] Possible unsafe locking scenario: [ 31.425168][ T4216] [ 31.427191][ T4216] CPU0 [ 31.428071][ T4216] ---- [ 31.428937][ T4216] lock(&sch->q.lock); [ 31.430068][ T4216] lock(&sch->q.lock); [ 31.431338][ T4216] [ 31.431338][ T4216] *** DEADLOCK *** [ 31.431338][ T4216] [ 31.433614][ T4216] May be due to missing lock nesting notation [ 31.433614][ T4216] [ 31.435835][ T4216] 2 locks held by syz-executor124/4216: [ 31.437334][ T4216] #0: ffff800017e6f7c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 31.440086][ T4216] #1: ffff0000d4eca908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 31.442637][ T4216] [ 31.442637][ T4216] stack backtrace: [ 31.444151][ T4216] CPU: 0 PID: 4216 Comm: syz-executor124 Tainted: G W 6.1.42-syzkaller #0 [ 31.446793][ T4216] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 31.449587][ T4216] Call trace: [ 31.450512][ T4216] dump_backtrace+0x1c8/0x1f4 [ 31.451791][ T4216] show_stack+0x2c/0x3c [ 31.452924][ T4216] dump_stack_lvl+0x108/0x170 [ 31.454233][ T4216] dump_stack+0x1c/0x58 [ 31.455348][ T4216] __lock_acquire+0x6310/0x764c [ 31.456630][ T4216] lock_acquire+0x26c/0x7cc [ 31.457840][ T4216] _raw_spin_lock_bh+0x54/0x6c [ 31.459128][ T4216] get_dist_table+0x240/0x354 [ 31.460402][ T4216] netem_change+0x754/0x1900 [ 31.461696][ T4216] netem_init+0x54/0xb8 [ 31.462805][ T4216] qdisc_create+0x70c/0xe64 [ 31.464011][ T4216] tc_modify_qdisc+0x9f0/0x1840 [ 31.465316][ T4216] rtnetlink_rcv_msg+0x72c/0xd94 [ 31.466652][ T4216] netlink_rcv_skb+0x20c/0x3b8 [ 31.467933][ T4216] rtnetlink_rcv+0x28/0x38 [ 31.469136][ T4216] netlink_unicast+0x660/0x8d4 [ 31.470441][ T4216] netlink_sendmsg+0x834/0xb18 [ 31.471718][ T4216] ____sys_sendmsg+0x558/0x844 [ 31.473011][ T4216] __sys_sendmsg+0x26c/0x33c [ 31.474265][ T4216] __arm64_sys_sendmsg+0x80/0x94 [ 31.475593][ T4216] invoke_syscall+0x98/0x2c0 [ 31.476819][ T4216] el0_svc_common+0x138/0x258 [ 31.478057][ T4216] do_el0_svc+0x64/0x218 [ 31.479230][ T4216] el0_svc+0x58/0x168 [ 31.480335][ T4216] el0t_64_sync_handler+0x84/0xf0 [ 31.481671][ T4216] el0t_64_sync+0x18c/0x190