Warning: Permanently added '10.128.1.89' (ED25519) to the list of known hosts. executing program [ 43.170445][ T3963] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:209 [ 43.172713][ T3963] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3963, name: syz-executor347 [ 43.174776][ T3963] 2 locks held by syz-executor347/3963: [ 43.175931][ T3963] #0: ffff8000169e74a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 43.177918][ T3963] #1: ffff0000c8bbf108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 43.179976][ T3963] Preemption disabled at: [ 43.179988][ T3963] [] netem_change+0x22c/0x1a90 [ 43.182211][ T3963] CPU: 1 PID: 3963 Comm: syz-executor347 Not tainted 5.15.126-syzkaller-00092-g24c4de4069cb #0 [ 43.184401][ T3963] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 43.186550][ T3963] Call trace: [ 43.187265][ T3963] dump_backtrace+0x0/0x530 [ 43.188239][ T3963] show_stack+0x2c/0x3c [ 43.189196][ T3963] dump_stack_lvl+0x108/0x170 [ 43.190223][ T3963] dump_stack+0x1c/0x58 [ 43.191121][ T3963] ___might_sleep+0x380/0x4dc [ 43.192156][ T3963] __might_sleep+0x98/0xf0 [ 43.193156][ T3963] slab_pre_alloc_hook+0x58/0xe8 [ 43.194142][ T3963] __kmalloc_node+0xbc/0x5b8 [ 43.195077][ T3963] kvmalloc_node+0x88/0x204 [ 43.196021][ T3963] get_dist_table+0x9c/0x2a4 [ 43.197043][ T3963] netem_change+0x7cc/0x1a90 [ 43.198014][ T3963] netem_init+0x54/0xb8 [ 43.198959][ T3963] qdisc_create+0x6fc/0xf44 [ 43.199881][ T3963] tc_modify_qdisc+0x8dc/0x1344 [ 43.200925][ T3963] rtnetlink_rcv_msg+0xa74/0xdac [ 43.201952][ T3963] netlink_rcv_skb+0x20c/0x3b8 [ 43.203004][ T3963] rtnetlink_rcv+0x28/0x38 [ 43.203955][ T3963] netlink_unicast+0x664/0x938 [ 43.204949][ T3963] netlink_sendmsg+0x844/0xb38 [ 43.205973][ T3963] ____sys_sendmsg+0x584/0x870 [ 43.207026][ T3963] ___sys_sendmsg+0x214/0x294 [ 43.208042][ T3963] __arm64_sys_sendmsg+0x1ac/0x25c [ 43.209211][ T3963] invoke_syscall+0x98/0x2b8 [ 43.210225][ T3963] el0_svc_common+0x138/0x258 [ 43.211279][ T3963] do_el0_svc+0x58/0x14c [ 43.212227][ T3963] el0_svc+0x7c/0x1f0 [ 43.213054][ T3963] el0t_64_sync_handler+0x84/0xe4 [ 43.214134][ T3963] el0t_64_sync+0x1a0/0x1a4 [ 43.215495][ T3963] [ 43.216016][ T3963] ============================================ [ 43.217349][ T3963] WARNING: possible recursive locking detected [ 43.218698][ T3963] 5.15.126-syzkaller-00092-g24c4de4069cb #0 Tainted: G W [ 43.220506][ T3963] -------------------------------------------- [ 43.221757][ T3963] syz-executor347/3963 is trying to acquire lock: [ 43.223156][ T3963] ffff0000c8bbf108 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x1f0/0x2a4 [ 43.225226][ T3963] [ 43.225226][ T3963] but task is already holding lock: [ 43.226980][ T3963] ffff0000c8bbf108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 43.229023][ T3963] [ 43.229023][ T3963] other info that might help us debug this: [ 43.230699][ T3963] Possible unsafe locking scenario: [ 43.230699][ T3963] [ 43.232342][ T3963] CPU0 [ 43.233003][ T3963] ---- [ 43.233731][ T3963] lock(&sch->q.lock); [ 43.234586][ T3963] lock(&sch->q.lock); [ 43.235433][ T3963] [ 43.235433][ T3963] *** DEADLOCK *** [ 43.235433][ T3963] [ 43.237188][ T3963] May be due to missing lock nesting notation [ 43.237188][ T3963] [ 43.239020][ T3963] 2 locks held by syz-executor347/3963: [ 43.240273][ T3963] #0: ffff8000169e74a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 43.242375][ T3963] #1: ffff0000c8bbf108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 43.244410][ T3963] [ 43.244410][ T3963] stack backtrace: [ 43.245721][ T3963] CPU: 1 PID: 3963 Comm: syz-executor347 Tainted: G W 5.15.126-syzkaller-00092-g24c4de4069cb #0 [ 43.248192][ T3963] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 43.250325][ T3963] Call trace: [ 43.251037][ T3963] dump_backtrace+0x0/0x530 [ 43.252014][ T3963] show_stack+0x2c/0x3c [ 43.252987][ T3963] dump_stack_lvl+0x108/0x170 [ 43.253952][ T3963] dump_stack+0x1c/0x58 [ 43.254893][ T3963] __lock_acquire+0x62b4/0x7620 [ 43.255969][ T3963] lock_acquire+0x240/0x77c [ 43.256912][ T3963] _raw_spin_lock_bh+0x124/0x1c4 [ 43.257967][ T3963] get_dist_table+0x1f0/0x2a4 [ 43.258986][ T3963] netem_change+0x7cc/0x1a90 [ 43.259989][ T3963] netem_init+0x54/0xb8 [ 43.260925][ T3963] qdisc_create+0x6fc/0xf44 [ 43.261957][ T3963] tc_modify_qdisc+0x8dc/0x1344 [ 43.263045][ T3963] rtnetlink_rcv_msg+0xa74/0xdac [ 43.264227][ T3963] netlink_rcv_skb+0x20c/0x3b8 [ 43.265203][ T3963] rtnetlink_rcv+0x28/0x38 [ 43.266179][ T3963] netlink_unicast+0x664/0x938 [ 43.267247][ T3963] netlink_sendmsg+0x844/0xb38 [ 43.268302][ T3963] ____sys_sendmsg+0x584/0x870 [ 43.269317][ T3963] ___sys_sendmsg+0x214/0x294 [ 43.270333][ T3963] __arm64_sys_sendmsg+0x1ac/0x25c [ 43.271359][ T3963] invoke_syscall+0x98/0x2b8 [ 43.272363][ T3963] el0_svc_common+0x138/0x258 [ 43.273371][ T3963] do_el0_svc+0x58/0x14c [ 43.274348][ T3963] el0_svc+0x7c/0x1f0 [ 43.275210][ T3963] el0t_64_sync_handler+0x84/0xe4 [ 43.276375][ T3963] el0t_64_sync+0x1a0/0x1a4