Warning: Permanently added '10.128.1.165' (ED25519) to the list of known hosts. executing program [ 36.608317][ T4217] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 36.610825][ T4217] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4217, name: syz-executor316 [ 36.613356][ T4217] preempt_count: 201, expected: 0 [ 36.614636][ T4217] RCU nest depth: 0, expected: 0 [ 36.615910][ T4217] 2 locks held by syz-executor316/4217: [ 36.617327][ T4217] #0: ffff800017e6fdc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 36.619867][ T4217] #1: ffff0000d4a4d908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.622343][ T4217] Preemption disabled at: [ 36.622353][ T4217] [] sch_tree_lock+0x120/0x1d4 [ 36.625105][ T4217] CPU: 0 PID: 4217 Comm: syz-executor316 Not tainted 6.1.45-syzkaller #0 [ 36.627337][ T4217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 36.629969][ T4217] Call trace: [ 36.630899][ T4217] dump_backtrace+0x1c8/0x1f4 [ 36.632085][ T4217] show_stack+0x2c/0x3c [ 36.633201][ T4217] dump_stack_lvl+0x108/0x170 [ 36.634452][ T4217] dump_stack+0x1c/0x58 [ 36.635504][ T4217] __might_resched+0x37c/0x4d8 [ 36.636728][ T4217] __might_sleep+0x90/0xe4 [ 36.637887][ T4217] __kmem_cache_alloc_node+0x74/0x388 [ 36.639340][ T4217] __kmalloc_node+0xcc/0x1d0 [ 36.640590][ T4217] kvmalloc_node+0x84/0x1e4 [ 36.641820][ T4217] get_dist_table+0xa0/0x354 [ 36.643022][ T4217] netem_change+0x754/0x1900 [ 36.644275][ T4217] netem_init+0x54/0xb8 [ 36.645369][ T4217] qdisc_create+0x70c/0xe64 [ 36.646594][ T4217] tc_modify_qdisc+0x9f0/0x1840 [ 36.648008][ T4217] rtnetlink_rcv_msg+0x72c/0xd94 [ 36.649400][ T4217] netlink_rcv_skb+0x20c/0x3b8 [ 36.650663][ T4217] rtnetlink_rcv+0x28/0x38 [ 36.651782][ T4217] netlink_unicast+0x660/0x8d4 [ 36.653087][ T4217] netlink_sendmsg+0x834/0xb18 [ 36.654367][ T4217] ____sys_sendmsg+0x558/0x844 [ 36.655635][ T4217] __sys_sendmsg+0x26c/0x33c [ 36.656851][ T4217] __arm64_sys_sendmsg+0x80/0x94 [ 36.658169][ T4217] invoke_syscall+0x98/0x2c0 [ 36.659393][ T4217] el0_svc_common+0x138/0x258 [ 36.660623][ T4217] do_el0_svc+0x64/0x218 [ 36.661764][ T4217] el0_svc+0x58/0x168 [ 36.662851][ T4217] el0t_64_sync_handler+0x84/0xf0 [ 36.664293][ T4217] el0t_64_sync+0x18c/0x190 [ 36.665609][ T4217] [ 36.666177][ T4217] ============================================ [ 36.667746][ T4217] WARNING: possible recursive locking detected [ 36.669348][ T4217] 6.1.45-syzkaller #0 Tainted: G W [ 36.671019][ T4217] -------------------------------------------- [ 36.672571][ T4217] syz-executor316/4217 is trying to acquire lock: [ 36.674214][ T4217] ffff0000d4a4d908 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 36.676580][ T4217] [ 36.676580][ T4217] but task is already holding lock: [ 36.678440][ T4217] ffff0000d4a4d908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.680694][ T4217] [ 36.680694][ T4217] other info that might help us debug this: [ 36.682780][ T4217] Possible unsafe locking scenario: [ 36.682780][ T4217] [ 36.684826][ T4217] CPU0 [ 36.685722][ T4217] ---- [ 36.686674][ T4217] lock(&sch->q.lock); [ 36.687806][ T4217] lock(&sch->q.lock); [ 36.688980][ T4217] [ 36.688980][ T4217] *** DEADLOCK *** [ 36.688980][ T4217] [ 36.691162][ T4217] May be due to missing lock nesting notation [ 36.691162][ T4217] [ 36.693376][ T4217] 2 locks held by syz-executor316/4217: [ 36.694789][ T4217] #0: ffff800017e6fdc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 36.697321][ T4217] #1: ffff0000d4a4d908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.699788][ T4217] [ 36.699788][ T4217] stack backtrace: [ 36.701424][ T4217] CPU: 0 PID: 4217 Comm: syz-executor316 Tainted: G W 6.1.45-syzkaller #0 [ 36.703928][ T4217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 36.705888][ T4217] Call trace: [ 36.706798][ T4217] dump_backtrace+0x1c8/0x1f4 [ 36.707992][ T4217] show_stack+0x2c/0x3c [ 36.709133][ T4217] dump_stack_lvl+0x108/0x170 [ 36.710419][ T4217] dump_stack+0x1c/0x58 [ 36.711568][ T4217] __lock_acquire+0x6310/0x764c [ 36.712954][ T4217] lock_acquire+0x26c/0x7cc [ 36.714192][ T4217] _raw_spin_lock_bh+0x54/0x6c [ 36.715449][ T4217] get_dist_table+0x240/0x354 [ 36.716752][ T4217] netem_change+0x754/0x1900 [ 36.717918][ T4217] netem_init+0x54/0xb8 [ 36.719052][ T4217] qdisc_create+0x70c/0xe64 [ 36.720317][ T4217] tc_modify_qdisc+0x9f0/0x1840 [ 36.721610][ T4217] rtnetlink_rcv_msg+0x72c/0xd94 [ 36.722982][ T4217] netlink_rcv_skb+0x20c/0x3b8 [ 36.724391][ T4217] rtnetlink_rcv+0x28/0x38 [ 36.725523][ T4217] netlink_unicast+0x660/0x8d4 [ 36.726851][ T4217] netlink_sendmsg+0x834/0xb18 [ 36.728170][ T4217] ____sys_sendmsg+0x558/0x844 [ 36.729466][ T4217] __sys_sendmsg+0x26c/0x33c [ 36.730742][ T4217] __arm64_sys_sendmsg+0x80/0x94 [ 36.732055][ T4217] invoke_syscall+0x98/0x2c0 [ 36.733212][ T4217] el0_svc_common+0x138/0x258 [ 36.734466][ T4217] do_el0_svc+0x64/0x218 [ 36.735663][ T4217] el0_svc+0x58/0x168 [ 36.736786][ T4217] el0t_64_sync_handler+0x84/0xf0 [ 36.738082][ T4217] el0t_64_sync+0x18c/0x190