Warning: Permanently added '10.128.1.159' (ED25519) to the list of known hosts. executing program [ 43.436635][ T3964] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:209 [ 43.439203][ T3964] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3964, name: syz-executor147 [ 43.441688][ T3964] 2 locks held by syz-executor147/3964: [ 43.443099][ T3964] #0: ffff8000169e74a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 43.445574][ T3964] #1: ffff0000c19ac908 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 43.447973][ T3964] Preemption disabled at: [ 43.447985][ T3964] [] netem_change+0x22c/0x1a90 [ 43.450629][ T3964] CPU: 1 PID: 3964 Comm: syz-executor147 Not tainted 5.15.126-syzkaller-00092-g24c4de4069cb #0 [ 43.453252][ T3964] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 43.455819][ T3964] Call trace: [ 43.456665][ T3964] dump_backtrace+0x0/0x530 [ 43.457805][ T3964] show_stack+0x2c/0x3c [ 43.458859][ T3964] dump_stack_lvl+0x108/0x170 [ 43.460066][ T3964] dump_stack+0x1c/0x58 [ 43.461126][ T3964] ___might_sleep+0x380/0x4dc [ 43.462359][ T3964] __might_sleep+0x98/0xf0 [ 43.463515][ T3964] slab_pre_alloc_hook+0x58/0xe8 [ 43.464763][ T3964] __kmalloc_node+0xbc/0x5b8 [ 43.465955][ T3964] kvmalloc_node+0x88/0x204 [ 43.467136][ T3964] get_dist_table+0x9c/0x2a4 [ 43.468316][ T3964] netem_change+0x7cc/0x1a90 [ 43.469514][ T3964] netem_init+0x54/0xb8 [ 43.470579][ T3964] qdisc_create+0x6fc/0xf44 [ 43.471757][ T3964] tc_modify_qdisc+0x8dc/0x1344 [ 43.473038][ T3964] rtnetlink_rcv_msg+0xa74/0xdac [ 43.474388][ T3964] netlink_rcv_skb+0x20c/0x3b8 [ 43.475641][ T3964] rtnetlink_rcv+0x28/0x38 [ 43.476796][ T3964] netlink_unicast+0x664/0x938 [ 43.478042][ T3964] netlink_sendmsg+0x844/0xb38 [ 43.479323][ T3964] ____sys_sendmsg+0x584/0x870 [ 43.480547][ T3964] ___sys_sendmsg+0x214/0x294 [ 43.481770][ T3964] __arm64_sys_sendmsg+0x1ac/0x25c [ 43.483096][ T3964] invoke_syscall+0x98/0x2b8 [ 43.484262][ T3964] el0_svc_common+0x138/0x258 [ 43.485503][ T3964] do_el0_svc+0x58/0x14c [ 43.486585][ T3964] el0_svc+0x7c/0x1f0 [ 43.487611][ T3964] el0t_64_sync_handler+0x84/0xe4 [ 43.488899][ T3964] el0t_64_sync+0x1a0/0x1a4 [ 43.490135][ T3964] [ 43.490738][ T3964] ============================================ [ 43.492317][ T3964] WARNING: possible recursive locking detected [ 43.493880][ T3964] 5.15.126-syzkaller-00092-g24c4de4069cb #0 Tainted: G W [ 43.495977][ T3964] -------------------------------------------- [ 43.497567][ T3964] syz-executor147/3964 is trying to acquire lock: [ 43.499222][ T3964] ffff0000c19ac908 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x1f0/0x2a4 [ 43.501491][ T3964] [ 43.501491][ T3964] but task is already holding lock: [ 43.503378][ T3964] ffff0000c19ac908 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 43.505657][ T3964] [ 43.505657][ T3964] other info that might help us debug this: [ 43.507740][ T3964] Possible unsafe locking scenario: [ 43.507740][ T3964] [ 43.509689][ T3964] CPU0 [ 43.510524][ T3964] ---- [ 43.511332][ T3964] lock(&sch->q.lock); [ 43.512378][ T3964] lock(&sch->q.lock); [ 43.513423][ T3964] [ 43.513423][ T3964] *** DEADLOCK *** [ 43.513423][ T3964] [ 43.515546][ T3964] May be due to missing lock nesting notation [ 43.515546][ T3964] [ 43.517736][ T3964] 2 locks held by syz-executor147/3964: [ 43.519191][ T3964] #0: ffff8000169e74a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 43.521616][ T3964] #1: ffff0000c19ac908 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 43.523983][ T3964] [ 43.523983][ T3964] stack backtrace: [ 43.525474][ T3964] CPU: 1 PID: 3964 Comm: syz-executor147 Tainted: G W 5.15.126-syzkaller-00092-g24c4de4069cb #0 [ 43.528504][ T3964] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 43.531105][ T3964] Call trace: [ 43.531963][ T3964] dump_backtrace+0x0/0x530 [ 43.533115][ T3964] show_stack+0x2c/0x3c [ 43.534153][ T3964] dump_stack_lvl+0x108/0x170 [ 43.535317][ T3964] dump_stack+0x1c/0x58 [ 43.536414][ T3964] __lock_acquire+0x62b4/0x7620 [ 43.537671][ T3964] lock_acquire+0x240/0x77c [ 43.538842][ T3964] _raw_spin_lock_bh+0x124/0x1c4 [ 43.540097][ T3964] get_dist_table+0x1f0/0x2a4 [ 43.541289][ T3964] netem_change+0x7cc/0x1a90 [ 43.542508][ T3964] netem_init+0x54/0xb8 [ 43.543621][ T3964] qdisc_create+0x6fc/0xf44 [ 43.544741][ T3964] tc_modify_qdisc+0x8dc/0x1344 [ 43.545981][ T3964] rtnetlink_rcv_msg+0xa74/0xdac [ 43.547261][ T3964] netlink_rcv_skb+0x20c/0x3b8 [ 43.548491][ T3964] rtnetlink_rcv+0x28/0x38 [ 43.549657][ T3964] netlink_unicast+0x664/0x938 [ 43.550883][ T3964] netlink_sendmsg+0x844/0xb38 [ 43.552082][ T3964] ____sys_sendmsg+0x584/0x870 [ 43.553364][ T3964] ___sys_sendmsg+0x214/0x294 [ 43.554569][ T3964] __arm64_sys_sendmsg+0x1ac/0x25c [ 43.555857][ T3964] invoke_syscall+0x98/0x2b8 [ 43.557071][ T3964] el0_svc_common+0x138/0x258 [ 43.558291][ T3964] do_el0_svc+0x58/0x14c [ 43.559380][ T3964] el0_svc+0x7c/0x1f0 [ 43.560383][ T3964] el0t_64_sync_handler+0x84/0xe4 [ 43.561715][ T3964] el0t_64_sync+0x1a0/0x1a4