Warning: Permanently added '10.128.1.2' (ED25519) to the list of known hosts. executing program [ 42.165944][ T3964] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:209 [ 42.168599][ T3964] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3964, name: syz-executor390 [ 42.171078][ T3964] 2 locks held by syz-executor390/3964: [ 42.172514][ T3964] #0: ffff8000169e74a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 42.175006][ T3964] #1: ffff0000c9d5e908 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 42.177482][ T3964] Preemption disabled at: [ 42.177495][ T3964] [] netem_change+0x22c/0x1a90 [ 42.180151][ T3964] CPU: 0 PID: 3964 Comm: syz-executor390 Not tainted 5.15.126-syzkaller-00092-g24c4de4069cb #0 [ 42.182816][ T3964] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 42.185293][ T3964] Call trace: [ 42.186102][ T3964] dump_backtrace+0x0/0x530 [ 42.187233][ T3964] show_stack+0x2c/0x3c [ 42.188319][ T3964] dump_stack_lvl+0x108/0x170 [ 42.189555][ T3964] dump_stack+0x1c/0x58 [ 42.190596][ T3964] ___might_sleep+0x380/0x4dc [ 42.191793][ T3964] __might_sleep+0x98/0xf0 [ 42.192952][ T3964] slab_pre_alloc_hook+0x58/0xe8 [ 42.194213][ T3964] __kmalloc_node+0xbc/0x5b8 [ 42.195372][ T3964] kvmalloc_node+0x88/0x204 [ 42.196532][ T3964] get_dist_table+0x9c/0x2a4 [ 42.197729][ T3964] netem_change+0x820/0x1a90 [ 42.198945][ T3964] netem_init+0x54/0xb8 [ 42.199978][ T3964] qdisc_create+0x6fc/0xf44 [ 42.201150][ T3964] tc_modify_qdisc+0x8dc/0x1344 [ 42.202373][ T3964] rtnetlink_rcv_msg+0xa74/0xdac [ 42.203739][ T3964] netlink_rcv_skb+0x20c/0x3b8 [ 42.204976][ T3964] rtnetlink_rcv+0x28/0x38 [ 42.206132][ T3964] netlink_unicast+0x664/0x938 [ 42.207339][ T3964] netlink_sendmsg+0x844/0xb38 [ 42.208563][ T3964] ____sys_sendmsg+0x584/0x870 [ 42.209754][ T3964] ___sys_sendmsg+0x214/0x294 [ 42.210957][ T3964] __arm64_sys_sendmsg+0x1ac/0x25c [ 42.212293][ T3964] invoke_syscall+0x98/0x2b8 [ 42.213485][ T3964] el0_svc_common+0x138/0x258 [ 42.214714][ T3964] do_el0_svc+0x58/0x14c [ 42.215830][ T3964] el0_svc+0x7c/0x1f0 [ 42.216855][ T3964] el0t_64_sync_handler+0x84/0xe4 [ 42.218185][ T3964] el0t_64_sync+0x1a0/0x1a4 [ 42.219397][ T3964] [ 42.219965][ T3964] ============================================ [ 42.221544][ T3964] WARNING: possible recursive locking detected [ 42.223063][ T3964] 5.15.126-syzkaller-00092-g24c4de4069cb #0 Tainted: G W [ 42.225129][ T3964] -------------------------------------------- [ 42.226708][ T3964] syz-executor390/3964 is trying to acquire lock: [ 42.228367][ T3964] ffff0000c9d5e908 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x1f0/0x2a4 [ 42.230633][ T3964] [ 42.230633][ T3964] but task is already holding lock: [ 42.232512][ T3964] ffff0000c9d5e908 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 42.234775][ T3964] [ 42.234775][ T3964] other info that might help us debug this: [ 42.236788][ T3964] Possible unsafe locking scenario: [ 42.236788][ T3964] [ 42.238728][ T3964] CPU0 [ 42.239544][ T3964] ---- [ 42.240321][ T3964] lock(&sch->q.lock); [ 42.241324][ T3964] lock(&sch->q.lock); [ 42.242383][ T3964] [ 42.242383][ T3964] *** DEADLOCK *** [ 42.242383][ T3964] [ 42.244480][ T3964] May be due to missing lock nesting notation [ 42.244480][ T3964] [ 42.246577][ T3964] 2 locks held by syz-executor390/3964: [ 42.247972][ T3964] #0: ffff8000169e74a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 42.250358][ T3964] #1: ffff0000c9d5e908 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 42.252757][ T3964] [ 42.252757][ T3964] stack backtrace: [ 42.254245][ T3964] CPU: 0 PID: 3964 Comm: syz-executor390 Tainted: G W 5.15.126-syzkaller-00092-g24c4de4069cb #0 [ 42.257170][ T3964] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 42.259721][ T3964] Call trace: [ 42.260546][ T3964] dump_backtrace+0x0/0x530 [ 42.261751][ T3964] show_stack+0x2c/0x3c [ 42.262791][ T3964] dump_stack_lvl+0x108/0x170 [ 42.263984][ T3964] dump_stack+0x1c/0x58 [ 42.265052][ T3964] __lock_acquire+0x62b4/0x7620 [ 42.266285][ T3964] lock_acquire+0x240/0x77c [ 42.267408][ T3964] _raw_spin_lock_bh+0x124/0x1c4 [ 42.268732][ T3964] get_dist_table+0x1f0/0x2a4 [ 42.269932][ T3964] netem_change+0x820/0x1a90 [ 42.271097][ T3964] netem_init+0x54/0xb8 [ 42.272151][ T3964] qdisc_create+0x6fc/0xf44 [ 42.273273][ T3964] tc_modify_qdisc+0x8dc/0x1344 [ 42.274521][ T3964] rtnetlink_rcv_msg+0xa74/0xdac [ 42.275777][ T3964] netlink_rcv_skb+0x20c/0x3b8 [ 42.276984][ T3964] rtnetlink_rcv+0x28/0x38 [ 42.278133][ T3964] netlink_unicast+0x664/0x938 [ 42.279338][ T3964] netlink_sendmsg+0x844/0xb38 [ 42.280545][ T3964] ____sys_sendmsg+0x584/0x870 [ 42.281775][ T3964] ___sys_sendmsg+0x214/0x294 [ 42.282930][ T3964] __arm64_sys_sendmsg+0x1ac/0x25c [ 42.284176][ T3964] invoke_syscall+0x98/0x2b8 [ 42.285322][ T3964] el0_svc_common+0x138/0x258 [ 42.286518][ T3964] do_el0_svc+0x58/0x14c [ 42.287575][ T3964] el0_svc+0x7c/0x1f0 [ 42.288556][ T3964] el0t_64_sync_handler+0x84/0xe4 [ 42.289831][ T3964] el0t_64_sync+0x1a0/0x1a4