Warning: Permanently added '10.128.10.6' (ED25519) to the list of known hosts. executing program [ 42.461155][ T3962] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:209 [ 42.463287][ T3962] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3962, name: syz-executor132 [ 42.465307][ T3962] 2 locks held by syz-executor132/3962: [ 42.466494][ T3962] #0: ffff8000169e74a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 42.468715][ T3962] #1: ffff0000cb78e108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 42.470712][ T3962] Preemption disabled at: [ 42.470724][ T3962] [] netem_change+0x22c/0x1a90 [ 42.473172][ T3962] CPU: 0 PID: 3962 Comm: syz-executor132 Not tainted 5.15.126-syzkaller-00092-g24c4de4069cb #0 [ 42.475311][ T3962] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 42.477487][ T3962] Call trace: [ 42.478174][ T3962] dump_backtrace+0x0/0x530 [ 42.479182][ T3962] show_stack+0x2c/0x3c [ 42.480046][ T3962] dump_stack_lvl+0x108/0x170 [ 42.481018][ T3962] dump_stack+0x1c/0x58 [ 42.481932][ T3962] ___might_sleep+0x380/0x4dc [ 42.482966][ T3962] __might_sleep+0x98/0xf0 [ 42.483917][ T3962] slab_pre_alloc_hook+0x58/0xe8 [ 42.484999][ T3962] __kmalloc_node+0xbc/0x5b8 [ 42.485946][ T3962] kvmalloc_node+0x88/0x204 [ 42.486877][ T3962] get_dist_table+0x9c/0x2a4 [ 42.487789][ T3962] netem_change+0x7cc/0x1a90 [ 42.488786][ T3962] netem_init+0x54/0xb8 [ 42.489667][ T3962] qdisc_create+0x6fc/0xf44 [ 42.490657][ T3962] tc_modify_qdisc+0x8dc/0x1344 [ 42.491654][ T3962] rtnetlink_rcv_msg+0xa74/0xdac [ 42.492742][ T3962] netlink_rcv_skb+0x20c/0x3b8 [ 42.493732][ T3962] rtnetlink_rcv+0x28/0x38 [ 42.494683][ T3962] netlink_unicast+0x664/0x938 [ 42.495636][ T3962] netlink_sendmsg+0x844/0xb38 [ 42.496553][ T3962] ____sys_sendmsg+0x584/0x870 [ 42.497438][ T3962] ___sys_sendmsg+0x214/0x294 [ 42.498394][ T3962] __arm64_sys_sendmsg+0x1ac/0x25c [ 42.499496][ T3962] invoke_syscall+0x98/0x2b8 [ 42.500542][ T3962] el0_svc_common+0x138/0x258 [ 42.501646][ T3962] do_el0_svc+0x58/0x14c [ 42.502615][ T3962] el0_svc+0x7c/0x1f0 [ 42.503429][ T3962] el0t_64_sync_handler+0x84/0xe4 [ 42.504518][ T3962] el0t_64_sync+0x1a0/0x1a4 [ 42.505587][ T3962] [ 42.506093][ T3962] ============================================ [ 42.507291][ T3962] WARNING: possible recursive locking detected [ 42.508620][ T3962] 5.15.126-syzkaller-00092-g24c4de4069cb #0 Tainted: G W [ 42.510396][ T3962] -------------------------------------------- [ 42.511713][ T3962] syz-executor132/3962 is trying to acquire lock: [ 42.513111][ T3962] ffff0000cb78e108 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x1f0/0x2a4 [ 42.515065][ T3962] [ 42.515065][ T3962] but task is already holding lock: [ 42.516705][ T3962] ffff0000cb78e108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 42.518678][ T3962] [ 42.518678][ T3962] other info that might help us debug this: [ 42.520396][ T3962] Possible unsafe locking scenario: [ 42.520396][ T3962] [ 42.522041][ T3962] CPU0 [ 42.522736][ T3962] ---- [ 42.523447][ T3962] lock(&sch->q.lock); [ 42.524331][ T3962] lock(&sch->q.lock); [ 42.525222][ T3962] [ 42.525222][ T3962] *** DEADLOCK *** [ 42.525222][ T3962] [ 42.526933][ T3962] May be due to missing lock nesting notation [ 42.526933][ T3962] [ 42.528703][ T3962] 2 locks held by syz-executor132/3962: [ 42.529896][ T3962] #0: ffff8000169e74a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 42.531843][ T3962] #1: ffff0000cb78e108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 42.533851][ T3962] [ 42.533851][ T3962] stack backtrace: [ 42.535058][ T3962] CPU: 0 PID: 3962 Comm: syz-executor132 Tainted: G W 5.15.126-syzkaller-00092-g24c4de4069cb #0 [ 42.537535][ T3962] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 42.539680][ T3962] Call trace: [ 42.540438][ T3962] dump_backtrace+0x0/0x530 [ 42.541413][ T3962] show_stack+0x2c/0x3c [ 42.542243][ T3962] dump_stack_lvl+0x108/0x170 [ 42.543224][ T3962] dump_stack+0x1c/0x58 [ 42.544151][ T3962] __lock_acquire+0x62b4/0x7620 [ 42.545182][ T3962] lock_acquire+0x240/0x77c [ 42.546092][ T3962] _raw_spin_lock_bh+0x124/0x1c4 [ 42.547135][ T3962] get_dist_table+0x1f0/0x2a4 [ 42.548156][ T3962] netem_change+0x7cc/0x1a90 [ 42.549120][ T3962] netem_init+0x54/0xb8 [ 42.550016][ T3962] qdisc_create+0x6fc/0xf44 [ 42.550969][ T3962] tc_modify_qdisc+0x8dc/0x1344 [ 42.552074][ T3962] rtnetlink_rcv_msg+0xa74/0xdac [ 42.553190][ T3962] netlink_rcv_skb+0x20c/0x3b8 [ 42.554227][ T3962] rtnetlink_rcv+0x28/0x38 [ 42.555168][ T3962] netlink_unicast+0x664/0x938 [ 42.556196][ T3962] netlink_sendmsg+0x844/0xb38 [ 42.557176][ T3962] ____sys_sendmsg+0x584/0x870 [ 42.558220][ T3962] ___sys_sendmsg+0x214/0x294 [ 42.559227][ T3962] __arm64_sys_sendmsg+0x1ac/0x25c [ 42.560274][ T3962] invoke_syscall+0x98/0x2b8 [ 42.561347][ T3962] el0_svc_common+0x138/0x258 [ 42.562359][ T3962] do_el0_svc+0x58/0x14c [ 42.563270][ T3962] el0_svc+0x7c/0x1f0 [ 42.564159][ T3962] el0t_64_sync_handler+0x84/0xe4 [ 42.565233][ T3962] el0t_64_sync+0x1a0/0x1a4