Warning: Permanently added '10.128.0.94' (ED25519) to the list of known hosts. executing program [ 42.422717][ T3961] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:209 [ 42.425583][ T3961] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3961, name: syz-executor350 [ 42.428159][ T3961] 2 locks held by syz-executor350/3961: [ 42.429892][ T3961] #0: ffff8000169e7128 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 42.432372][ T3961] #1: ffff0000c1e30108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 42.434778][ T3961] Preemption disabled at: [ 42.434791][ T3961] [] netem_change+0x22c/0x1a90 [ 42.437534][ T3961] CPU: 0 PID: 3961 Comm: syz-executor350 Not tainted 5.15.123-syzkaller #0 [ 42.439866][ T3961] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 42.442516][ T3961] Call trace: [ 42.443343][ T3961] dump_backtrace+0x0/0x530 [ 42.444503][ T3961] show_stack+0x2c/0x3c [ 42.445634][ T3961] dump_stack_lvl+0x108/0x170 [ 42.446863][ T3961] dump_stack+0x1c/0x58 [ 42.447969][ T3961] ___might_sleep+0x380/0x4dc [ 42.449183][ T3961] __might_sleep+0x98/0xf0 [ 42.450350][ T3961] slab_pre_alloc_hook+0x58/0xe8 [ 42.451710][ T3961] __kmalloc_node+0xbc/0x5b8 [ 42.452984][ T3961] kvmalloc_node+0x88/0x204 [ 42.454157][ T3961] get_dist_table+0x9c/0x2a4 [ 42.455384][ T3961] netem_change+0x7cc/0x1a90 [ 42.456570][ T3961] netem_init+0x54/0xb8 [ 42.457675][ T3961] qdisc_create+0x6fc/0xf44 [ 42.458911][ T3961] tc_modify_qdisc+0x8dc/0x1344 [ 42.460188][ T3961] rtnetlink_rcv_msg+0xa74/0xdac [ 42.461522][ T3961] netlink_rcv_skb+0x20c/0x3b8 [ 42.462784][ T3961] rtnetlink_rcv+0x28/0x38 [ 42.464021][ T3961] netlink_unicast+0x664/0x938 [ 42.465256][ T3961] netlink_sendmsg+0x844/0xb38 [ 42.466532][ T3961] ____sys_sendmsg+0x584/0x870 [ 42.467756][ T3961] ___sys_sendmsg+0x214/0x294 [ 42.469017][ T3961] __arm64_sys_sendmsg+0x1ac/0x25c [ 42.470427][ T3961] invoke_syscall+0x98/0x2b8 [ 42.471666][ T3961] el0_svc_common+0x138/0x258 [ 42.472919][ T3961] do_el0_svc+0x58/0x14c [ 42.474032][ T3961] el0_svc+0x7c/0x1f0 [ 42.475077][ T3961] el0t_64_sync_handler+0x84/0xe4 [ 42.476424][ T3961] el0t_64_sync+0x1a0/0x1a4 [ 42.477693][ T3961] [ 42.478285][ T3961] ============================================ [ 42.479805][ T3961] WARNING: possible recursive locking detected [ 42.481426][ T3961] 5.15.123-syzkaller #0 Tainted: G W [ 42.483126][ T3961] -------------------------------------------- [ 42.484769][ T3961] syz-executor350/3961 is trying to acquire lock: [ 42.486426][ T3961] ffff0000c1e30108 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x1f0/0x2a4 [ 42.488798][ T3961] [ 42.488798][ T3961] but task is already holding lock: [ 42.490686][ T3961] ffff0000c1e30108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 42.492967][ T3961] [ 42.492967][ T3961] other info that might help us debug this: [ 42.495004][ T3961] Possible unsafe locking scenario: [ 42.495004][ T3961] [ 42.496960][ T3961] CPU0 [ 42.497802][ T3961] ---- [ 42.498648][ T3961] lock(&sch->q.lock); [ 42.499725][ T3961] lock(&sch->q.lock); [ 42.500804][ T3961] [ 42.500804][ T3961] *** DEADLOCK *** [ 42.500804][ T3961] [ 42.502951][ T3961] May be due to missing lock nesting notation [ 42.502951][ T3961] [ 42.505113][ T3961] 2 locks held by syz-executor350/3961: [ 42.506590][ T3961] #0: ffff8000169e7128 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 42.509103][ T3961] #1: ffff0000c1e30108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 42.511596][ T3961] [ 42.511596][ T3961] stack backtrace: [ 42.513132][ T3961] CPU: 0 PID: 3961 Comm: syz-executor350 Tainted: G W 5.15.123-syzkaller #0 [ 42.515669][ T3961] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 42.518293][ T3961] Call trace: [ 42.519118][ T3961] dump_backtrace+0x0/0x530 [ 42.520297][ T3961] show_stack+0x2c/0x3c [ 42.521412][ T3961] dump_stack_lvl+0x108/0x170 [ 42.522635][ T3961] dump_stack+0x1c/0x58 [ 42.523730][ T3961] __lock_acquire+0x62b4/0x7620 [ 42.524983][ T3961] lock_acquire+0x240/0x77c [ 42.526142][ T3961] _raw_spin_lock_bh+0x124/0x1c4 [ 42.527393][ T3961] get_dist_table+0x1f0/0x2a4 [ 42.528563][ T3961] netem_change+0x7cc/0x1a90 [ 42.529848][ T3961] netem_init+0x54/0xb8 [ 42.530992][ T3961] qdisc_create+0x6fc/0xf44 [ 42.532170][ T3961] tc_modify_qdisc+0x8dc/0x1344 [ 42.533388][ T3961] rtnetlink_rcv_msg+0xa74/0xdac [ 42.534664][ T3961] netlink_rcv_skb+0x20c/0x3b8 [ 42.535914][ T3961] rtnetlink_rcv+0x28/0x38 [ 42.537070][ T3961] netlink_unicast+0x664/0x938 [ 42.538338][ T3961] netlink_sendmsg+0x844/0xb38 [ 42.539591][ T3961] ____sys_sendmsg+0x584/0x870 [ 42.540842][ T3961] ___sys_sendmsg+0x214/0x294 [ 42.542051][ T3961] __arm64_sys_sendmsg+0x1ac/0x25c [ 42.543416][ T3961] invoke_syscall+0x98/0x2b8 [ 42.544618][ T3961] el0_svc_common+0x138/0x258 [ 42.545811][ T3961] do_el0_svc+0x58/0x14c [ 42.546943][ T3961] el0_svc+0x7c/0x1f0 [ 42.547989][ T3961] el0t_64_sync_handler+0x84/0xe4 [ 42.549280][ T3961] el0t_64_sync+0x1a0/0x1a4