Warning: Permanently added '10.128.0.177' (ED25519) to the list of known hosts. executing program [ 44.109880][ T3962] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:209 [ 44.112433][ T3962] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3962, name: syz-executor223 [ 44.115021][ T3962] 2 locks held by syz-executor223/3962: [ 44.116474][ T3962] #0: ffff8000169e7228 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 44.118817][ T3962] #1: ffff0000cb9c9108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 44.121088][ T3962] Preemption disabled at: [ 44.121101][ T3962] [] netem_change+0x22c/0x1a90 [ 44.123937][ T3962] CPU: 1 PID: 3962 Comm: syz-executor223 Not tainted 5.15.124-syzkaller #0 [ 44.126028][ T3962] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 44.128489][ T3962] Call trace: [ 44.129237][ T3962] dump_backtrace+0x0/0x530 [ 44.130320][ T3962] show_stack+0x2c/0x3c [ 44.131406][ T3962] dump_stack_lvl+0x108/0x170 [ 44.132479][ T3962] dump_stack+0x1c/0x58 [ 44.133480][ T3962] ___might_sleep+0x380/0x4dc [ 44.134658][ T3962] __might_sleep+0x98/0xf0 [ 44.135752][ T3962] slab_pre_alloc_hook+0x58/0xe8 [ 44.137061][ T3962] __kmalloc_node+0xbc/0x5b8 [ 44.138283][ T3962] kvmalloc_node+0x88/0x204 [ 44.139423][ T3962] get_dist_table+0x9c/0x2a4 [ 44.140735][ T3962] netem_change+0x7cc/0x1a90 [ 44.141957][ T3962] netem_init+0x54/0xb8 [ 44.143040][ T3962] qdisc_create+0x6fc/0xf44 [ 44.144263][ T3962] tc_modify_qdisc+0x8dc/0x1344 [ 44.145468][ T3962] rtnetlink_rcv_msg+0xa74/0xdac [ 44.146734][ T3962] netlink_rcv_skb+0x20c/0x3b8 [ 44.148026][ T3962] rtnetlink_rcv+0x28/0x38 [ 44.149145][ T3962] netlink_unicast+0x664/0x938 [ 44.150380][ T3962] netlink_sendmsg+0x844/0xb38 [ 44.151570][ T3962] ____sys_sendmsg+0x584/0x870 [ 44.152758][ T3962] ___sys_sendmsg+0x214/0x294 [ 44.154006][ T3962] __arm64_sys_sendmsg+0x1ac/0x25c [ 44.155337][ T3962] invoke_syscall+0x98/0x2b8 [ 44.156627][ T3962] el0_svc_common+0x138/0x258 [ 44.157916][ T3962] do_el0_svc+0x58/0x14c [ 44.159031][ T3962] el0_svc+0x7c/0x1f0 [ 44.159989][ T3962] el0t_64_sync_handler+0x84/0xe4 [ 44.161330][ T3962] el0t_64_sync+0x1a0/0x1a4 [ 44.162657][ T3962] [ 44.163214][ T3962] ============================================ [ 44.164684][ T3962] WARNING: possible recursive locking detected [ 44.166224][ T3962] 5.15.124-syzkaller #0 Tainted: G W [ 44.168000][ T3962] -------------------------------------------- [ 44.169635][ T3962] syz-executor223/3962 is trying to acquire lock: [ 44.171336][ T3962] ffff0000cb9c9108 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x1f0/0x2a4 [ 44.173690][ T3962] [ 44.173690][ T3962] but task is already holding lock: [ 44.175602][ T3962] ffff0000cb9c9108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 44.177966][ T3962] [ 44.177966][ T3962] other info that might help us debug this: [ 44.180068][ T3962] Possible unsafe locking scenario: [ 44.180068][ T3962] [ 44.181970][ T3962] CPU0 [ 44.182836][ T3962] ---- [ 44.183659][ T3962] lock(&sch->q.lock); [ 44.184795][ T3962] lock(&sch->q.lock); [ 44.185850][ T3962] [ 44.185850][ T3962] *** DEADLOCK *** [ 44.185850][ T3962] [ 44.187875][ T3962] May be due to missing lock nesting notation [ 44.187875][ T3962] [ 44.189981][ T3962] 2 locks held by syz-executor223/3962: [ 44.191435][ T3962] #0: ffff8000169e7228 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 44.194021][ T3962] #1: ffff0000cb9c9108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 44.196424][ T3962] [ 44.196424][ T3962] stack backtrace: [ 44.197906][ T3962] CPU: 1 PID: 3962 Comm: syz-executor223 Tainted: G W 5.15.124-syzkaller #0 [ 44.200454][ T3962] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 44.203064][ T3962] Call trace: [ 44.203948][ T3962] dump_backtrace+0x0/0x530 [ 44.205093][ T3962] show_stack+0x2c/0x3c [ 44.206144][ T3962] dump_stack_lvl+0x108/0x170 [ 44.207335][ T3962] dump_stack+0x1c/0x58 [ 44.208386][ T3962] __lock_acquire+0x62b4/0x7620 [ 44.209643][ T3962] lock_acquire+0x240/0x77c [ 44.210802][ T3962] _raw_spin_lock_bh+0x124/0x1c4 [ 44.212084][ T3962] get_dist_table+0x1f0/0x2a4 [ 44.213317][ T3962] netem_change+0x7cc/0x1a90 [ 44.214492][ T3962] netem_init+0x54/0xb8 [ 44.215530][ T3962] qdisc_create+0x6fc/0xf44 [ 44.216711][ T3962] tc_modify_qdisc+0x8dc/0x1344 [ 44.217969][ T3962] rtnetlink_rcv_msg+0xa74/0xdac [ 44.219319][ T3962] netlink_rcv_skb+0x20c/0x3b8 [ 44.220532][ T3962] rtnetlink_rcv+0x28/0x38 [ 44.221709][ T3962] netlink_unicast+0x664/0x938 [ 44.222866][ T3962] netlink_sendmsg+0x844/0xb38 [ 44.224097][ T3962] ____sys_sendmsg+0x584/0x870 [ 44.225365][ T3962] ___sys_sendmsg+0x214/0x294 [ 44.226586][ T3962] __arm64_sys_sendmsg+0x1ac/0x25c [ 44.227875][ T3962] invoke_syscall+0x98/0x2b8 [ 44.229042][ T3962] el0_svc_common+0x138/0x258 [ 44.230161][ T3962] do_el0_svc+0x58/0x14c [ 44.231223][ T3962] el0_svc+0x7c/0x1f0 [ 44.232243][ T3962] el0t_64_sync_handler+0x84/0xe4 [ 44.233557][ T3962] el0t_64_sync+0x1a0/0x1a4