Warning: Permanently added '10.128.0.134' (ED25519) to the list of known hosts. executing program [ 37.093263][ T3962] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:209 [ 37.095804][ T3962] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3962, name: syz-executor340 [ 37.098247][ T3962] 2 locks held by syz-executor340/3962: [ 37.099655][ T3962] #0: ffff8000169e74a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 37.102042][ T3962] #1: ffff0000c8336908 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 37.104501][ T3962] Preemption disabled at: [ 37.104514][ T3962] [] netem_change+0x22c/0x1a90 [ 37.107296][ T3962] CPU: 1 PID: 3962 Comm: syz-executor340 Not tainted 5.15.126-syzkaller-00092-g24c4de4069cb #0 [ 37.109985][ T3962] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 37.112398][ T3962] Call trace: [ 37.113226][ T3962] dump_backtrace+0x0/0x530 [ 37.114318][ T3962] show_stack+0x2c/0x3c [ 37.115434][ T3962] dump_stack_lvl+0x108/0x170 [ 37.116676][ T3962] dump_stack+0x1c/0x58 [ 37.117765][ T3962] ___might_sleep+0x380/0x4dc [ 37.118961][ T3962] __might_sleep+0x98/0xf0 [ 37.120168][ T3962] slab_pre_alloc_hook+0x58/0xe8 [ 37.121463][ T3962] __kmalloc_node+0xbc/0x5b8 [ 37.122665][ T3962] kvmalloc_node+0x88/0x204 [ 37.123847][ T3962] get_dist_table+0x9c/0x2a4 [ 37.125108][ T3962] netem_change+0x7cc/0x1a90 [ 37.126292][ T3962] netem_init+0x54/0xb8 [ 37.127382][ T3962] qdisc_create+0x6fc/0xf44 [ 37.128551][ T3962] tc_modify_qdisc+0x8dc/0x1344 [ 37.129800][ T3962] rtnetlink_rcv_msg+0xa74/0xdac [ 37.131056][ T3962] netlink_rcv_skb+0x20c/0x3b8 [ 37.132323][ T3962] rtnetlink_rcv+0x28/0x38 [ 37.133496][ T3962] netlink_unicast+0x664/0x938 [ 37.134712][ T3962] netlink_sendmsg+0x844/0xb38 [ 37.135961][ T3962] ____sys_sendmsg+0x584/0x870 [ 37.137291][ T3962] ___sys_sendmsg+0x214/0x294 [ 37.138521][ T3962] __arm64_sys_sendmsg+0x1ac/0x25c [ 37.139821][ T3962] invoke_syscall+0x98/0x2b8 [ 37.141020][ T3962] el0_svc_common+0x138/0x258 [ 37.142249][ T3962] do_el0_svc+0x58/0x14c [ 37.143356][ T3962] el0_svc+0x7c/0x1f0 [ 37.144405][ T3962] el0t_64_sync_handler+0x84/0xe4 [ 37.145718][ T3962] el0t_64_sync+0x1a0/0x1a4 [ 37.147036][ T3962] [ 37.147615][ T3962] ============================================ [ 37.149280][ T3962] WARNING: possible recursive locking detected [ 37.150865][ T3962] 5.15.126-syzkaller-00092-g24c4de4069cb #0 Tainted: G W [ 37.153008][ T3962] -------------------------------------------- [ 37.154645][ T3962] syz-executor340/3962 is trying to acquire lock: [ 37.156313][ T3962] ffff0000c8336908 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x1f0/0x2a4 [ 37.158655][ T3962] [ 37.158655][ T3962] but task is already holding lock: [ 37.160566][ T3962] ffff0000c8336908 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 37.162865][ T3962] [ 37.162865][ T3962] other info that might help us debug this: [ 37.164971][ T3962] Possible unsafe locking scenario: [ 37.164971][ T3962] [ 37.166988][ T3962] CPU0 [ 37.167856][ T3962] ---- [ 37.168654][ T3962] lock(&sch->q.lock); [ 37.169735][ T3962] lock(&sch->q.lock); [ 37.170797][ T3962] [ 37.170797][ T3962] *** DEADLOCK *** [ 37.170797][ T3962] [ 37.172914][ T3962] May be due to missing lock nesting notation [ 37.172914][ T3962] [ 37.175080][ T3962] 2 locks held by syz-executor340/3962: [ 37.176558][ T3962] #0: ffff8000169e74a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 37.179004][ T3962] #1: ffff0000c8336908 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 37.181386][ T3962] [ 37.181386][ T3962] stack backtrace: [ 37.182904][ T3962] CPU: 1 PID: 3962 Comm: syz-executor340 Tainted: G W 5.15.126-syzkaller-00092-g24c4de4069cb #0 [ 37.185928][ T3962] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 37.188510][ T3962] Call trace: [ 37.189411][ T3962] dump_backtrace+0x0/0x530 [ 37.190615][ T3962] show_stack+0x2c/0x3c [ 37.191710][ T3962] dump_stack_lvl+0x108/0x170 [ 37.192896][ T3962] dump_stack+0x1c/0x58 [ 37.193936][ T3962] __lock_acquire+0x62b4/0x7620 [ 37.195195][ T3962] lock_acquire+0x240/0x77c [ 37.196324][ T3962] _raw_spin_lock_bh+0x124/0x1c4 [ 37.197645][ T3962] get_dist_table+0x1f0/0x2a4 [ 37.198877][ T3962] netem_change+0x7cc/0x1a90 [ 37.200086][ T3962] netem_init+0x54/0xb8 [ 37.201154][ T3962] qdisc_create+0x6fc/0xf44 [ 37.202338][ T3962] tc_modify_qdisc+0x8dc/0x1344 [ 37.203617][ T3962] rtnetlink_rcv_msg+0xa74/0xdac [ 37.204817][ T3962] netlink_rcv_skb+0x20c/0x3b8 [ 37.206031][ T3962] rtnetlink_rcv+0x28/0x38 [ 37.207183][ T3962] netlink_unicast+0x664/0x938 [ 37.208439][ T3962] netlink_sendmsg+0x844/0xb38 [ 37.209726][ T3962] ____sys_sendmsg+0x584/0x870 [ 37.210956][ T3962] ___sys_sendmsg+0x214/0x294 [ 37.212169][ T3962] __arm64_sys_sendmsg+0x1ac/0x25c [ 37.213552][ T3962] invoke_syscall+0x98/0x2b8 [ 37.214785][ T3962] el0_svc_common+0x138/0x258 [ 37.216027][ T3962] do_el0_svc+0x58/0x14c [ 37.217148][ T3962] el0_svc+0x7c/0x1f0 [ 37.218227][ T3962] el0t_64_sync_handler+0x84/0xe4 [ 37.219594][ T3962] el0t_64_sync+0x1a0/0x1a4