Warning: Permanently added '10.128.0.180' (ED25519) to the list of known hosts. executing program [ 37.285692][ T4217] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 37.287821][ T4217] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4217, name: syz-executor350 [ 37.289744][ T4217] preempt_count: 201, expected: 0 [ 37.290785][ T4217] RCU nest depth: 0, expected: 0 [ 37.291872][ T4217] 2 locks held by syz-executor350/4217: [ 37.293022][ T4217] #0: ffff800017b9f248 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 37.295074][ T4217] #1: ffff0000d41a7908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 37.297085][ T4217] Preemption disabled at: [ 37.297095][ T4217] [] sch_tree_lock+0x120/0x1d4 [ 37.299329][ T4217] CPU: 1 PID: 4217 Comm: syz-executor350 Not tainted 6.1.40-syzkaller #0 [ 37.301101][ T4217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 [ 37.303243][ T4217] Call trace: [ 37.303902][ T4217] dump_backtrace+0x1c8/0x1f4 [ 37.304901][ T4217] show_stack+0x2c/0x3c [ 37.305779][ T4217] dump_stack_lvl+0x108/0x170 [ 37.306748][ T4217] dump_stack+0x1c/0x58 [ 37.307608][ T4217] __might_resched+0x37c/0x4d8 [ 37.308686][ T4217] __might_sleep+0x90/0xe4 [ 37.309625][ T4217] __kmem_cache_alloc_node+0x74/0x388 [ 37.310758][ T4217] __kmalloc_node+0xcc/0x1d0 [ 37.311732][ T4217] kvmalloc_node+0x84/0x1e4 [ 37.312679][ T4217] get_dist_table+0xa0/0x354 [ 37.313647][ T4217] netem_change+0x754/0x1900 [ 37.314655][ T4217] netem_init+0x54/0xb8 [ 37.315598][ T4217] qdisc_create+0x70c/0xe64 [ 37.316562][ T4217] tc_modify_qdisc+0x9f0/0x1840 [ 37.317581][ T4217] rtnetlink_rcv_msg+0x72c/0xd94 [ 37.318731][ T4217] netlink_rcv_skb+0x20c/0x3b8 [ 37.319768][ T4217] rtnetlink_rcv+0x28/0x38 [ 37.320711][ T4217] netlink_unicast+0x660/0x8d4 [ 37.321644][ T4217] netlink_sendmsg+0x834/0xb18 [ 37.322595][ T4217] ____sys_sendmsg+0x558/0x844 [ 37.323524][ T4217] __sys_sendmsg+0x26c/0x33c [ 37.324484][ T4217] __arm64_sys_sendmsg+0x80/0x94 [ 37.325470][ T4217] invoke_syscall+0x98/0x2c0 [ 37.326494][ T4217] el0_svc_common+0x138/0x258 [ 37.327568][ T4217] do_el0_svc+0x64/0x218 [ 37.328441][ T4217] el0_svc+0x58/0x168 [ 37.329274][ T4217] el0t_64_sync_handler+0x84/0xf0 [ 37.330323][ T4217] el0t_64_sync+0x18c/0x190 [ 37.331366][ T4217] [ 37.331862][ T4217] ============================================ [ 37.333139][ T4217] WARNING: possible recursive locking detected [ 37.334360][ T4217] 6.1.40-syzkaller #0 Tainted: G W [ 37.335700][ T4217] -------------------------------------------- [ 37.336949][ T4217] syz-executor350/4217 is trying to acquire lock: [ 37.338260][ T4217] ffff0000d41a7908 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 37.340077][ T4217] [ 37.340077][ T4217] but task is already holding lock: [ 37.341713][ T4217] ffff0000d41a7908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 37.343539][ T4217] [ 37.343539][ T4217] other info that might help us debug this: [ 37.345307][ T4217] Possible unsafe locking scenario: [ 37.345307][ T4217] [ 37.346831][ T4217] CPU0 [ 37.347508][ T4217] ---- [ 37.348209][ T4217] lock(&sch->q.lock); [ 37.349104][ T4217] lock(&sch->q.lock); [ 37.349966][ T4217] [ 37.349966][ T4217] *** DEADLOCK *** [ 37.349966][ T4217] [ 37.351654][ T4217] May be due to missing lock nesting notation [ 37.351654][ T4217] [ 37.353359][ T4217] 2 locks held by syz-executor350/4217: [ 37.354519][ T4217] #0: ffff800017b9f248 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 37.356519][ T4217] #1: ffff0000d41a7908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 37.358488][ T4217] [ 37.358488][ T4217] stack backtrace: [ 37.359752][ T4217] CPU: 1 PID: 4217 Comm: syz-executor350 Tainted: G W 6.1.40-syzkaller #0 [ 37.361962][ T4217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 [ 37.363990][ T4217] Call trace: [ 37.364706][ T4217] dump_backtrace+0x1c8/0x1f4 [ 37.365785][ T4217] show_stack+0x2c/0x3c [ 37.366651][ T4217] dump_stack_lvl+0x108/0x170 [ 37.367665][ T4217] dump_stack+0x1c/0x58 [ 37.368537][ T4217] __lock_acquire+0x6310/0x764c [ 37.369552][ T4217] lock_acquire+0x26c/0x7cc [ 37.370549][ T4217] _raw_spin_lock_bh+0x54/0x6c [ 37.371481][ T4217] get_dist_table+0x240/0x354 [ 37.372473][ T4217] netem_change+0x754/0x1900 [ 37.373389][ T4217] netem_init+0x54/0xb8 [ 37.374299][ T4217] qdisc_create+0x70c/0xe64 [ 37.375284][ T4217] tc_modify_qdisc+0x9f0/0x1840 [ 37.376329][ T4217] rtnetlink_rcv_msg+0x72c/0xd94 [ 37.377370][ T4217] netlink_rcv_skb+0x20c/0x3b8 [ 37.378406][ T4217] rtnetlink_rcv+0x28/0x38 [ 37.379369][ T4217] netlink_unicast+0x660/0x8d4 [ 37.380352][ T4217] netlink_sendmsg+0x834/0xb18 [ 37.381419][ T4217] ____sys_sendmsg+0x558/0x844 [ 37.382472][ T4217] __sys_sendmsg+0x26c/0x33c [ 37.383430][ T4217] __arm64_sys_sendmsg+0x80/0x94 [ 37.384550][ T4217] invoke_syscall+0x98/0x2c0 [ 37.385553][ T4217] el0_svc_common+0x138/0x258 [ 37.386544][ T4217] do_el0_svc+0x64/0x218 [ 37.387413][ T4217] el0_svc+0x58/0x168 [ 37.388312][ T4217] el0t_64_sync_handler+0x84/0xf0 [ 37.389371][ T4217] el0t_64_sync+0x18c/0x190