Warning: Permanently added '10.128.1.9' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 68.550587][ T3541] [ 68.552949][ T3541] ===================================================== [ 68.559871][ T3541] WARNING: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected [ 68.567477][ T3541] 6.1.84-syzkaller #0 Not tainted [ 68.572560][ T3541] ----------------------------------------------------- [ 68.579477][ T3541] syz-executor510/3541 [HC0[0]:SC0[2]:HE0:SE0] is trying to acquire: [ 68.587543][ T3541] ffff888141a6d8a0 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0xac/0x2f0 [ 68.597853][ T3541] [ 68.597853][ T3541] and this task is already holding: [ 68.605293][ T3541] ffff8880b983aa18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 [ 68.615038][ T3541] which would create a new lock dependency: [ 68.621005][ T3541] (&rq->__lock){-.-.}-{2:2} -> (&htab->buckets[i].lock){+...}-{2:2} [ 68.629077][ T3541] [ 68.629077][ T3541] but this new dependency connects a HARDIRQ-irq-safe lock: [ 68.638685][ T3541] (&rq->__lock){-.-.}-{2:2} [ 68.638704][ T3541] [ 68.638704][ T3541] ... which became HARDIRQ-irq-safe at: [ 68.651084][ T3541] lock_acquire+0x1f8/0x5a0 [ 68.655781][ T3541] _raw_spin_lock_nested+0x2d/0x40 [ 68.661069][ T3541] raw_spin_rq_lock_nested+0x26/0x140 [ 68.666688][ T3541] scheduler_tick+0x9d/0x550 [ 68.671617][ T3541] update_process_times+0x17b/0x1b0 [ 68.676989][ T3541] tick_periodic+0x197/0x210 [ 68.681841][ T3541] tick_handle_periodic+0x46/0x150 [ 68.687032][ T3541] timer_interrupt+0x4d/0x60 [ 68.691699][ T3541] __handle_irq_event_percpu+0x2a8/0xb20 [ 68.697570][ T3541] handle_irq_event+0x85/0x1e0 [ 68.702399][ T3541] handle_level_irq+0x3ab/0x6c0 [ 68.707338][ T3541] __common_interrupt+0xd7/0x1f0 [ 68.712453][ T3541] common_interrupt+0x9f/0xc0 [ 68.717234][ T3541] asm_common_interrupt+0x22/0x40 [ 68.722331][ T3541] _raw_spin_unlock_irqrestore+0xd4/0x130 [ 68.728120][ T3541] __setup_irq+0x12fa/0x1d80 [ 68.733229][ T3541] request_threaded_irq+0x2a7/0x380 [ 68.738530][ T3541] setup_default_timer_irq+0x1f/0x30 [ 68.743965][ T3541] x86_late_time_init+0x51/0x86 [ 68.748986][ T3541] start_kernel+0x414/0x53f [ 68.753875][ T3541] secondary_startup_64_no_verify+0xcf/0xdb [ 68.760048][ T3541] [ 68.760048][ T3541] to a HARDIRQ-irq-unsafe lock: [ 68.767050][ T3541] (&htab->buckets[i].lock){+...}-{2:2} [ 68.767068][ T3541] [ 68.767068][ T3541] ... which became HARDIRQ-irq-unsafe at: [ 68.780553][ T3541] ... [ 68.780561][ T3541] lock_acquire+0x1f8/0x5a0 [ 68.787807][ T3541] _raw_spin_lock_bh+0x31/0x40 [ 68.792733][ T3541] sock_hash_delete_elem+0xac/0x2f0 [ 68.798183][ T3541] 0xffffffffa0001da2 [ 68.802249][ T3541] bpf_trace_run2+0x1fd/0x410 [ 68.807073][ T3541] trace_contention_end+0x12f/0x170 [ 68.812336][ T3541] __mutex_lock+0x2ed/0xd80 [ 68.817169][ T3541] futex_exit_release+0x30/0x1e0 [ 68.822265][ T3541] exit_mm_release+0x16/0x30 [ 68.826926][ T3541] exit_mm+0xa9/0x300 [ 68.831059][ T3541] do_exit+0x9f6/0x26a0 [ 68.835370][ T3541] do_group_exit+0x202/0x2b0 [ 68.840107][ T3541] __x64_sys_exit_group+0x3b/0x40 [ 68.845382][ T3541] do_syscall_64+0x3d/0xb0 [ 68.850131][ T3541] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 68.856175][ T3541] [ 68.856175][ T3541] other info that might help us debug this: [ 68.856175][ T3541] [ 68.866478][ T3541] Possible interrupt unsafe locking scenario: [ 68.866478][ T3541] [ 68.874857][ T3541] CPU0 CPU1 [ 68.880203][ T3541] ---- ---- [ 68.886164][ T3541] lock(&htab->buckets[i].lock); [ 68.891266][ T3541] local_irq_disable(); [ 68.898092][ T3541] lock(&rq->__lock); [ 68.904664][ T3541] lock(&htab->buckets[i].lock); [ 68.912284][ T3541] [ 68.915992][ T3541] lock(&rq->__lock); [ 68.921021][ T3541] [ 68.921021][ T3541] *** DEADLOCK *** [ 68.921021][ T3541] [ 68.929160][ T3541] 2 locks held by syz-executor510/3541: [ 68.934706][ T3541] #0: ffff8880b983aa18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 [ 68.944781][ T3541] #1: ffffffff8d12a980 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run2+0x110/0x410 [ 68.954152][ T3541] [ 68.954152][ T3541] the dependencies between HARDIRQ-irq-safe lock and the holding lock: [ 68.964793][ T3541] -> (&rq->__lock){-.-.}-{2:2} { [ 68.969720][ T3541] IN-HARDIRQ-W at: [ 68.973687][ T3541] lock_acquire+0x1f8/0x5a0 [ 68.979823][ T3541] _raw_spin_lock_nested+0x2d/0x40 [ 68.986753][ T3541] raw_spin_rq_lock_nested+0x26/0x140 [ 68.994475][ T3541] scheduler_tick+0x9d/0x550 [ 69.000731][ T3541] update_process_times+0x17b/0x1b0 [ 69.007838][ T3541] tick_periodic+0x197/0x210 [ 69.014435][ T3541] tick_handle_periodic+0x46/0x150 [ 69.021288][ T3541] timer_interrupt+0x4d/0x60 [ 69.027799][ T3541] __handle_irq_event_percpu+0x2a8/0xb20 [ 69.035168][ T3541] handle_irq_event+0x85/0x1e0 [ 69.041702][ T3541] handle_level_irq+0x3ab/0x6c0 [ 69.048291][ T3541] __common_interrupt+0xd7/0x1f0 [ 69.055150][ T3541] common_interrupt+0x9f/0xc0 [ 69.061659][ T3541] asm_common_interrupt+0x22/0x40 [ 69.068574][ T3541] _raw_spin_unlock_irqrestore+0xd4/0x130 [ 69.076366][ T3541] __setup_irq+0x12fa/0x1d80 [ 69.082600][ T3541] request_threaded_irq+0x2a7/0x380 [ 69.090198][ T3541] setup_default_timer_irq+0x1f/0x30 [ 69.097407][ T3541] x86_late_time_init+0x51/0x86 [ 69.104019][ T3541] start_kernel+0x414/0x53f [ 69.110159][ T3541] secondary_startup_64_no_verify+0xcf/0xdb [ 69.117686][ T3541] IN-SOFTIRQ-W at: [ 69.121658][ T3541] lock_acquire+0x1f8/0x5a0 [ 69.127877][ T3541] _raw_spin_lock_nested+0x2d/0x40 [ 69.134639][ T3541] raw_spin_rq_lock_nested+0x26/0x140 [ 69.141638][ T3541] try_to_wake_up+0x5bd/0x12e0 [ 69.148148][ T3541] __queue_work+0xb4b/0xf90 [ 69.154377][ T3541] call_timer_fn+0x1ad/0x6b0 [ 69.160694][ T3541] __run_timers+0x6a8/0x890 [ 69.166877][ T3541] run_timer_softirq+0x63/0xf0 [ 69.173373][ T3541] __do_softirq+0x2e9/0xa4c [ 69.179563][ T3541] __irq_exit_rcu+0x155/0x240 [ 69.185884][ T3541] irq_exit_rcu+0x5/0x20 [ 69.191783][ T3541] sysvec_apic_timer_interrupt+0x91/0xb0 [ 69.199337][ T3541] asm_sysvec_apic_timer_interrupt+0x16/0x20 [ 69.207064][ T3541] default_idle+0xb/0x10 [ 69.213056][ T3541] default_idle_call+0x84/0xc0 [ 69.219906][ T3541] do_idle+0x251/0x680 [ 69.225804][ T3541] cpu_startup_entry+0x3d/0x60 [ 69.232401][ T3541] rest_init+0x2da/0x300 [ 69.238284][ T3541] start_kernel+0x0/0x53f [ 69.244343][ T3541] start_kernel+0x496/0x53f [ 69.250998][ T3541] secondary_startup_64_no_verify+0xcf/0xdb [ 69.258610][ T3541] INITIAL USE at: [ 69.262587][ T3541] lock_acquire+0x1f8/0x5a0 [ 69.268915][ T3541] _raw_spin_lock_nested+0x2d/0x40 [ 69.275763][ T3541] raw_spin_rq_lock_nested+0x26/0x140 [ 69.282798][ T3541] rq_attach_root+0xec/0x540 [ 69.289117][ T3541] sched_init+0x6c7/0xcc9 [ 69.295886][ T3541] start_kernel+0x1bf/0x53f [ 69.302529][ T3541] secondary_startup_64_no_verify+0xcf/0xdb [ 69.310154][ T3541] } [ 69.312634][ T3541] ... key at: [] sched_init.__key+0x0/0x20 [ 69.320509][ T3541] [ 69.320509][ T3541] the dependencies between the lock to be acquired [ 69.320515][ T3541] and HARDIRQ-irq-unsafe lock: [ 69.334097][ T3541] -> (&htab->buckets[i].lock){+...}-{2:2} { [ 69.340071][ T3541] HARDIRQ-ON-W at: [ 69.344066][ T3541] lock_acquire+0x1f8/0x5a0 [ 69.350292][ T3541] _raw_spin_lock_bh+0x31/0x40 [ 69.356859][ T3541] sock_hash_delete_elem+0xac/0x2f0 [ 69.363690][ T3541] 0xffffffffa0001da2 [ 69.369399][ T3541] bpf_trace_run2+0x1fd/0x410 [ 69.375816][ T3541] trace_contention_end+0x12f/0x170 [ 69.382839][ T3541] __mutex_lock+0x2ed/0xd80 [ 69.389114][ T3541] futex_exit_release+0x30/0x1e0 [ 69.395812][ T3541] exit_mm_release+0x16/0x30 [ 69.402231][ T3541] exit_mm+0xa9/0x300 [ 69.407939][ T3541] do_exit+0x9f6/0x26a0 [ 69.413919][ T3541] do_group_exit+0x202/0x2b0 [ 69.420257][ T3541] __x64_sys_exit_group+0x3b/0x40 [ 69.427458][ T3541] do_syscall_64+0x3d/0xb0 [ 69.434230][ T3541] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 69.442194][ T3541] INITIAL USE at: [ 69.446599][ T3541] lock_acquire+0x1f8/0x5a0 [ 69.453266][ T3541] _raw_spin_lock_bh+0x31/0x40 [ 69.459668][ T3541] sock_hash_delete_elem+0xac/0x2f0 [ 69.466499][ T3541] 0xffffffffa0001da2 [ 69.472284][ T3541] bpf_trace_run2+0x1fd/0x410 [ 69.478519][ T3541] trace_contention_end+0x12f/0x170 [ 69.485365][ T3541] __mutex_lock+0x2ed/0xd80 [ 69.491535][ T3541] futex_exit_release+0x30/0x1e0 [ 69.498033][ T3541] exit_mm_release+0x16/0x30 [ 69.504525][ T3541] exit_mm+0xa9/0x300 [ 69.510062][ T3541] do_exit+0x9f6/0x26a0 [ 69.515787][ T3541] do_group_exit+0x202/0x2b0 [ 69.522154][ T3541] __x64_sys_exit_group+0x3b/0x40 [ 69.528843][ T3541] do_syscall_64+0x3d/0xb0 [ 69.534890][ T3541] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 69.542349][ T3541] } [ 69.544844][ T3541] ... key at: [] sock_hash_alloc.__key+0x0/0x20 [ 69.553240][ T3541] ... acquired at: [ 69.557016][ T3541] lock_acquire+0x1f8/0x5a0 [ 69.561758][ T3541] _raw_spin_lock_bh+0x31/0x40 [ 69.566756][ T3541] sock_hash_delete_elem+0xac/0x2f0 [ 69.572278][ T3541] bpf_prog_2c29ac5cdc6b1842+0x3a/0x3e [ 69.577916][ T3541] bpf_trace_run2+0x1fd/0x410 [ 69.582871][ T3541] trace_contention_end+0x14c/0x190 [ 69.588216][ T3541] __pv_queued_spin_lock_slowpath+0x935/0xc50 [ 69.594529][ T3541] queued_spin_lock_slowpath+0x42/0x50 [ 69.600222][ T3541] do_raw_spin_lock+0x269/0x370 [ 69.605308][ T3541] raw_spin_rq_lock_nested+0x26/0x140 [ 69.611006][ T3541] __schedule+0x33d/0x4550 [ 69.615664][ T3541] schedule+0xbf/0x180 [ 69.619992][ T3541] do_nanosleep+0x192/0x5f0 [ 69.624831][ T3541] hrtimer_nanosleep+0x24d/0x490 [ 69.630120][ T3541] __se_sys_clock_nanosleep+0x323/0x3b0 [ 69.635910][ T3541] do_syscall_64+0x3d/0xb0 [ 69.640479][ T3541] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 69.646567][ T3541] [ 69.648886][ T3541] [ 69.648886][ T3541] stack backtrace: [ 69.654777][ T3541] CPU: 0 PID: 3541 Comm: syz-executor510 Not tainted 6.1.84-syzkaller #0 [ 69.663733][ T3541] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 69.674134][ T3541] Call Trace: [ 69.677499][ T3541] [ 69.680501][ T3541] dump_stack_lvl+0x1e3/0x2cb [ 69.685178][ T3541] ? nf_tcp_handle_invalid+0x642/0x642 [ 69.690750][ T3541] ? panic+0x75d/0x75d [ 69.694983][ T3541] ? print_shortest_lock_dependencies+0xee/0x150 [ 69.702117][ T3541] validate_chain+0x4d16/0x5950 [ 69.708123][ T3541] ? trace_sched_overutilized_tp+0x61/0x1a0 [ 69.714198][ T3541] ? reacquire_held_locks+0x660/0x660 [ 69.719596][ T3541] ? validate_chain+0x112/0x5950 [ 69.724621][ T3541] ? mark_lock+0x9a/0x340 [ 69.729114][ T3541] __lock_acquire+0x125b/0x1f80 [ 69.733990][ T3541] lock_acquire+0x1f8/0x5a0 [ 69.738583][ T3541] ? sock_hash_delete_elem+0xac/0x2f0 [ 69.744064][ T3541] ? lockdep_softirqs_on+0x590/0x590 [ 69.749608][ T3541] ? read_lock_is_recursive+0x10/0x10 [ 69.755069][ T3541] ? sock_hash_delete_elem+0xac/0x2f0 [ 69.760516][ T3541] ? __bpf_trace_softirq+0x10/0x10 [ 69.765703][ T3541] ? read_lock_is_recursive+0x10/0x10 [ 69.771260][ T3541] ? sock_hash_delete_elem+0xac/0x2f0 [ 69.776645][ T3541] _raw_spin_lock_bh+0x31/0x40 [ 69.781581][ T3541] ? sock_hash_delete_elem+0xac/0x2f0 [ 69.787050][ T3541] sock_hash_delete_elem+0xac/0x2f0 [ 69.792251][ T3541] ? __lock_acquire+0x125b/0x1f80 [ 69.797547][ T3541] bpf_prog_2c29ac5cdc6b1842+0x3a/0x3e [ 69.803268][ T3541] bpf_trace_run2+0x1fd/0x410 [ 69.808164][ T3541] ? bpf_trace_run2+0x110/0x410 [ 69.814582][ T3541] ? bpf_trace_run1+0x3d0/0x3d0 [ 69.819524][ T3541] trace_contention_end+0x14c/0x190 [ 69.825074][ T3541] __pv_queued_spin_lock_slowpath+0x935/0xc50 [ 69.831335][ T3541] ? __pv_queued_spin_unlock_slowpath+0x2e0/0x2e0 [ 69.838019][ T3541] ? trace_rcu_utilization+0x71/0x230 [ 69.844184][ T3541] queued_spin_lock_slowpath+0x42/0x50 [ 69.849862][ T3541] do_raw_spin_lock+0x269/0x370 [ 69.855176][ T3541] ? __rwlock_init+0x140/0x140 [ 69.860428][ T3541] ? __lock_acquire+0x1f80/0x1f80 [ 69.865544][ T3541] raw_spin_rq_lock_nested+0x26/0x140 [ 69.871708][ T3541] __schedule+0x33d/0x4550 [ 69.876166][ T3541] ? do_nanosleep+0x153/0x5f0 [ 69.881009][ T3541] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 69.887016][ T3541] ? print_irqtrace_events+0x210/0x210 [ 69.892589][ T3541] ? do_raw_spin_unlock+0x137/0x8a0 [ 69.897874][ T3541] ? __sched_text_start+0x8/0x8 [ 69.902805][ T3541] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 69.908793][ T3541] ? _raw_spin_unlock+0x40/0x40 [ 69.913666][ T3541] schedule+0xbf/0x180 [ 69.917874][ T3541] do_nanosleep+0x192/0x5f0 [ 69.922884][ T3541] ? do_nanosleep+0x7c/0x5f0 [ 69.927626][ T3541] ? usleep_range_state+0x1c0/0x1c0 [ 69.937349][ T3541] ? memset+0x1f/0x40 [ 69.941751][ T3541] ? __hrtimer_init+0x181/0x260 [ 69.946962][ T3541] hrtimer_nanosleep+0x24d/0x490 [ 69.952081][ T3541] ? nanosleep_copyout+0x120/0x120 [ 69.957634][ T3541] ? __remove_hrtimer+0x4b0/0x4b0 [ 69.962668][ T3541] ? timespec64_add_safe+0x220/0x220 [ 69.967947][ T3541] __se_sys_clock_nanosleep+0x323/0x3b0 [ 69.974525][ T3541] ? __x64_sys_clock_nanosleep+0xa0/0xa0 [ 69.980420][ T3541] ? syscall_enter_from_user_mode+0x2e/0x230 [ 69.986514][ T3541] ? lockdep_hardirqs_on+0x94/0x130 [ 69.992052][ T3541] ? syscall_enter_from_user_mode+0x2e/0x230 [ 69.998036][ T3541] do_syscall_64+0x3d/0xb0 [ 70.002615][ T3541] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 70.008762][ T3541] RIP: 0033:0x7fed8c10e7f3 [ 70.013362][ T3541] Code: 00 00 00 00 0f 1f 00 83 ff 03 74 7b 83 ff 02 b8 fa ff ff ff 49 89 ca 0f 44 f8 80 3d 8e e8 03 00 00 74 14 b8 e6 00 00 00 0f 05 d8 c3 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec 28 48 89 54 24 10 [ 70.033757][ T3541] RSP: 002b:00007fffdc7a3998 EFLAGS: 00000202 ORIG_RAX: 00000000000000e6 [ 70.042270][ T3541] RAX: ffffffffffffffda RBX: 0000000000000eb9 RCX: 00007fed8c10e7f3 [ 70.050312][ T3541] RDX: 00007fffdc7a39b0 RSI: 0000000000000000 RDI: 0000000000000000 [ 70.058439][ T3541] RBP: 0000000000010b5c R08: 00007fffdc7df0b0 R09: 0000000000000010 [ 70.066574][ T3541] R10: 0000000000000000 R11: 0000000000000202 R12: 00007fffdc7a39ec [ 70.074616][ T3541] R13: 431bde82d7b634db R14: 0000000000000001 R15: 0000000000000001 [ 70.082661][ T3541]