Warning: Permanently added '10.128.1.162' (ED25519) to the list of known hosts. executing program [ 45.083530][ T3965] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:209 [ 45.086054][ T3965] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3965, name: syz-executor355 [ 45.088417][ T3965] 2 locks held by syz-executor355/3965: [ 45.090191][ T3965] #0: ffff8000169e74a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 45.092637][ T3965] #1: ffff0000c1789908 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 45.095078][ T3965] Preemption disabled at: [ 45.095090][ T3965] [] netem_change+0x22c/0x1a90 [ 45.097718][ T3965] CPU: 1 PID: 3965 Comm: syz-executor355 Not tainted 5.15.126-syzkaller-00092-g24c4de4069cb #0 [ 45.100384][ T3965] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 45.103030][ T3965] Call trace: [ 45.103891][ T3965] dump_backtrace+0x0/0x530 [ 45.105033][ T3965] show_stack+0x2c/0x3c [ 45.106154][ T3965] dump_stack_lvl+0x108/0x170 [ 45.107311][ T3965] dump_stack+0x1c/0x58 [ 45.108397][ T3965] ___might_sleep+0x380/0x4dc [ 45.109621][ T3965] __might_sleep+0x98/0xf0 [ 45.110792][ T3965] slab_pre_alloc_hook+0x58/0xe8 [ 45.112058][ T3965] __kmalloc_node+0xbc/0x5b8 [ 45.113315][ T3965] kvmalloc_node+0x88/0x204 [ 45.114506][ T3965] get_dist_table+0x9c/0x2a4 [ 45.115679][ T3965] netem_change+0x7cc/0x1a90 [ 45.116886][ T3965] netem_init+0x54/0xb8 [ 45.117957][ T3965] qdisc_create+0x6fc/0xf44 [ 45.119147][ T3965] tc_modify_qdisc+0x8dc/0x1344 [ 45.120379][ T3965] rtnetlink_rcv_msg+0xa74/0xdac [ 45.121668][ T3965] netlink_rcv_skb+0x20c/0x3b8 [ 45.122968][ T3965] rtnetlink_rcv+0x28/0x38 [ 45.124113][ T3965] netlink_unicast+0x664/0x938 [ 45.125347][ T3965] netlink_sendmsg+0x844/0xb38 [ 45.126595][ T3965] ____sys_sendmsg+0x584/0x870 [ 45.127867][ T3965] ___sys_sendmsg+0x214/0x294 [ 45.129068][ T3965] __arm64_sys_sendmsg+0x1ac/0x25c [ 45.130398][ T3965] invoke_syscall+0x98/0x2b8 [ 45.131579][ T3965] el0_svc_common+0x138/0x258 [ 45.132773][ T3965] do_el0_svc+0x58/0x14c [ 45.133868][ T3965] el0_svc+0x7c/0x1f0 [ 45.134882][ T3965] el0t_64_sync_handler+0x84/0xe4 [ 45.136189][ T3965] el0t_64_sync+0x1a0/0x1a4 [ 45.137487][ T3965] [ 45.138094][ T3965] ============================================ [ 45.139641][ T3965] WARNING: possible recursive locking detected [ 45.141267][ T3965] 5.15.126-syzkaller-00092-g24c4de4069cb #0 Tainted: G W [ 45.143400][ T3965] -------------------------------------------- [ 45.145006][ T3965] syz-executor355/3965 is trying to acquire lock: [ 45.146651][ T3965] ffff0000c1789908 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x1f0/0x2a4 [ 45.148899][ T3965] [ 45.148899][ T3965] but task is already holding lock: [ 45.150796][ T3965] ffff0000c1789908 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 45.153036][ T3965] [ 45.153036][ T3965] other info that might help us debug this: [ 45.155110][ T3965] Possible unsafe locking scenario: [ 45.155110][ T3965] [ 45.157001][ T3965] CPU0 [ 45.157816][ T3965] ---- [ 45.158616][ T3965] lock(&sch->q.lock); [ 45.159689][ T3965] lock(&sch->q.lock); [ 45.160690][ T3965] [ 45.160690][ T3965] *** DEADLOCK *** [ 45.160690][ T3965] [ 45.162829][ T3965] May be due to missing lock nesting notation [ 45.162829][ T3965] [ 45.164945][ T3965] 2 locks held by syz-executor355/3965: [ 45.166368][ T3965] #0: ffff8000169e74a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 45.168826][ T3965] #1: ffff0000c1789908 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 45.171232][ T3965] [ 45.171232][ T3965] stack backtrace: [ 45.172601][ T3965] CPU: 1 PID: 3965 Comm: syz-executor355 Tainted: G W 5.15.126-syzkaller-00092-g24c4de4069cb #0 [ 45.175619][ T3965] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 45.178165][ T3965] Call trace: [ 45.178983][ T3965] dump_backtrace+0x0/0x530 [ 45.180140][ T3965] show_stack+0x2c/0x3c [ 45.181248][ T3965] dump_stack_lvl+0x108/0x170 [ 45.182470][ T3965] dump_stack+0x1c/0x58 [ 45.183527][ T3965] __lock_acquire+0x62b4/0x7620 [ 45.184778][ T3965] lock_acquire+0x240/0x77c [ 45.185908][ T3965] _raw_spin_lock_bh+0x124/0x1c4 [ 45.187202][ T3965] get_dist_table+0x1f0/0x2a4 [ 45.188413][ T3965] netem_change+0x7cc/0x1a90 [ 45.189357][ T3965] netem_init+0x54/0xb8 [ 45.190193][ T3965] qdisc_create+0x6fc/0xf44 [ 45.191023][ T3965] tc_modify_qdisc+0x8dc/0x1344 [ 45.191931][ T3965] rtnetlink_rcv_msg+0xa74/0xdac [ 45.192873][ T3965] netlink_rcv_skb+0x20c/0x3b8 [ 45.193732][ T3965] rtnetlink_rcv+0x28/0x38 [ 45.194946][ T3965] netlink_unicast+0x664/0x938 [ 45.196154][ T3965] netlink_sendmsg+0x844/0xb38 [ 45.197394][ T3965] ____sys_sendmsg+0x584/0x870 [ 45.198631][ T3965] ___sys_sendmsg+0x214/0x294 [ 45.199818][ T3965] __arm64_sys_sendmsg+0x1ac/0x25c [ 45.201141][ T3965] invoke_syscall+0x98/0x2b8 [ 45.202353][ T3965] el0_svc_common+0x138/0x258 [ 45.203502][ T3965] do_el0_svc+0x58/0x14c [ 45.204568][ T3965] el0_svc+0x7c/0x1f0 [ 45.205601][ T3965] el0t_64_sync_handler+0x84/0xe4 [ 45.206875][ T3965] el0t_64_sync+0x1a0/0x1a4