Warning: Permanently added '10.128.0.122' (ED25519) to the list of known hosts. executing program [ 40.761915][ T3964] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:209 [ 40.764385][ T3964] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3964, name: syz-executor313 [ 40.766813][ T3964] 2 locks held by syz-executor313/3964: [ 40.768243][ T3964] #0: ffff8000169e74a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 40.770902][ T3964] #1: ffff0000c1729108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 40.773162][ T3964] Preemption disabled at: [ 40.773175][ T3964] [] netem_change+0x22c/0x1a90 [ 40.775801][ T3964] CPU: 0 PID: 3964 Comm: syz-executor313 Not tainted 5.15.126-syzkaller-00092-g24c4de4069cb #0 [ 40.778319][ T3964] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 40.780865][ T3964] Call trace: [ 40.781718][ T3964] dump_backtrace+0x0/0x530 [ 40.782884][ T3964] show_stack+0x2c/0x3c [ 40.783965][ T3964] dump_stack_lvl+0x108/0x170 [ 40.785164][ T3964] dump_stack+0x1c/0x58 [ 40.786241][ T3964] ___might_sleep+0x380/0x4dc [ 40.787423][ T3964] __might_sleep+0x98/0xf0 [ 40.788489][ T3964] slab_pre_alloc_hook+0x58/0xe8 [ 40.789746][ T3964] __kmalloc_node+0xbc/0x5b8 [ 40.790884][ T3964] kvmalloc_node+0x88/0x204 [ 40.791959][ T3964] get_dist_table+0x9c/0x2a4 [ 40.793122][ T3964] netem_change+0x7cc/0x1a90 [ 40.794308][ T3964] netem_init+0x54/0xb8 [ 40.795400][ T3964] qdisc_create+0x6fc/0xf44 [ 40.796533][ T3964] tc_modify_qdisc+0x8dc/0x1344 [ 40.797760][ T3964] rtnetlink_rcv_msg+0xa74/0xdac [ 40.798949][ T3964] netlink_rcv_skb+0x20c/0x3b8 [ 40.800148][ T3964] rtnetlink_rcv+0x28/0x38 [ 40.801247][ T3964] netlink_unicast+0x664/0x938 [ 40.802415][ T3964] netlink_sendmsg+0x844/0xb38 [ 40.803669][ T3964] ____sys_sendmsg+0x584/0x870 [ 40.804879][ T3964] ___sys_sendmsg+0x214/0x294 [ 40.806030][ T3964] __arm64_sys_sendmsg+0x1ac/0x25c [ 40.807315][ T3964] invoke_syscall+0x98/0x2b8 [ 40.808541][ T3964] el0_svc_common+0x138/0x258 [ 40.809761][ T3964] do_el0_svc+0x58/0x14c [ 40.810858][ T3964] el0_svc+0x7c/0x1f0 [ 40.811871][ T3964] el0t_64_sync_handler+0x84/0xe4 [ 40.813190][ T3964] el0t_64_sync+0x1a0/0x1a4 [ 40.814419][ T3964] [ 40.814984][ T3964] ============================================ [ 40.816572][ T3964] WARNING: possible recursive locking detected [ 40.818088][ T3964] 5.15.126-syzkaller-00092-g24c4de4069cb #0 Tainted: G W [ 40.820198][ T3964] -------------------------------------------- [ 40.821761][ T3964] syz-executor313/3964 is trying to acquire lock: [ 40.823361][ T3964] ffff0000c1729108 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x1f0/0x2a4 [ 40.825713][ T3964] [ 40.825713][ T3964] but task is already holding lock: [ 40.827552][ T3964] ffff0000c1729108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 40.829832][ T3964] [ 40.829832][ T3964] other info that might help us debug this: [ 40.831826][ T3964] Possible unsafe locking scenario: [ 40.831826][ T3964] [ 40.833718][ T3964] CPU0 [ 40.834548][ T3964] ---- [ 40.835345][ T3964] lock(&sch->q.lock); [ 40.836372][ T3964] lock(&sch->q.lock); [ 40.837404][ T3964] [ 40.837404][ T3964] *** DEADLOCK *** [ 40.837404][ T3964] [ 40.839409][ T3964] May be due to missing lock nesting notation [ 40.839409][ T3964] [ 40.841454][ T3964] 2 locks held by syz-executor313/3964: [ 40.842896][ T3964] #0: ffff8000169e74a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 40.845334][ T3964] #1: ffff0000c1729108 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 40.847647][ T3964] [ 40.847647][ T3964] stack backtrace: [ 40.849108][ T3964] CPU: 0 PID: 3964 Comm: syz-executor313 Tainted: G W 5.15.126-syzkaller-00092-g24c4de4069cb #0 [ 40.852138][ T3964] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 40.854736][ T3964] Call trace: [ 40.855598][ T3964] dump_backtrace+0x0/0x530 [ 40.856753][ T3964] show_stack+0x2c/0x3c [ 40.857827][ T3964] dump_stack_lvl+0x108/0x170 [ 40.859004][ T3964] dump_stack+0x1c/0x58 [ 40.860096][ T3964] __lock_acquire+0x62b4/0x7620 [ 40.861314][ T3964] lock_acquire+0x240/0x77c [ 40.862564][ T3964] _raw_spin_lock_bh+0x124/0x1c4 [ 40.863817][ T3964] get_dist_table+0x1f0/0x2a4 [ 40.865059][ T3964] netem_change+0x7cc/0x1a90 [ 40.866222][ T3964] netem_init+0x54/0xb8 [ 40.867261][ T3964] qdisc_create+0x6fc/0xf44 [ 40.868399][ T3964] tc_modify_qdisc+0x8dc/0x1344 [ 40.869642][ T3964] rtnetlink_rcv_msg+0xa74/0xdac [ 40.870932][ T3964] netlink_rcv_skb+0x20c/0x3b8 [ 40.872144][ T3964] rtnetlink_rcv+0x28/0x38 [ 40.873270][ T3964] netlink_unicast+0x664/0x938 [ 40.874477][ T3964] netlink_sendmsg+0x844/0xb38 [ 40.875692][ T3964] ____sys_sendmsg+0x584/0x870 [ 40.876861][ T3964] ___sys_sendmsg+0x214/0x294 [ 40.878166][ T3964] __arm64_sys_sendmsg+0x1ac/0x25c [ 40.879516][ T3964] invoke_syscall+0x98/0x2b8 [ 40.880655][ T3964] el0_svc_common+0x138/0x258 [ 40.881830][ T3964] do_el0_svc+0x58/0x14c [ 40.882954][ T3964] el0_svc+0x7c/0x1f0 [ 40.883985][ T3964] el0t_64_sync_handler+0x84/0xe4 [ 40.885253][ T3964] el0t_64_sync+0x1a0/0x1a4