Warning: Permanently added '10.128.0.150' (ED25519) to the list of known hosts. executing program [ 42.097596][ T3972] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:209 [ 42.100325][ T3972] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3972, name: syz-executor111 [ 42.102814][ T3972] 2 locks held by syz-executor111/3972: [ 42.104213][ T3972] #0: ffff8000169e7128 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 42.106761][ T3972] #1: ffff0000c8ac1108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 42.109333][ T3972] Preemption disabled at: [ 42.109346][ T3972] [] netem_change+0x22c/0x1a90 [ 42.112011][ T3972] CPU: 1 PID: 3972 Comm: syz-executor111 Not tainted 5.15.123-syzkaller #0 [ 42.114193][ T3972] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 42.116757][ T3972] Call trace: [ 42.117645][ T3972] dump_backtrace+0x0/0x530 [ 42.118852][ T3972] show_stack+0x2c/0x3c [ 42.119980][ T3972] dump_stack_lvl+0x108/0x170 [ 42.121253][ T3972] dump_stack+0x1c/0x58 [ 42.122372][ T3972] ___might_sleep+0x380/0x4dc [ 42.123646][ T3972] __might_sleep+0x98/0xf0 [ 42.124820][ T3972] slab_pre_alloc_hook+0x58/0xe8 [ 42.126128][ T3972] __kmalloc_node+0xbc/0x5b8 [ 42.127310][ T3972] kvmalloc_node+0x88/0x204 [ 42.128499][ T3972] get_dist_table+0x9c/0x2a4 [ 42.129672][ T3972] netem_change+0x820/0x1a90 [ 42.130919][ T3972] netem_init+0x54/0xb8 [ 42.132035][ T3972] qdisc_create+0x6fc/0xf44 [ 42.133230][ T3972] tc_modify_qdisc+0x8dc/0x1344 [ 42.134477][ T3972] rtnetlink_rcv_msg+0xa74/0xdac [ 42.135770][ T3972] netlink_rcv_skb+0x20c/0x3b8 [ 42.136972][ T3972] rtnetlink_rcv+0x28/0x38 [ 42.138114][ T3972] netlink_unicast+0x664/0x938 [ 42.139353][ T3972] netlink_sendmsg+0x844/0xb38 [ 42.140582][ T3972] ____sys_sendmsg+0x584/0x870 [ 42.141820][ T3972] ___sys_sendmsg+0x214/0x294 [ 42.143024][ T3972] __arm64_sys_sendmsg+0x1ac/0x25c [ 42.144419][ T3972] invoke_syscall+0x98/0x2b8 [ 42.145669][ T3972] el0_svc_common+0x138/0x258 [ 42.146913][ T3972] do_el0_svc+0x58/0x14c [ 42.148019][ T3972] el0_svc+0x7c/0x1f0 [ 42.149100][ T3972] el0t_64_sync_handler+0x84/0xe4 [ 42.150450][ T3972] el0t_64_sync+0x1a0/0x1a4 [ 42.151799][ T3972] [ 42.152380][ T3972] ============================================ [ 42.153906][ T3972] WARNING: possible recursive locking detected [ 42.155419][ T3972] 5.15.123-syzkaller #0 Tainted: G W [ 42.157115][ T3972] -------------------------------------------- [ 42.158696][ T3972] syz-executor111/3972 is trying to acquire lock: [ 42.160378][ T3972] ffff0000c8ac1108 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x1f0/0x2a4 [ 42.162721][ T3972] [ 42.162721][ T3972] but task is already holding lock: [ 42.164679][ T3972] ffff0000c8ac1108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 42.166992][ T3972] [ 42.166992][ T3972] other info that might help us debug this: [ 42.169079][ T3972] Possible unsafe locking scenario: [ 42.169079][ T3972] [ 42.171036][ T3972] CPU0 [ 42.171908][ T3972] ---- [ 42.172782][ T3972] lock(&sch->q.lock); [ 42.173881][ T3972] lock(&sch->q.lock); [ 42.174975][ T3972] [ 42.174975][ T3972] *** DEADLOCK *** [ 42.174975][ T3972] [ 42.177136][ T3972] May be due to missing lock nesting notation [ 42.177136][ T3972] [ 42.179330][ T3972] 2 locks held by syz-executor111/3972: [ 42.180768][ T3972] #0: ffff8000169e7128 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 42.183299][ T3972] #1: ffff0000c8ac1108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 42.185753][ T3972] [ 42.185753][ T3972] stack backtrace: [ 42.187287][ T3972] CPU: 1 PID: 3972 Comm: syz-executor111 Tainted: G W 5.15.123-syzkaller #0 [ 42.189816][ T3972] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 42.192458][ T3972] Call trace: [ 42.193344][ T3972] dump_backtrace+0x0/0x530 [ 42.194560][ T3972] show_stack+0x2c/0x3c [ 42.195667][ T3972] dump_stack_lvl+0x108/0x170 [ 42.196884][ T3972] dump_stack+0x1c/0x58 [ 42.197969][ T3972] __lock_acquire+0x62b4/0x7620 [ 42.199224][ T3972] lock_acquire+0x240/0x77c [ 42.200398][ T3972] _raw_spin_lock_bh+0x124/0x1c4 [ 42.201700][ T3972] get_dist_table+0x1f0/0x2a4 [ 42.202922][ T3972] netem_change+0x820/0x1a90 [ 42.204140][ T3972] netem_init+0x54/0xb8 [ 42.205232][ T3972] qdisc_create+0x6fc/0xf44 [ 42.206384][ T3972] tc_modify_qdisc+0x8dc/0x1344 [ 42.207635][ T3972] rtnetlink_rcv_msg+0xa74/0xdac [ 42.208900][ T3972] netlink_rcv_skb+0x20c/0x3b8 [ 42.210160][ T3972] rtnetlink_rcv+0x28/0x38 [ 42.211306][ T3972] netlink_unicast+0x664/0x938 [ 42.212563][ T3972] netlink_sendmsg+0x844/0xb38 [ 42.213824][ T3972] ____sys_sendmsg+0x584/0x870 [ 42.215091][ T3972] ___sys_sendmsg+0x214/0x294 [ 42.216317][ T3972] __arm64_sys_sendmsg+0x1ac/0x25c [ 42.217655][ T3972] invoke_syscall+0x98/0x2b8 [ 42.218866][ T3972] el0_svc_common+0x138/0x258 [ 42.220131][ T3972] do_el0_svc+0x58/0x14c [ 42.221275][ T3972] el0_svc+0x7c/0x1f0 [ 42.222361][ T3972] el0t_64_sync_handler+0x84/0xe4 [ 42.223685][ T3972] el0t_64_sync+0x1a0/0x1a4