Warning: Permanently added '10.128.1.187' (ED25519) to the list of known hosts. executing program [ 48.908568][ T3962] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:209 [ 48.910721][ T3962] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3962, name: syz-executor173 [ 48.912660][ T3962] 2 locks held by syz-executor173/3962: [ 48.913891][ T3962] #0: ffff8000169e7128 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 48.915939][ T3962] #1: ffff0000c8ce6108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 48.918060][ T3962] Preemption disabled at: [ 48.918072][ T3962] [] netem_change+0x22c/0x1a90 [ 48.920415][ T3962] CPU: 1 PID: 3962 Comm: syz-executor173 Not tainted 5.15.123-syzkaller #0 [ 48.922245][ T3962] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 48.924474][ T3962] Call trace: [ 48.925186][ T3962] dump_backtrace+0x0/0x530 [ 48.926226][ T3962] show_stack+0x2c/0x3c [ 48.927093][ T3962] dump_stack_lvl+0x108/0x170 [ 48.928086][ T3962] dump_stack+0x1c/0x58 [ 48.929072][ T3962] ___might_sleep+0x380/0x4dc [ 48.930146][ T3962] __might_sleep+0x98/0xf0 [ 48.931174][ T3962] slab_pre_alloc_hook+0x58/0xe8 [ 48.932175][ T3962] __kmalloc_node+0xbc/0x5b8 [ 48.933189][ T3962] kvmalloc_node+0x88/0x204 [ 48.934173][ T3962] get_dist_table+0x9c/0x2a4 [ 48.935158][ T3962] netem_change+0x820/0x1a90 [ 48.936135][ T3962] netem_init+0x54/0xb8 [ 48.937027][ T3962] qdisc_create+0x6fc/0xf44 [ 48.938019][ T3962] tc_modify_qdisc+0x8dc/0x1344 [ 48.939059][ T3962] rtnetlink_rcv_msg+0xa74/0xdac [ 48.940104][ T3962] netlink_rcv_skb+0x20c/0x3b8 [ 48.941169][ T3962] rtnetlink_rcv+0x28/0x38 [ 48.942227][ T3962] netlink_unicast+0x664/0x938 [ 48.943272][ T3962] netlink_sendmsg+0x844/0xb38 [ 48.944350][ T3962] ____sys_sendmsg+0x584/0x870 [ 48.945343][ T3962] ___sys_sendmsg+0x214/0x294 [ 48.946304][ T3962] __arm64_sys_sendmsg+0x1ac/0x25c [ 48.947404][ T3962] invoke_syscall+0x98/0x2b8 [ 48.948415][ T3962] el0_svc_common+0x138/0x258 [ 48.949390][ T3962] do_el0_svc+0x58/0x14c [ 48.950343][ T3962] el0_svc+0x7c/0x1f0 [ 48.951161][ T3962] el0t_64_sync_handler+0x84/0xe4 [ 48.952371][ T3962] el0t_64_sync+0x1a0/0x1a4 [ 48.953388][ T3962] [ 48.953893][ T3962] ============================================ [ 48.955122][ T3962] WARNING: possible recursive locking detected [ 48.956400][ T3962] 5.15.123-syzkaller #0 Tainted: G W [ 48.957801][ T3962] -------------------------------------------- [ 48.959146][ T3962] syz-executor173/3962 is trying to acquire lock: [ 48.960521][ T3962] ffff0000c8ce6108 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x1f0/0x2a4 [ 48.962409][ T3962] [ 48.962409][ T3962] but task is already holding lock: [ 48.963997][ T3962] ffff0000c8ce6108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 48.966001][ T3962] [ 48.966001][ T3962] other info that might help us debug this: [ 48.967822][ T3962] Possible unsafe locking scenario: [ 48.967822][ T3962] [ 48.969476][ T3962] CPU0 [ 48.970206][ T3962] ---- [ 48.970941][ T3962] lock(&sch->q.lock); [ 48.971870][ T3962] lock(&sch->q.lock); [ 48.972756][ T3962] [ 48.972756][ T3962] *** DEADLOCK *** [ 48.972756][ T3962] [ 48.974496][ T3962] May be due to missing lock nesting notation [ 48.974496][ T3962] [ 48.976237][ T3962] 2 locks held by syz-executor173/3962: [ 48.977388][ T3962] #0: ffff8000169e7128 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 48.979460][ T3962] #1: ffff0000c8ce6108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 48.981442][ T3962] [ 48.981442][ T3962] stack backtrace: [ 48.982742][ T3962] CPU: 1 PID: 3962 Comm: syz-executor173 Tainted: G W 5.15.123-syzkaller #0 [ 48.984856][ T3962] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 48.987054][ T3962] Call trace: [ 48.987801][ T3962] dump_backtrace+0x0/0x530 [ 48.988799][ T3962] show_stack+0x2c/0x3c [ 48.989725][ T3962] dump_stack_lvl+0x108/0x170 [ 48.990732][ T3962] dump_stack+0x1c/0x58 [ 48.991660][ T3962] __lock_acquire+0x62b4/0x7620 [ 48.992748][ T3962] lock_acquire+0x240/0x77c [ 48.993738][ T3962] _raw_spin_lock_bh+0x124/0x1c4 [ 48.994795][ T3962] get_dist_table+0x1f0/0x2a4 [ 48.995904][ T3962] netem_change+0x820/0x1a90 [ 48.996899][ T3962] netem_init+0x54/0xb8 [ 48.997911][ T3962] qdisc_create+0x6fc/0xf44 [ 48.998984][ T3962] tc_modify_qdisc+0x8dc/0x1344 [ 49.000050][ T3962] rtnetlink_rcv_msg+0xa74/0xdac [ 49.001080][ T3962] netlink_rcv_skb+0x20c/0x3b8 [ 49.002080][ T3962] rtnetlink_rcv+0x28/0x38 [ 49.003060][ T3962] netlink_unicast+0x664/0x938 [ 49.004177][ T3962] netlink_sendmsg+0x844/0xb38 [ 49.005292][ T3962] ____sys_sendmsg+0x584/0x870 [ 49.006238][ T3962] ___sys_sendmsg+0x214/0x294 [ 49.007400][ T3962] __arm64_sys_sendmsg+0x1ac/0x25c [ 49.008515][ T3962] invoke_syscall+0x98/0x2b8 [ 49.009581][ T3962] el0_svc_common+0x138/0x258 [ 49.010562][ T3962] do_el0_svc+0x58/0x14c [ 49.011462][ T3962] el0_svc+0x7c/0x1f0 [ 49.012332][ T3962] el0t_64_sync_handler+0x84/0xe4 [ 49.013430][ T3962] el0t_64_sync+0x1a0/0x1a4