Warning: Permanently added '10.128.10.45' (ED25519) to the list of known hosts. executing program [ 39.507569][ T3961] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:209 [ 39.509987][ T3961] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3961, name: syz-executor257 [ 39.512181][ T3961] 2 locks held by syz-executor257/3961: [ 39.513455][ T3961] #0: ffff8000169e7128 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 39.515731][ T3961] #1: ffff0000c1ad5108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 39.517896][ T3961] Preemption disabled at: [ 39.517909][ T3961] [] netem_change+0x22c/0x1a90 [ 39.520474][ T3961] CPU: 0 PID: 3961 Comm: syz-executor257 Not tainted 5.15.123-syzkaller #0 [ 39.522579][ T3961] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 39.524917][ T3961] Call trace: [ 39.525708][ T3961] dump_backtrace+0x0/0x530 [ 39.526791][ T3961] show_stack+0x2c/0x3c [ 39.527781][ T3961] dump_stack_lvl+0x108/0x170 [ 39.528829][ T3961] dump_stack+0x1c/0x58 [ 39.529773][ T3961] ___might_sleep+0x380/0x4dc [ 39.530865][ T3961] __might_sleep+0x98/0xf0 [ 39.531859][ T3961] slab_pre_alloc_hook+0x58/0xe8 [ 39.533086][ T3961] __kmalloc_node+0xbc/0x5b8 [ 39.534194][ T3961] kvmalloc_node+0x88/0x204 [ 39.535259][ T3961] get_dist_table+0x9c/0x2a4 [ 39.536387][ T3961] netem_change+0x7cc/0x1a90 [ 39.537505][ T3961] netem_init+0x54/0xb8 [ 39.538503][ T3961] qdisc_create+0x6fc/0xf44 [ 39.539556][ T3961] tc_modify_qdisc+0x8dc/0x1344 [ 39.540724][ T3961] rtnetlink_rcv_msg+0xa74/0xdac [ 39.541883][ T3961] netlink_rcv_skb+0x20c/0x3b8 [ 39.543038][ T3961] rtnetlink_rcv+0x28/0x38 [ 39.544068][ T3961] netlink_unicast+0x664/0x938 [ 39.545147][ T3961] netlink_sendmsg+0x844/0xb38 [ 39.546233][ T3961] ____sys_sendmsg+0x584/0x870 [ 39.547377][ T3961] ___sys_sendmsg+0x214/0x294 [ 39.548442][ T3961] __arm64_sys_sendmsg+0x1ac/0x25c [ 39.549648][ T3961] invoke_syscall+0x98/0x2b8 [ 39.550680][ T3961] el0_svc_common+0x138/0x258 [ 39.551742][ T3961] do_el0_svc+0x58/0x14c [ 39.552738][ T3961] el0_svc+0x7c/0x1f0 [ 39.553647][ T3961] el0t_64_sync_handler+0x84/0xe4 [ 39.554898][ T3961] el0t_64_sync+0x1a0/0x1a4 [ 39.556088][ T3961] [ 39.556608][ T3961] ============================================ [ 39.558001][ T3961] WARNING: possible recursive locking detected [ 39.559465][ T3961] 5.15.123-syzkaller #0 Tainted: G W [ 39.560979][ T3961] -------------------------------------------- [ 39.562404][ T3961] syz-executor257/3961 is trying to acquire lock: [ 39.563901][ T3961] ffff0000c1ad5108 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x1f0/0x2a4 [ 39.566014][ T3961] [ 39.566014][ T3961] but task is already holding lock: [ 39.567797][ T3961] ffff0000c1ad5108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 39.569931][ T3961] [ 39.569931][ T3961] other info that might help us debug this: [ 39.571768][ T3961] Possible unsafe locking scenario: [ 39.571768][ T3961] [ 39.573441][ T3961] CPU0 [ 39.574170][ T3961] ---- [ 39.574946][ T3961] lock(&sch->q.lock); [ 39.575894][ T3961] lock(&sch->q.lock); [ 39.576901][ T3961] [ 39.576901][ T3961] *** DEADLOCK *** [ 39.576901][ T3961] [ 39.578804][ T3961] May be due to missing lock nesting notation [ 39.578804][ T3961] [ 39.580678][ T3961] 2 locks held by syz-executor257/3961: [ 39.581918][ T3961] #0: ffff8000169e7128 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 39.584133][ T3961] #1: ffff0000c1ad5108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 39.586241][ T3961] [ 39.586241][ T3961] stack backtrace: [ 39.587620][ T3961] CPU: 0 PID: 3961 Comm: syz-executor257 Tainted: G W 5.15.123-syzkaller #0 [ 39.589966][ T3961] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 39.592273][ T3961] Call trace: [ 39.593043][ T3961] dump_backtrace+0x0/0x530 [ 39.594053][ T3961] show_stack+0x2c/0x3c [ 39.595017][ T3961] dump_stack_lvl+0x108/0x170 [ 39.596174][ T3961] dump_stack+0x1c/0x58 [ 39.597148][ T3961] __lock_acquire+0x62b4/0x7620 [ 39.598208][ T3961] lock_acquire+0x240/0x77c [ 39.599201][ T3961] _raw_spin_lock_bh+0x124/0x1c4 [ 39.600338][ T3961] get_dist_table+0x1f0/0x2a4 [ 39.601415][ T3961] netem_change+0x7cc/0x1a90 [ 39.602464][ T3961] netem_init+0x54/0xb8 [ 39.603433][ T3961] qdisc_create+0x6fc/0xf44 [ 39.604462][ T3961] tc_modify_qdisc+0x8dc/0x1344 [ 39.605570][ T3961] rtnetlink_rcv_msg+0xa74/0xdac [ 39.606726][ T3961] netlink_rcv_skb+0x20c/0x3b8 [ 39.607852][ T3961] rtnetlink_rcv+0x28/0x38 [ 39.608918][ T3961] netlink_unicast+0x664/0x938 [ 39.610035][ T3961] netlink_sendmsg+0x844/0xb38 [ 39.611151][ T3961] ____sys_sendmsg+0x584/0x870 [ 39.612234][ T3961] ___sys_sendmsg+0x214/0x294 [ 39.613396][ T3961] __arm64_sys_sendmsg+0x1ac/0x25c [ 39.614597][ T3961] invoke_syscall+0x98/0x2b8 [ 39.615660][ T3961] el0_svc_common+0x138/0x258 [ 39.616718][ T3961] do_el0_svc+0x58/0x14c [ 39.617696][ T3961] el0_svc+0x7c/0x1f0 [ 39.618622][ T3961] el0t_64_sync_handler+0x84/0xe4 [ 39.619735][ T3961] el0t_64_sync+0x1a0/0x1a4