Warning: Permanently added '10.128.0.221' (ED25519) to the list of known hosts. executing program syzkaller login: [ 44.201089][ T3964] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:209 [ 44.203267][ T3964] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3964, name: syz-executor191 [ 44.205302][ T3964] 2 locks held by syz-executor191/3964: [ 44.206406][ T3964] #0: ffff8000169e74a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 44.208479][ T3964] #1: ffff0000cace9108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 44.210527][ T3964] Preemption disabled at: [ 44.210539][ T3964] [] netem_change+0x22c/0x1a90 [ 44.212982][ T3964] CPU: 1 PID: 3964 Comm: syz-executor191 Not tainted 5.15.126-syzkaller-00092-g24c4de4069cb #0 [ 44.215044][ T3964] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 44.217108][ T3964] Call trace: [ 44.217732][ T3964] dump_backtrace+0x0/0x530 [ 44.218659][ T3964] show_stack+0x2c/0x3c [ 44.219591][ T3964] dump_stack_lvl+0x108/0x170 [ 44.220569][ T3964] dump_stack+0x1c/0x58 [ 44.221496][ T3964] ___might_sleep+0x380/0x4dc [ 44.222479][ T3964] __might_sleep+0x98/0xf0 [ 44.223410][ T3964] slab_pre_alloc_hook+0x58/0xe8 [ 44.224494][ T3964] __kmalloc_node+0xbc/0x5b8 [ 44.225477][ T3964] kvmalloc_node+0x88/0x204 [ 44.226485][ T3964] get_dist_table+0x9c/0x2a4 [ 44.227497][ T3964] netem_change+0x7cc/0x1a90 [ 44.228460][ T3964] netem_init+0x54/0xb8 [ 44.229393][ T3964] qdisc_create+0x6fc/0xf44 [ 44.230413][ T3964] tc_modify_qdisc+0x8dc/0x1344 [ 44.231495][ T3964] rtnetlink_rcv_msg+0xa74/0xdac [ 44.232670][ T3964] netlink_rcv_skb+0x20c/0x3b8 [ 44.233698][ T3964] rtnetlink_rcv+0x28/0x38 [ 44.234598][ T3964] netlink_unicast+0x664/0x938 [ 44.235671][ T3964] netlink_sendmsg+0x844/0xb38 [ 44.236790][ T3964] ____sys_sendmsg+0x584/0x870 [ 44.237893][ T3964] ___sys_sendmsg+0x214/0x294 [ 44.238918][ T3964] __arm64_sys_sendmsg+0x1ac/0x25c [ 44.240039][ T3964] invoke_syscall+0x98/0x2b8 [ 44.241058][ T3964] el0_svc_common+0x138/0x258 [ 44.242021][ T3964] do_el0_svc+0x58/0x14c [ 44.242957][ T3964] el0_svc+0x7c/0x1f0 [ 44.243789][ T3964] el0t_64_sync_handler+0x84/0xe4 [ 44.244908][ T3964] el0t_64_sync+0x1a0/0x1a4 [ 44.246095][ T3964] [ 44.246595][ T3964] ============================================ [ 44.247778][ T3964] WARNING: possible recursive locking detected [ 44.249075][ T3964] 5.15.126-syzkaller-00092-g24c4de4069cb #0 Tainted: G W [ 44.250785][ T3964] -------------------------------------------- [ 44.252116][ T3964] syz-executor191/3964 is trying to acquire lock: [ 44.253557][ T3964] ffff0000cace9108 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x1f0/0x2a4 [ 44.255505][ T3964] [ 44.255505][ T3964] but task is already holding lock: [ 44.257016][ T3964] ffff0000cace9108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 44.258864][ T3964] [ 44.258864][ T3964] other info that might help us debug this: [ 44.260662][ T3964] Possible unsafe locking scenario: [ 44.260662][ T3964] [ 44.262225][ T3964] CPU0 [ 44.262954][ T3964] ---- [ 44.263688][ T3964] lock(&sch->q.lock); [ 44.264592][ T3964] lock(&sch->q.lock); [ 44.265517][ T3964] [ 44.265517][ T3964] *** DEADLOCK *** [ 44.265517][ T3964] [ 44.267184][ T3964] May be due to missing lock nesting notation [ 44.267184][ T3964] [ 44.268947][ T3964] 2 locks held by syz-executor191/3964: [ 44.270087][ T3964] #0: ffff8000169e74a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 44.272050][ T3964] #1: ffff0000cace9108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 44.274007][ T3964] [ 44.274007][ T3964] stack backtrace: [ 44.275240][ T3964] CPU: 1 PID: 3964 Comm: syz-executor191 Tainted: G W 5.15.126-syzkaller-00092-g24c4de4069cb #0 [ 44.277702][ T3964] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 44.279861][ T3964] Call trace: [ 44.280572][ T3964] dump_backtrace+0x0/0x530 [ 44.281511][ T3964] show_stack+0x2c/0x3c [ 44.282404][ T3964] dump_stack_lvl+0x108/0x170 [ 44.283428][ T3964] dump_stack+0x1c/0x58 [ 44.284375][ T3964] __lock_acquire+0x62b4/0x7620 [ 44.285466][ T3964] lock_acquire+0x240/0x77c [ 44.286493][ T3964] _raw_spin_lock_bh+0x124/0x1c4 [ 44.287580][ T3964] get_dist_table+0x1f0/0x2a4 [ 44.288620][ T3964] netem_change+0x7cc/0x1a90 [ 44.289614][ T3964] netem_init+0x54/0xb8 [ 44.290523][ T3964] qdisc_create+0x6fc/0xf44 [ 44.291414][ T3964] tc_modify_qdisc+0x8dc/0x1344 [ 44.292407][ T3964] rtnetlink_rcv_msg+0xa74/0xdac [ 44.293362][ T3964] netlink_rcv_skb+0x20c/0x3b8 [ 44.294420][ T3964] rtnetlink_rcv+0x28/0x38 [ 44.295412][ T3964] netlink_unicast+0x664/0x938 [ 44.296433][ T3964] netlink_sendmsg+0x844/0xb38 [ 44.297533][ T3964] ____sys_sendmsg+0x584/0x870 [ 44.298584][ T3964] ___sys_sendmsg+0x214/0x294 [ 44.299652][ T3964] __arm64_sys_sendmsg+0x1ac/0x25c [ 44.300754][ T3964] invoke_syscall+0x98/0x2b8 [ 44.301729][ T3964] el0_svc_common+0x138/0x258 [ 44.302741][ T3964] do_el0_svc+0x58/0x14c [ 44.303698][ T3964] el0_svc+0x7c/0x1f0 [ 44.304557][ T3964] el0t_64_sync_handler+0x84/0xe4 [ 44.305627][ T3964] el0t_64_sync+0x1a0/0x1a4