Warning: Permanently added '10.128.1.135' (ED25519) to the list of known hosts. executing program [ 34.643691][ T4216] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 34.646263][ T4216] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4216, name: syz-executor349 [ 34.648936][ T4216] preempt_count: 201, expected: 0 [ 34.650271][ T4216] RCU nest depth: 0, expected: 0 [ 34.651583][ T4216] 2 locks held by syz-executor349/4216: [ 34.652987][ T4216] #0: ffff800017e6f7c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 34.655384][ T4216] #1: ffff0000d15cd908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 34.657912][ T4216] Preemption disabled at: [ 34.657922][ T4216] [] sch_tree_lock+0x120/0x1d4 [ 34.660678][ T4216] CPU: 0 PID: 4216 Comm: syz-executor349 Not tainted 6.1.42-syzkaller #0 [ 34.662727][ T4216] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 34.665220][ T4216] Call trace: [ 34.666038][ T4216] dump_backtrace+0x1c8/0x1f4 [ 34.667220][ T4216] show_stack+0x2c/0x3c [ 34.668286][ T4216] dump_stack_lvl+0x108/0x170 [ 34.669520][ T4216] dump_stack+0x1c/0x58 [ 34.670636][ T4216] __might_resched+0x37c/0x4d8 [ 34.671903][ T4216] __might_sleep+0x90/0xe4 [ 34.673065][ T4216] __kmem_cache_alloc_node+0x74/0x388 [ 34.674450][ T4216] __kmalloc_node+0xcc/0x1d0 [ 34.675661][ T4216] kvmalloc_node+0x84/0x1e4 [ 34.676897][ T4216] get_dist_table+0xa0/0x354 [ 34.678121][ T4216] netem_change+0x754/0x1900 [ 34.679297][ T4216] netem_init+0x54/0xb8 [ 34.680382][ T4216] qdisc_create+0x70c/0xe64 [ 34.681570][ T4216] tc_modify_qdisc+0x9f0/0x1840 [ 34.682875][ T4216] rtnetlink_rcv_msg+0x72c/0xd94 [ 34.684156][ T4216] netlink_rcv_skb+0x20c/0x3b8 [ 34.685412][ T4216] rtnetlink_rcv+0x28/0x38 [ 34.686580][ T4216] netlink_unicast+0x660/0x8d4 [ 34.687849][ T4216] netlink_sendmsg+0x834/0xb18 [ 34.689099][ T4216] ____sys_sendmsg+0x558/0x844 [ 34.690440][ T4216] __sys_sendmsg+0x26c/0x33c [ 34.691663][ T4216] __arm64_sys_sendmsg+0x80/0x94 [ 34.692980][ T4216] invoke_syscall+0x98/0x2c0 [ 34.694230][ T4216] el0_svc_common+0x138/0x258 [ 34.695475][ T4216] do_el0_svc+0x64/0x218 [ 34.696623][ T4216] el0_svc+0x58/0x168 [ 34.697680][ T4216] el0t_64_sync_handler+0x84/0xf0 [ 34.699002][ T4216] el0t_64_sync+0x18c/0x190 [ 34.700289][ T4216] [ 34.700879][ T4216] ============================================ [ 34.702406][ T4216] WARNING: possible recursive locking detected [ 34.704016][ T4216] 6.1.42-syzkaller #0 Tainted: G W [ 34.705620][ T4216] -------------------------------------------- [ 34.707155][ T4216] syz-executor349/4216 is trying to acquire lock: [ 34.708831][ T4216] ffff0000d15cd908 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 34.711160][ T4216] [ 34.711160][ T4216] but task is already holding lock: [ 34.713100][ T4216] ffff0000d15cd908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 34.715360][ T4216] [ 34.715360][ T4216] other info that might help us debug this: [ 34.717460][ T4216] Possible unsafe locking scenario: [ 34.717460][ T4216] [ 34.719389][ T4216] CPU0 [ 34.720233][ T4216] ---- [ 34.721173][ T4216] lock(&sch->q.lock); [ 34.722253][ T4216] lock(&sch->q.lock); [ 34.723316][ T4216] [ 34.723316][ T4216] *** DEADLOCK *** [ 34.723316][ T4216] [ 34.725464][ T4216] May be due to missing lock nesting notation [ 34.725464][ T4216] [ 34.727659][ T4216] 2 locks held by syz-executor349/4216: [ 34.729062][ T4216] #0: ffff800017e6f7c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 34.731533][ T4216] #1: ffff0000d15cd908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 34.733990][ T4216] [ 34.733990][ T4216] stack backtrace: [ 34.735512][ T4216] CPU: 0 PID: 4216 Comm: syz-executor349 Tainted: G W 6.1.42-syzkaller #0 [ 34.738156][ T4216] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 34.740826][ T4216] Call trace: [ 34.741697][ T4216] dump_backtrace+0x1c8/0x1f4 [ 34.742928][ T4216] show_stack+0x2c/0x3c [ 34.744004][ T4216] dump_stack_lvl+0x108/0x170 [ 34.745233][ T4216] dump_stack+0x1c/0x58 [ 34.746302][ T4216] __lock_acquire+0x6310/0x764c [ 34.747561][ T4216] lock_acquire+0x26c/0x7cc [ 34.748754][ T4216] _raw_spin_lock_bh+0x54/0x6c [ 34.750013][ T4216] get_dist_table+0x240/0x354 [ 34.751234][ T4216] netem_change+0x754/0x1900 [ 34.752459][ T4216] netem_init+0x54/0xb8 [ 34.753526][ T4216] qdisc_create+0x70c/0xe64 [ 34.754701][ T4216] tc_modify_qdisc+0x9f0/0x1840 [ 34.755960][ T4216] rtnetlink_rcv_msg+0x72c/0xd94 [ 34.757229][ T4216] netlink_rcv_skb+0x20c/0x3b8 [ 34.758456][ T4216] rtnetlink_rcv+0x28/0x38 [ 34.759632][ T4216] netlink_unicast+0x660/0x8d4 [ 34.760885][ T4216] netlink_sendmsg+0x834/0xb18 [ 34.762129][ T4216] ____sys_sendmsg+0x558/0x844 [ 34.763353][ T4216] __sys_sendmsg+0x26c/0x33c [ 34.764559][ T4216] __arm64_sys_sendmsg+0x80/0x94 [ 34.765850][ T4216] invoke_syscall+0x98/0x2c0 [ 34.767090][ T4216] el0_svc_common+0x138/0x258 [ 34.768312][ T4216] do_el0_svc+0x64/0x218 [ 34.769438][ T4216] el0_svc+0x58/0x168 [ 34.770470][ T4216] el0t_64_sync_handler+0x84/0xf0 [ 34.771790][ T4216] el0t_64_sync+0x18c/0x190