Warning: Permanently added '10.128.0.140' (ED25519) to the list of known hosts. executing program [ 42.012912][ T3962] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:209 [ 42.015458][ T3962] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3962, name: syz-executor413 [ 42.017931][ T3962] 2 locks held by syz-executor413/3962: [ 42.019393][ T3962] #0: ffff8000169e74a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 42.021917][ T3962] #1: ffff0000d8b3f908 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 42.024413][ T3962] Preemption disabled at: [ 42.024426][ T3962] [] netem_change+0x22c/0x1a90 [ 42.027209][ T3962] CPU: 0 PID: 3962 Comm: syz-executor413 Not tainted 5.15.126-syzkaller-00092-g24c4de4069cb #0 [ 42.029846][ T3962] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 42.032506][ T3962] Call trace: [ 42.033347][ T3962] dump_backtrace+0x0/0x530 [ 42.034512][ T3962] show_stack+0x2c/0x3c [ 42.035604][ T3962] dump_stack_lvl+0x108/0x170 [ 42.036874][ T3962] dump_stack+0x1c/0x58 [ 42.037954][ T3962] ___might_sleep+0x380/0x4dc [ 42.039168][ T3962] __might_sleep+0x98/0xf0 [ 42.040354][ T3962] slab_pre_alloc_hook+0x58/0xe8 [ 42.041640][ T3962] __kmalloc_node+0xbc/0x5b8 [ 42.042834][ T3962] kvmalloc_node+0x88/0x204 [ 42.043972][ T3962] get_dist_table+0x9c/0x2a4 [ 42.045167][ T3962] netem_change+0x820/0x1a90 [ 42.046381][ T3962] netem_init+0x54/0xb8 [ 42.047457][ T3962] qdisc_create+0x6fc/0xf44 [ 42.048605][ T3962] tc_modify_qdisc+0x8dc/0x1344 [ 42.049904][ T3962] rtnetlink_rcv_msg+0xa74/0xdac [ 42.051224][ T3962] netlink_rcv_skb+0x20c/0x3b8 [ 42.052485][ T3962] rtnetlink_rcv+0x28/0x38 [ 42.053620][ T3962] netlink_unicast+0x664/0x938 [ 42.054869][ T3962] netlink_sendmsg+0x844/0xb38 [ 42.056101][ T3962] ____sys_sendmsg+0x584/0x870 [ 42.057386][ T3962] ___sys_sendmsg+0x214/0x294 [ 42.058638][ T3962] __arm64_sys_sendmsg+0x1ac/0x25c [ 42.059973][ T3962] invoke_syscall+0x98/0x2b8 [ 42.061201][ T3962] el0_svc_common+0x138/0x258 [ 42.062527][ T3962] do_el0_svc+0x58/0x14c [ 42.063636][ T3962] el0_svc+0x7c/0x1f0 [ 42.064647][ T3962] el0t_64_sync_handler+0x84/0xe4 [ 42.065994][ T3962] el0t_64_sync+0x1a0/0x1a4 [ 42.067345][ T3962] [ 42.067908][ T3962] ============================================ [ 42.069480][ T3962] WARNING: possible recursive locking detected [ 42.071036][ T3962] 5.15.126-syzkaller-00092-g24c4de4069cb #0 Tainted: G W [ 42.073127][ T3962] -------------------------------------------- [ 42.074717][ T3962] syz-executor413/3962 is trying to acquire lock: [ 42.076391][ T3962] ffff0000d8b3f908 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x1f0/0x2a4 [ 42.078659][ T3962] [ 42.078659][ T3962] but task is already holding lock: [ 42.080613][ T3962] ffff0000d8b3f908 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 42.082925][ T3962] [ 42.082925][ T3962] other info that might help us debug this: [ 42.084978][ T3962] Possible unsafe locking scenario: [ 42.084978][ T3962] [ 42.086922][ T3962] CPU0 [ 42.087756][ T3962] ---- [ 42.088589][ T3962] lock(&sch->q.lock); [ 42.089646][ T3962] lock(&sch->q.lock); [ 42.090756][ T3962] [ 42.090756][ T3962] *** DEADLOCK *** [ 42.090756][ T3962] [ 42.092861][ T3962] May be due to missing lock nesting notation [ 42.092861][ T3962] [ 42.095019][ T3962] 2 locks held by syz-executor413/3962: [ 42.096450][ T3962] #0: ffff8000169e74a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0xa2c/0xdac [ 42.098893][ T3962] #1: ffff0000d8b3f908 (&sch->q.lock){+...}-{2:2}, at: netem_change+0x22c/0x1a90 [ 42.101280][ T3962] [ 42.101280][ T3962] stack backtrace: [ 42.102779][ T3962] CPU: 0 PID: 3962 Comm: syz-executor413 Tainted: G W 5.15.126-syzkaller-00092-g24c4de4069cb #0 [ 42.105866][ T3962] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 42.108480][ T3962] Call trace: [ 42.109345][ T3962] dump_backtrace+0x0/0x530 [ 42.110539][ T3962] show_stack+0x2c/0x3c [ 42.111592][ T3962] dump_stack_lvl+0x108/0x170 [ 42.112862][ T3962] dump_stack+0x1c/0x58 [ 42.113913][ T3962] __lock_acquire+0x62b4/0x7620 [ 42.115233][ T3962] lock_acquire+0x240/0x77c [ 42.116434][ T3962] _raw_spin_lock_bh+0x124/0x1c4 [ 42.117744][ T3962] get_dist_table+0x1f0/0x2a4 [ 42.118934][ T3962] netem_change+0x820/0x1a90 [ 42.120147][ T3962] netem_init+0x54/0xb8 [ 42.121191][ T3962] qdisc_create+0x6fc/0xf44 [ 42.122433][ T3962] tc_modify_qdisc+0x8dc/0x1344 [ 42.123642][ T3962] rtnetlink_rcv_msg+0xa74/0xdac [ 42.124893][ T3962] netlink_rcv_skb+0x20c/0x3b8 [ 42.126162][ T3962] rtnetlink_rcv+0x28/0x38 [ 42.127306][ T3962] netlink_unicast+0x664/0x938 [ 42.128517][ T3962] netlink_sendmsg+0x844/0xb38 [ 42.129741][ T3962] ____sys_sendmsg+0x584/0x870 [ 42.130991][ T3962] ___sys_sendmsg+0x214/0x294 [ 42.132232][ T3962] __arm64_sys_sendmsg+0x1ac/0x25c [ 42.133565][ T3962] invoke_syscall+0x98/0x2b8 [ 42.134745][ T3962] el0_svc_common+0x138/0x258 [ 42.135969][ T3962] do_el0_svc+0x58/0x14c [ 42.137074][ T3962] el0_svc+0x7c/0x1f0 [ 42.138110][ T3962] el0t_64_sync_handler+0x84/0xe4 [ 42.139428][ T3962] el0t_64_sync+0x1a0/0x1a4