Warning: Permanently added '10.128.0.80' (ECDSA) to the list of known hosts. executing program [ 34.375186][ T4218] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 34.377341][ T4218] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4218, name: syz-executor370 [ 34.379171][ T4218] preempt_count: 201, expected: 0 [ 34.380184][ T4218] RCU nest depth: 0, expected: 0 [ 34.381263][ T4218] 2 locks held by syz-executor370/4218: [ 34.382435][ T4218] #0: ffff800017b8e848 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 34.384479][ T4218] #1: ffff0000d312a908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 34.386533][ T4218] Preemption disabled at: [ 34.386543][ T4218] [] sch_tree_lock+0x120/0x1d4 [ 34.388775][ T4218] CPU: 1 PID: 4218 Comm: syz-executor370 Not tainted 6.1.36-syzkaller #0 [ 34.390509][ T4218] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 [ 34.392457][ T4218] Call trace: [ 34.393181][ T4218] dump_backtrace+0x1c8/0x1f4 [ 34.394112][ T4218] show_stack+0x2c/0x3c [ 34.394931][ T4218] dump_stack_lvl+0x108/0x170 [ 34.395890][ T4218] dump_stack+0x1c/0x58 [ 34.396722][ T4218] __might_resched+0x37c/0x4d8 [ 34.397691][ T4218] __might_sleep+0x90/0xe4 [ 34.398551][ T4218] __kmem_cache_alloc_node+0x74/0x388 [ 34.399669][ T4218] __kmalloc_node+0xcc/0x1d0 [ 34.400580][ T4218] kvmalloc_node+0x84/0x1e4 [ 34.401584][ T4218] get_dist_table+0xa0/0x354 [ 34.402509][ T4218] netem_change+0x7a4/0x1900 [ 34.403488][ T4218] netem_init+0x54/0xb8 [ 34.404272][ T4218] qdisc_create+0x70c/0xe64 [ 34.405193][ T4218] tc_modify_qdisc+0x9f0/0x1840 [ 34.406215][ T4218] rtnetlink_rcv_msg+0x72c/0xd94 [ 34.407301][ T4218] netlink_rcv_skb+0x20c/0x3b8 [ 34.408316][ T4218] rtnetlink_rcv+0x28/0x38 [ 34.409261][ T4218] netlink_unicast+0x660/0x8d4 [ 34.410288][ T4218] netlink_sendmsg+0x834/0xb18 [ 34.411296][ T4218] ____sys_sendmsg+0x558/0x844 [ 34.412217][ T4218] __sys_sendmsg+0x26c/0x33c [ 34.413170][ T4218] __arm64_sys_sendmsg+0x80/0x94 [ 34.414190][ T4218] invoke_syscall+0x98/0x2c0 [ 34.415143][ T4218] el0_svc_common+0x138/0x258 [ 34.416086][ T4218] do_el0_svc+0x64/0x218 [ 34.416965][ T4218] el0_svc+0x58/0x168 [ 34.417885][ T4218] el0t_64_sync_handler+0x84/0xf0 [ 34.418951][ T4218] el0t_64_sync+0x18c/0x190 [ 34.419940][ T4218] [ 34.420395][ T4218] ============================================ [ 34.421738][ T4218] WARNING: possible recursive locking detected [ 34.423028][ T4218] 6.1.36-syzkaller #0 Tainted: G W [ 34.424445][ T4218] -------------------------------------------- [ 34.425651][ T4218] syz-executor370/4218 is trying to acquire lock: [ 34.426975][ T4218] ffff0000d312a908 (&sch->q.lock){+...}-{2:2}, at: get_dist_table+0x240/0x354 [ 34.428819][ T4218] [ 34.428819][ T4218] but task is already holding lock: [ 34.430338][ T4218] ffff0000d312a908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 34.432104][ T4218] [ 34.432104][ T4218] other info that might help us debug this: [ 34.433835][ T4218] Possible unsafe locking scenario: [ 34.433835][ T4218] [ 34.435360][ T4218] CPU0 [ 34.436027][ T4218] ---- [ 34.436718][ T4218] lock(&sch->q.lock); [ 34.437596][ T4218] lock(&sch->q.lock); [ 34.438480][ T4218] [ 34.438480][ T4218] *** DEADLOCK *** [ 34.438480][ T4218] [ 34.440175][ T4218] May be due to missing lock nesting notation [ 34.440175][ T4218] [ 34.441934][ T4218] 2 locks held by syz-executor370/4218: [ 34.443065][ T4218] #0: ffff800017b8e848 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 34.445045][ T4218] #1: ffff0000d312a908 (&sch->q.lock){+...}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 34.447010][ T4218] [ 34.447010][ T4218] stack backtrace: [ 34.448236][ T4218] CPU: 1 PID: 4218 Comm: syz-executor370 Tainted: G W 6.1.36-syzkaller #0 [ 34.450328][ T4218] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 [ 34.452440][ T4218] Call trace: [ 34.453101][ T4218] dump_backtrace+0x1c8/0x1f4 [ 34.454120][ T4218] show_stack+0x2c/0x3c [ 34.454993][ T4218] dump_stack_lvl+0x108/0x170 [ 34.455964][ T4218] dump_stack+0x1c/0x58 [ 34.456828][ T4218] __lock_acquire+0x6310/0x764c [ 34.457810][ T4218] lock_acquire+0x26c/0x7cc [ 34.458751][ T4218] _raw_spin_lock_bh+0x54/0x6c [ 34.459782][ T4218] get_dist_table+0x240/0x354 [ 34.460736][ T4218] netem_change+0x7a4/0x1900 [ 34.461734][ T4218] netem_init+0x54/0xb8 [ 34.462650][ T4218] qdisc_create+0x70c/0xe64 [ 34.463578][ T4218] tc_modify_qdisc+0x9f0/0x1840 [ 34.464605][ T4218] rtnetlink_rcv_msg+0x72c/0xd94 [ 34.465633][ T4218] netlink_rcv_skb+0x20c/0x3b8 [ 34.466601][ T4218] rtnetlink_rcv+0x28/0x38 [ 34.467593][ T4218] netlink_unicast+0x660/0x8d4 [ 34.468597][ T4218] netlink_sendmsg+0x834/0xb18 [ 34.469639][ T4218] ____sys_sendmsg+0x558/0x844 [ 34.470648][ T4218] __sys_sendmsg+0x26c/0x33c [ 34.471592][ T4218] __arm64_sys_sendmsg+0x80/0x94 [ 34.472612][ T4218] invoke_syscall+0x98/0x2c0 [ 34.473583][ T4218] el0_svc_common+0x138/0x258 [ 34.474540][ T4218] do_el0_svc+0x64/0x218 [ 34.475449][ T4218] el0_svc+0x58/0x168 [ 34.476293][ T4218] el0t_64_sync_handler+0x84/0xf0 [ 34.477409][ T4218] el0t_64_sync+0x18c/0x190