Warning: Permanently added '10.128.1.113' (ED25519) to the list of known hosts. executing program [ 36.355226][ T4217] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 36.357651][ T4217] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4217, name: syz-executor506 [ 36.359584][ T4217] preempt_count: 201, expected: 0 [ 36.360636][ T4217] RCU nest depth: 0, expected: 0 [ 36.361708][ T4217] 2 locks held by syz-executor506/4217: [ 36.362971][ T4217] #0: ffff800017b9f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 36.365706][ T4217] #1: ffff0000de363908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.367730][ T4217] Preemption disabled at: [ 36.367740][ T4217] [] sch_tree_lock+0x120/0x1d4 [ 36.370014][ T4217] CPU: 0 PID: 4217 Comm: syz-executor506 Not tainted 6.1.39-syzkaller #0 [ 36.371936][ T4217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 [ 36.374449][ T4217] Call trace: [ 36.375164][ T4217] dump_backtrace+0x1c8/0x1f4 [ 36.376179][ T4217] show_stack+0x2c/0x3c [ 36.377112][ T4217] dump_stack_lvl+0x108/0x170 [ 36.378139][ T4217] dump_stack+0x1c/0x58 [ 36.378980][ T4217] __might_resched+0x37c/0x4d8 [ 36.380243][ T4217] __might_sleep+0x90/0xe4 [ 36.381377][ T4217] __kmem_cache_alloc_node+0x74/0x388 [ 36.382474][ T4217] __kmalloc_node+0xcc/0x1d0 [ 36.383601][ T4217] kvmalloc_node+0x84/0x1e4 [ 36.384507][ T4217] get_dist_table+0xa0/0x354 [ 36.385517][ T4217] netem_change+0x7a4/0x1900 [ 36.386511][ T4217] netem_init+0x54/0xb8 [ 36.387607][ T4217] qdisc_create+0x70c/0xe64 [ 36.388559][ T4217] tc_modify_qdisc+0x9f0/0x1840 [ 36.389600][ T4217] rtnetlink_rcv_msg+0x72c/0xd94 [ 36.390648][ T4217] netlink_rcv_skb+0x20c/0x3b8 [ 36.391647][ T4217] rtnetlink_rcv+0x28/0x38 [ 36.392633][ T4217] netlink_unicast+0x660/0x8d4 [ 36.393649][ T4217] netlink_sendmsg+0x834/0xb18 [ 36.394698][ T4217] ____sys_sendmsg+0x558/0x844 [ 36.395758][ T4217] __sys_sendmsg+0x26c/0x33c [ 36.396809][ T4217] __arm64_sys_sendmsg+0x80/0x94 [ 36.397812][ T4217] invoke_syscall+0x98/0x2c0 [ 36.398838][ T4217] el0_svc_common+0x138/0x258 [ 36.399806][ T4217] do_el0_svc+0x64/0x218 [ 36.400710][ T4217] el0_svc+0x58/0x168 [ 36.401474][ T4217] el0t_64_sync_handler+0x84/0xf0 [ 36.402548][ T4217] el0t_64_sync+0x18c/0x190 [ 36.403628][ T4217] [ 36.404112][ T4217] ============================================ [ 36.405417][ T4217] WARNING: possible recursive locking detected [ 36.406620][ T4217] 6.1.39-syzkaller #0 Tainted: G W [ 36.407882][ T4217] -------------------------------------------- [ 36.409155][ T4217] syz-executor506/4217 is trying to acquire lock: [ 36.410439][ T4217] ffff0000de363908 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 36.412218][ T4217] [ 36.412218][ T4217] but task is already holding lock: [ 36.413678][ T4217] ffff0000de363908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.415519][ T4217] [ 36.415519][ T4217] other info that might help us debug this: [ 36.417163][ T4217] Possible unsafe locking scenario: [ 36.417163][ T4217] [ 36.418702][ T4217] CPU0 [ 36.419338][ T4217] ---- [ 36.420018][ T4217] lock(&sch->q.lock); [ 36.420883][ T4217] lock(&sch->q.lock); [ 36.421680][ T4217] [ 36.421680][ T4217] *** DEADLOCK *** [ 36.421680][ T4217] [ 36.423326][ T4217] May be due to missing lock nesting notation [ 36.423326][ T4217] [ 36.425040][ T4217] 2 locks held by syz-executor506/4217: [ 36.426158][ T4217] #0: ffff800017b9f548 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 36.428070][ T4217] #1: ffff0000de363908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.429951][ T4217] [ 36.429951][ T4217] stack backtrace: [ 36.431069][ T4217] CPU: 0 PID: 4217 Comm: syz-executor506 Tainted: G W 6.1.39-syzkaller #0 [ 36.433022][ T4217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 [ 36.435085][ T4217] Call trace: [ 36.435784][ T4217] dump_backtrace+0x1c8/0x1f4 [ 36.436817][ T4217] show_stack+0x2c/0x3c [ 36.437707][ T4217] dump_stack_lvl+0x108/0x170 [ 36.438678][ T4217] dump_stack+0x1c/0x58 [ 36.439520][ T4217] __lock_acquire+0x6310/0x764c [ 36.440539][ T4217] lock_acquire+0x26c/0x7cc [ 36.441490][ T4217] _raw_spin_lock_bh+0x54/0x6c [ 36.442533][ T4217] get_dist_table+0x240/0x354 [ 36.443596][ T4217] netem_change+0x7a4/0x1900 [ 36.444475][ T4217] netem_init+0x54/0xb8 [ 36.445275][ T4217] qdisc_create+0x70c/0xe64 [ 36.446225][ T4217] tc_modify_qdisc+0x9f0/0x1840 [ 36.447207][ T4217] rtnetlink_rcv_msg+0x72c/0xd94 [ 36.448239][ T4217] netlink_rcv_skb+0x20c/0x3b8 [ 36.449230][ T4217] rtnetlink_rcv+0x28/0x38 [ 36.450086][ T4217] netlink_unicast+0x660/0x8d4 [ 36.451056][ T4217] netlink_sendmsg+0x834/0xb18 [ 36.452053][ T4217] ____sys_sendmsg+0x558/0x844 [ 36.453038][ T4217] __sys_sendmsg+0x26c/0x33c [ 36.454072][ T4217] __arm64_sys_sendmsg+0x80/0x94 [ 36.455006][ T4217] invoke_syscall+0x98/0x2c0 [ 36.455920][ T4217] el0_svc_common+0x138/0x258 [ 36.456831][ T4217] do_el0_svc+0x64/0x218 [ 36.457713][ T4217] el0_svc+0x58/0x168 [ 36.458566][ T4217] el0t_64_sync_handler+0x84/0xf0 [ 36.459519][ T4217] el0t_64_sync+0x18c/0x190