Warning: Permanently added '10.128.0.76' (ED25519) to the list of known hosts. executing program [ 36.054636][ T4217] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 36.056604][ T4217] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4217, name: syz-executor282 [ 36.058572][ T4217] preempt_count: 201, expected: 0 [ 36.059592][ T4217] RCU nest depth: 0, expected: 0 [ 36.060572][ T4217] 2 locks held by syz-executor282/4217: [ 36.061718][ T4217] #0: ffff800017b9e948 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 36.063679][ T4217] #1: ffff0000d49df908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.065590][ T4217] Preemption disabled at: [ 36.065601][ T4217] [] sch_tree_lock+0x120/0x1d4 [ 36.067738][ T4217] CPU: 1 PID: 4217 Comm: syz-executor282 Not tainted 6.1.38-syzkaller #0 [ 36.069446][ T4217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 [ 36.071475][ T4217] Call trace: [ 36.072127][ T4217] dump_backtrace+0x1c8/0x1f4 [ 36.073116][ T4217] show_stack+0x2c/0x3c [ 36.073962][ T4217] dump_stack_lvl+0x108/0x170 [ 36.074950][ T4217] dump_stack+0x1c/0x5c [ 36.075782][ T4217] __might_resched+0x37c/0x4d8 [ 36.076777][ T4217] __might_sleep+0x90/0xe4 [ 36.077667][ T4217] __kmem_cache_alloc_node+0x74/0x388 [ 36.078774][ T4217] __kmalloc_node+0xcc/0x1d0 [ 36.079763][ T4217] kvmalloc_node+0x84/0x1e4 [ 36.080701][ T4217] get_dist_table+0xa0/0x354 [ 36.081669][ T4217] netem_change+0x754/0x1900 [ 36.082630][ T4217] netem_init+0x54/0xb8 [ 36.083459][ T4217] qdisc_create+0x70c/0xe64 [ 36.084373][ T4217] tc_modify_qdisc+0x9f0/0x1840 [ 36.085404][ T4217] rtnetlink_rcv_msg+0x72c/0xd94 [ 36.086402][ T4217] netlink_rcv_skb+0x20c/0x3b8 [ 36.087398][ T4217] rtnetlink_rcv+0x28/0x38 [ 36.088324][ T4217] netlink_unicast+0x660/0x8d4 [ 36.089302][ T4217] netlink_sendmsg+0x834/0xb18 [ 36.090310][ T4217] ____sys_sendmsg+0x558/0x844 [ 36.091348][ T4217] __sys_sendmsg+0x26c/0x33c [ 36.092292][ T4217] __arm64_sys_sendmsg+0x80/0x94 [ 36.093284][ T4217] invoke_syscall+0x98/0x2c0 [ 36.094213][ T4217] el0_svc_common+0x138/0x258 [ 36.095195][ T4217] do_el0_svc+0x64/0x218 [ 36.096096][ T4217] el0_svc+0x58/0x168 [ 36.096951][ T4217] el0t_64_sync_handler+0x84/0xf0 [ 36.097960][ T4217] el0t_64_sync+0x18c/0x190 [ 36.099035][ T4217] [ 36.099493][ T4217] ============================================ [ 36.100743][ T4217] WARNING: possible recursive locking detected [ 36.101936][ T4217] 6.1.38-syzkaller #0 Tainted: G W [ 36.103194][ T4217] -------------------------------------------- [ 36.104413][ T4217] syz-executor282/4217 is trying to acquire lock: [ 36.105694][ T4217] ffff0000d49df908 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 36.107429][ T4217] [ 36.107429][ T4217] but task is already holding lock: [ 36.108883][ T4217] ffff0000d49df908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.110735][ T4217] [ 36.110735][ T4217] other info that might help us debug this: [ 36.112371][ T4217] Possible unsafe locking scenario: [ 36.112371][ T4217] [ 36.113887][ T4217] CPU0 [ 36.114589][ T4217] ---- [ 36.115238][ T4217] lock(&sch->q.lock); [ 36.116068][ T4217] lock(&sch->q.lock); [ 36.116943][ T4217] [ 36.116943][ T4217] *** DEADLOCK *** [ 36.116943][ T4217] [ 36.118601][ T4217] May be due to missing lock nesting notation [ 36.118601][ T4217] [ 36.120337][ T4217] 2 locks held by syz-executor282/4217: [ 36.121448][ T4217] #0: ffff800017b9e948 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 36.123406][ T4217] #1: ffff0000d49df908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.125348][ T4217] [ 36.125348][ T4217] stack backtrace: [ 36.126537][ T4217] CPU: 1 PID: 4217 Comm: syz-executor282 Tainted: G W 6.1.38-syzkaller #0 [ 36.128594][ T4217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 [ 36.130605][ T4217] Call trace: [ 36.131268][ T4217] dump_backtrace+0x1c8/0x1f4 [ 36.132246][ T4217] show_stack+0x2c/0x3c [ 36.133107][ T4217] dump_stack_lvl+0x108/0x170 [ 36.134058][ T4217] dump_stack+0x1c/0x5c [ 36.134914][ T4217] __lock_acquire+0x6310/0x764c [ 36.135936][ T4217] lock_acquire+0x26c/0x7cc [ 36.136863][ T4217] _raw_spin_lock_bh+0x54/0x6c [ 36.137834][ T4217] get_dist_table+0x240/0x354 [ 36.138800][ T4217] netem_change+0x754/0x1900 [ 36.139721][ T4217] netem_init+0x54/0xb8 [ 36.140568][ T4217] qdisc_create+0x70c/0xe64 [ 36.141521][ T4217] tc_modify_qdisc+0x9f0/0x1840 [ 36.142535][ T4217] rtnetlink_rcv_msg+0x72c/0xd94 [ 36.143513][ T4217] netlink_rcv_skb+0x20c/0x3b8 [ 36.144505][ T4217] rtnetlink_rcv+0x28/0x38 [ 36.145393][ T4217] netlink_unicast+0x660/0x8d4 [ 36.146399][ T4217] netlink_sendmsg+0x834/0xb18 [ 36.147363][ T4217] ____sys_sendmsg+0x558/0x844 [ 36.148376][ T4217] __sys_sendmsg+0x26c/0x33c [ 36.149345][ T4217] __arm64_sys_sendmsg+0x80/0x94 [ 36.150377][ T4217] invoke_syscall+0x98/0x2c0 [ 36.151346][ T4217] el0_svc_common+0x138/0x258 [ 36.152320][ T4217] do_el0_svc+0x64/0x218 [ 36.153207][ T4217] el0_svc+0x58/0x168 [ 36.154053][ T4217] el0t_64_sync_handler+0x84/0xf0 [ 36.155068][ T4217] el0t_64_sync+0x18c/0x190