===================================================== WARNING: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected 5.10.0-syzkaller #0 Not tainted ----------------------------------------------------- syz-executor.0/23966 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire: ffff88802fa11408 (&new->fa_lock){.+.+}-{2:2}, at: kill_fasync_rcu fs/fcntl.c:1004 [inline] ffff88802fa11408 (&new->fa_lock){.+.+}-{2:2}, at: kill_fasync fs/fcntl.c:1025 [inline] ffff88802fa11408 (&new->fa_lock){.+.+}-{2:2}, at: kill_fasync+0x1a1/0x4c0 fs/fcntl.c:1018 and this task is already holding: ffff88801247a498 (&ctx->completion_lock#2){-.-.}-{2:2}, at: spin_lock_irq include/linux/spinlock.h:379 [inline] ffff88801247a498 (&ctx->completion_lock#2){-.-.}-{2:2}, at: io_submit_flush_completions+0x4d/0x3a0 fs/io_uring.c:1829 which would create a new lock dependency: (&ctx->completion_lock#2){-.-.}-{2:2} -> (&new->fa_lock){.+.+}-{2:2} but this new dependency connects a HARDIRQ-irq-safe lock: (&ctx->completion_lock#2){-.-.}-{2:2} ... which became HARDIRQ-irq-safe at: lock_acquire kernel/locking/lockdep.c:5437 [inline] lock_acquire+0x29d/0x750 kernel/locking/lockdep.c:5402 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:159 io_timeout_fn+0x6f/0x3d0 fs/io_uring.c:5619 __run_hrtimer kernel/time/hrtimer.c:1519 [inline] __hrtimer_run_queues+0x609/0xea0 kernel/time/hrtimer.c:1583 hrtimer_interrupt+0x334/0x960 kernel/time/hrtimer.c:1645 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x146/0x550 arch/x86/kernel/apic/apic.c:1102 asm_call_irq_on_stack+0xf/0x20 __run_sysvec_on_irqstack arch/x86/include/asm/irq_stack.h:37 [inline] run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:89 [inline] sysvec_apic_timer_interrupt+0xbd/0x100 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:628 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] _raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:199 finish_lock_switch kernel/sched/core.c:4079 [inline] finish_task_switch.isra.0+0x18b/0xbd0 kernel/sched/core.c:4196 context_switch kernel/sched/core.c:4330 [inline] __schedule+0x8f3/0x21b0 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 freezable_schedule include/linux/freezer.h:172 [inline] do_nanosleep+0x268/0x6a0 kernel/time/hrtimer.c:1878 hrtimer_nanosleep+0x1f9/0x430 kernel/time/hrtimer.c:1931 __do_sys_nanosleep kernel/time/hrtimer.c:1965 [inline] __se_sys_nanosleep kernel/time/hrtimer.c:1952 [inline] __x64_sys_nanosleep+0x1dc/0x260 kernel/time/hrtimer.c:1952 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 to a HARDIRQ-irq-unsafe lock: (&new->fa_lock){.+.+}-{2:2} ... which became HARDIRQ-irq-unsafe at: ... lock_acquire kernel/locking/lockdep.c:5437 [inline] lock_acquire+0x29d/0x750 kernel/locking/lockdep.c:5402 __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline] _raw_read_lock+0x5b/0x70 kernel/locking/spinlock.c:223 kill_fasync_rcu fs/fcntl.c:1004 [inline] kill_fasync fs/fcntl.c:1025 [inline] kill_fasync+0x1a1/0x4c0 fs/fcntl.c:1018 sock_wake_async+0xd2/0x160 net/socket.c:1310 sk_wake_async include/net/sock.h:2279 [inline] sk_wake_async+0x1a6/0x2d0 include/net/sock.h:2275 unix_release_sock+0x7db/0xc10 net/unix/af_unix.c:553 unix_release+0x3f/0x80 net/unix/af_unix.c:859 __sock_release+0xcd/0x280 net/socket.c:597 sock_close+0x18/0x20 net/socket.c:1256 __fput+0x283/0x920 fs/file_table.c:280 task_work_run+0xdd/0x190 kernel/task_work.c:140 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:174 [inline] exit_to_user_mode_prepare+0x1f0/0x200 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:302 entry_SYSCALL_64_after_hwframe+0x44/0xa9 other info that might help us debug this: Possible interrupt unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&new->fa_lock); local_irq_disable(); lock(&ctx->completion_lock#2); lock(&new->fa_lock); lock(&ctx->completion_lock#2); *** DEADLOCK *** 3 locks held by syz-executor.0/23966: #0: ffff88801247a3e8 (&ctx->uring_lock){+.+.}-{3:3}, at: __do_sys_io_uring_enter+0x586/0x1c00 fs/io_uring.c:9191 #1: ffff88801247a498 (&ctx->completion_lock#2){-.-.}-{2:2}, at: spin_lock_irq include/linux/spinlock.h:379 [inline] #1: ffff88801247a498 (&ctx->completion_lock#2){-.-.}-{2:2}, at: io_submit_flush_completions+0x4d/0x3a0 fs/io_uring.c:1829 #2: ffffffff8b793de0 (rcu_read_lock){....}-{1:2}, at: kill_fasync+0x3d/0x4c0 fs/fcntl.c:1023 the dependencies between HARDIRQ-irq-safe lock and the holding lock: -> (&ctx->completion_lock#2){-.-.}-{2:2} { IN-HARDIRQ-W at: lock_acquire kernel/locking/lockdep.c:5437 [inline] lock_acquire+0x29d/0x750 kernel/locking/lockdep.c:5402 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:159 io_timeout_fn+0x6f/0x3d0 fs/io_uring.c:5619 __run_hrtimer kernel/time/hrtimer.c:1519 [inline] __hrtimer_run_queues+0x609/0xea0 kernel/time/hrtimer.c:1583 hrtimer_interrupt+0x334/0x960 kernel/time/hrtimer.c:1645 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x146/0x550 arch/x86/kernel/apic/apic.c:1102 asm_call_irq_on_stack+0xf/0x20 __run_sysvec_on_irqstack arch/x86/include/asm/irq_stack.h:37 [inline] run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:89 [inline] sysvec_apic_timer_interrupt+0xbd/0x100 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:628 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] _raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:199 finish_lock_switch kernel/sched/core.c:4079 [inline] finish_task_switch.isra.0+0x18b/0xbd0 kernel/sched/core.c:4196 context_switch kernel/sched/core.c:4330 [inline] __schedule+0x8f3/0x21b0 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 freezable_schedule include/linux/freezer.h:172 [inline] do_nanosleep+0x268/0x6a0 kernel/time/hrtimer.c:1878 hrtimer_nanosleep+0x1f9/0x430 kernel/time/hrtimer.c:1931 __do_sys_nanosleep kernel/time/hrtimer.c:1965 [inline] __se_sys_nanosleep kernel/time/hrtimer.c:1952 [inline] __x64_sys_nanosleep+0x1dc/0x260 kernel/time/hrtimer.c:1952 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 IN-SOFTIRQ-W at: lock_acquire kernel/locking/lockdep.c:5437 [inline] lock_acquire+0x29d/0x750 kernel/locking/lockdep.c:5402 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:159 io_timeout_fn+0x6f/0x3d0 fs/io_uring.c:5619 __run_hrtimer kernel/time/hrtimer.c:1519 [inline] __hrtimer_run_queues+0x609/0xea0 kernel/time/hrtimer.c:1583 hrtimer_interrupt+0x334/0x960 kernel/time/hrtimer.c:1645 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x146/0x550 arch/x86/kernel/apic/apic.c:1102 run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:91 [inline] sysvec_apic_timer_interrupt+0x48/0x100 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:628 check_kcov_mode kernel/kcov.c:163 [inline] __sanitizer_cov_trace_pc+0x2d/0x60 kernel/kcov.c:197 trace_prandom_u32 include/trace/events/random.h:310 [inline] prandom_u32+0x3d0/0x490 lib/random32.c:389 mrp_join_timer_arm+0x21/0x80 net/802/mrp.c:582 call_timer_fn+0x1a5/0x710 kernel/time/timer.c:1417 expire_timers kernel/time/timer.c:1462 [inline] __run_timers.part.0+0x692/0xa80 kernel/time/timer.c:1731 __run_timers kernel/time/timer.c:1712 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1744 __do_softirq+0x2bc/0xa77 kernel/softirq.c:343 asm_call_irq_on_stack+0xf/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0xaa/0xd0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:226 [inline] __irq_exit_rcu+0x17f/0x200 kernel/softirq.c:420 irq_exit_rcu+0x5/0x20 kernel/softirq.c:432 sysvec_apic_timer_interrupt+0x4d/0x100 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:628 __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] _raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:199 finish_lock_switch kernel/sched/core.c:4079 [inline] finish_task_switch.isra.0+0x18b/0xbd0 kernel/sched/core.c:4196 context_switch kernel/sched/core.c:4330 [inline] __schedule+0x8f3/0x21b0 kernel/sched/core.c:5078 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:5238 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:40 unwind_next_frame+0xee2/0x2460 arch/x86/kernel/unwind_orc.c:608 __unwind_start+0x547/0x810 arch/x86/kernel/unwind_orc.c:696 unwind_start arch/x86/include/asm/unwind.h:60 [inline] arch_stack_walk+0x5c/0xe0 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:401 [inline] ____kasan_kmalloc.constprop.0+0x82/0xa0 mm/kasan/common.c:429 kmalloc include/linux/slab.h:557 [inline] __io_alloc_async_data fs/io_uring.c:3275 [inline] io_alloc_async_data fs/io_uring.c:3284 [inline] io_timeout_prep+0x41c/0x570 fs/io_uring.c:5765 io_req_prep+0x293c/0x4f10 fs/io_uring.c:5979 io_queue_sqe+0x609/0x10f0 fs/io_uring.c:6546 io_submit_sqe fs/io_uring.c:6623 [inline] io_submit_sqes+0x135a/0x2530 fs/io_uring.c:6871 __do_sys_io_uring_enter+0x591/0x1c00 fs/io_uring.c:9192 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 INITIAL USE at: lock_acquire kernel/locking/lockdep.c:5437 [inline] lock_acquire+0x29d/0x750 kernel/locking/lockdep.c:5402 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:128 [inline] _raw_spin_lock_irq+0x32/0x50 kernel/locking/spinlock.c:167 spin_lock_irq include/linux/spinlock.h:379 [inline] io_submit_flush_completions+0x4d/0x3a0 fs/io_uring.c:1829 io_submit_state_end fs/io_uring.c:6636 [inline] io_submit_sqes+0x985/0x2530 fs/io_uring.c:6887 __do_sys_io_uring_enter+0x591/0x1c00 fs/io_uring.c:9192 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 } ... key at: [] __key.10+0x0/0x40 ... acquired at: lock_acquire kernel/locking/lockdep.c:5437 [inline] lock_acquire+0x29d/0x750 kernel/locking/lockdep.c:5402 __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline] _raw_read_lock+0x5b/0x70 kernel/locking/spinlock.c:223 kill_fasync_rcu fs/fcntl.c:1004 [inline] kill_fasync fs/fcntl.c:1025 [inline] kill_fasync+0x1a1/0x4c0 fs/fcntl.c:1018 __io_commit_cqring fs/io_uring.c:1344 [inline] io_commit_cqring+0x34e/0xa90 fs/io_uring.c:1654 io_submit_flush_completions+0x269/0x3a0 fs/io_uring.c:1851 __io_req_complete+0x209/0x310 fs/io_uring.c:1870 io_nop fs/io_uring.c:3893 [inline] io_issue_sqe+0x1e1c/0x44e0 fs/io_uring.c:6180 __io_queue_sqe+0x228/0x1120 fs/io_uring.c:6484 io_queue_sqe+0x631/0x10f0 fs/io_uring.c:6550 io_submit_sqe fs/io_uring.c:6623 [inline] io_submit_sqes+0x135a/0x2530 fs/io_uring.c:6871 __do_sys_io_uring_enter+0x591/0x1c00 fs/io_uring.c:9192 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 the dependencies between the lock to be acquired and HARDIRQ-irq-unsafe lock: -> (&new->fa_lock){.+.+}-{2:2} { HARDIRQ-ON-R at: lock_acquire kernel/locking/lockdep.c:5437 [inline] lock_acquire+0x29d/0x750 kernel/locking/lockdep.c:5402 __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline] _raw_read_lock+0x5b/0x70 kernel/locking/spinlock.c:223 kill_fasync_rcu fs/fcntl.c:1004 [inline] kill_fasync fs/fcntl.c:1025 [inline] kill_fasync+0x1a1/0x4c0 fs/fcntl.c:1018 sock_wake_async+0xd2/0x160 net/socket.c:1310 sk_wake_async include/net/sock.h:2279 [inline] sk_wake_async+0x1a6/0x2d0 include/net/sock.h:2275 unix_release_sock+0x7db/0xc10 net/unix/af_unix.c:553 unix_release+0x3f/0x80 net/unix/af_unix.c:859 __sock_release+0xcd/0x280 net/socket.c:597 sock_close+0x18/0x20 net/socket.c:1256 __fput+0x283/0x920 fs/file_table.c:280 task_work_run+0xdd/0x190 kernel/task_work.c:140 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:174 [inline] exit_to_user_mode_prepare+0x1f0/0x200 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:302 entry_SYSCALL_64_after_hwframe+0x44/0xa9 SOFTIRQ-ON-R at: lock_acquire kernel/locking/lockdep.c:5437 [inline] lock_acquire+0x29d/0x750 kernel/locking/lockdep.c:5402 __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline] _raw_read_lock+0x5b/0x70 kernel/locking/spinlock.c:223 kill_fasync_rcu fs/fcntl.c:1004 [inline] kill_fasync fs/fcntl.c:1025 [inline] kill_fasync+0x1a1/0x4c0 fs/fcntl.c:1018 sock_wake_async+0xd2/0x160 net/socket.c:1310 sk_wake_async include/net/sock.h:2279 [inline] sk_wake_async+0x1a6/0x2d0 include/net/sock.h:2275 unix_release_sock+0x7db/0xc10 net/unix/af_unix.c:553 unix_release+0x3f/0x80 net/unix/af_unix.c:859 __sock_release+0xcd/0x280 net/socket.c:597 sock_close+0x18/0x20 net/socket.c:1256 __fput+0x283/0x920 fs/file_table.c:280 task_work_run+0xdd/0x190 kernel/task_work.c:140 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:174 [inline] exit_to_user_mode_prepare+0x1f0/0x200 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:302 entry_SYSCALL_64_after_hwframe+0x44/0xa9 INITIAL USE at: lock_acquire kernel/locking/lockdep.c:5437 [inline] lock_acquire+0x29d/0x750 kernel/locking/lockdep.c:5402 __raw_write_lock_irq include/linux/rwlock_api_smp.h:196 [inline] _raw_write_lock_irq+0x32/0x50 kernel/locking/spinlock.c:311 fasync_remove_entry+0xb6/0x1f0 fs/fcntl.c:882 fasync_helper+0x9e/0xb0 fs/fcntl.c:985 __tty_fasync drivers/tty/tty_io.c:2130 [inline] __tty_hangup.part.0+0x2d8/0x870 drivers/tty/tty_io.c:614 __tty_hangup drivers/tty/tty_io.c:574 [inline] tty_vhangup+0x1d/0x30 drivers/tty/tty_io.c:697 pty_close+0x3f5/0x550 drivers/tty/pty.c:79 tty_release+0x45e/0x1210 drivers/tty/tty_io.c:1683 __fput+0x283/0x920 fs/file_table.c:280 task_work_run+0xdd/0x190 kernel/task_work.c:140 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:174 [inline] exit_to_user_mode_prepare+0x1f0/0x200 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:302 entry_SYSCALL_64_after_hwframe+0x44/0xa9 INITIAL READ USE at: lock_acquire kernel/locking/lockdep.c:5437 [inline] lock_acquire+0x29d/0x750 kernel/locking/lockdep.c:5402 __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline] _raw_read_lock+0x5b/0x70 kernel/locking/spinlock.c:223 kill_fasync_rcu fs/fcntl.c:1004 [inline] kill_fasync fs/fcntl.c:1025 [inline] kill_fasync+0x1a1/0x4c0 fs/fcntl.c:1018 sock_wake_async+0xd2/0x160 net/socket.c:1310 sk_wake_async include/net/sock.h:2279 [inline] sk_wake_async+0x1a6/0x2d0 include/net/sock.h:2275 unix_release_sock+0x7db/0xc10 net/unix/af_unix.c:553 unix_release+0x3f/0x80 net/unix/af_unix.c:859 __sock_release+0xcd/0x280 net/socket.c:597 sock_close+0x18/0x20 net/socket.c:1256 __fput+0x283/0x920 fs/file_table.c:280 task_work_run+0xdd/0x190 kernel/task_work.c:140 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:174 [inline] exit_to_user_mode_prepare+0x1f0/0x200 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:302 entry_SYSCALL_64_after_hwframe+0x44/0xa9 } ... key at: [] __key.0+0x0/0x40 ... acquired at: lock_acquire kernel/locking/lockdep.c:5437 [inline] lock_acquire+0x29d/0x750 kernel/locking/lockdep.c:5402 __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline] _raw_read_lock+0x5b/0x70 kernel/locking/spinlock.c:223 kill_fasync_rcu fs/fcntl.c:1004 [inline] kill_fasync fs/fcntl.c:1025 [inline] kill_fasync+0x1a1/0x4c0 fs/fcntl.c:1018 __io_commit_cqring fs/io_uring.c:1344 [inline] io_commit_cqring+0x34e/0xa90 fs/io_uring.c:1654 io_submit_flush_completions+0x269/0x3a0 fs/io_uring.c:1851 __io_req_complete+0x209/0x310 fs/io_uring.c:1870 io_nop fs/io_uring.c:3893 [inline] io_issue_sqe+0x1e1c/0x44e0 fs/io_uring.c:6180 __io_queue_sqe+0x228/0x1120 fs/io_uring.c:6484 io_queue_sqe+0x631/0x10f0 fs/io_uring.c:6550 io_submit_sqe fs/io_uring.c:6623 [inline] io_submit_sqes+0x135a/0x2530 fs/io_uring.c:6871 __do_sys_io_uring_enter+0x591/0x1c00 fs/io_uring.c:9192 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 stack backtrace: CPU: 1 PID: 23966 Comm: syz-executor.0 Not tainted 5.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:120 print_bad_irq_dependency kernel/locking/lockdep.c:2452 [inline] check_irq_usage.cold+0x50d/0x744 kernel/locking/lockdep.c:2681 check_prev_add kernel/locking/lockdep.c:2872 [inline] check_prevs_add kernel/locking/lockdep.c:2993 [inline] validate_chain kernel/locking/lockdep.c:3608 [inline] __lock_acquire+0x2b51/0x54b0 kernel/locking/lockdep.c:4832 lock_acquire kernel/locking/lockdep.c:5437 [inline] lock_acquire+0x29d/0x750 kernel/locking/lockdep.c:5402 __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline] _raw_read_lock+0x5b/0x70 kernel/locking/spinlock.c:223 kill_fasync_rcu fs/fcntl.c:1004 [inline] kill_fasync fs/fcntl.c:1025 [inline] kill_fasync+0x1a1/0x4c0 fs/fcntl.c:1018 __io_commit_cqring fs/io_uring.c:1344 [inline] io_commit_cqring+0x34e/0xa90 fs/io_uring.c:1654 io_submit_flush_completions+0x269/0x3a0 fs/io_uring.c:1851 __io_req_complete+0x209/0x310 fs/io_uring.c:1870 io_nop fs/io_uring.c:3893 [inline] io_issue_sqe+0x1e1c/0x44e0 fs/io_uring.c:6180 __io_queue_sqe+0x228/0x1120 fs/io_uring.c:6484 io_queue_sqe+0x631/0x10f0 fs/io_uring.c:6550 io_submit_sqe fs/io_uring.c:6623 [inline] io_submit_sqes+0x135a/0x2530 fs/io_uring.c:6871 __do_sys_io_uring_enter+0x591/0x1c00 fs/io_uring.c:9192 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e229 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f9cf8b1dc68 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 000000000045e229 RDX: 0000000000000000 RSI: 000000000000450c RDI: 0000000000000003 RBP: 000000000119c080 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034 R13: 00000000016afb6f R14: 00007f9cf8b1e9c0 R15: 000000000119c034