=====================================================
WARNING: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected
5.15.189-syzkaller #0 Not tainted
-----------------------------------------------------
syz.8.1153/10604 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire:
ffff8880222d0168 (&new->fa_lock){....}-{2:2}, at: kill_fasync_rcu fs/fcntl.c:1008 [inline]
ffff8880222d0168 (&new->fa_lock){....}-{2:2}, at: kill_fasync+0x16d/0x490 fs/fcntl.c:1029
and this task is already holding:
ffff88801e4ea028 (&client->buffer_lock){..-.}-{2:2}, at: spin_lock include/linux/spinlock.h:363 [inline]
ffff88801e4ea028 (&client->buffer_lock){..-.}-{2:2}, at: evdev_pass_values+0xcb/0xab0 drivers/input/evdev.c:261
which would create a new lock dependency:
(&client->buffer_lock){..-.}-{2:2} -> (&new->fa_lock){....}-{2:2}
but this new dependency connects a SOFTIRQ-irq-safe lock:
(&client->buffer_lock){..-.}-{2:2}
... which became SOFTIRQ-irq-safe at:
lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623
__raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:363 [inline]
evdev_pass_values+0xcb/0xab0 drivers/input/evdev.c:261
evdev_events+0x1c0/0x2f0 drivers/input/evdev.c:306
input_to_handler drivers/input/input.c:126 [inline]
input_pass_values+0x880/0x1220 drivers/input/input.c:156
input_handle_event+0xbe0/0x1490 drivers/input/input.c:426
input_event+0x88/0xb0 drivers/input/input.c:457
hidinput_hid_event+0x118c/0x1900 drivers/hid/hid-input.c:1467
hid_process_event+0x4b7/0x620 drivers/hid/hid-core.c:1540
hid_input_field drivers/hid/hid-core.c:1584 [inline]
hid_report_raw_event+0xdde/0x1640 drivers/hid/hid-core.c:1808
hid_input_report+0x424/0x4e0 drivers/hid/hid-core.c:1875
hid_irq_in+0x435/0x690 drivers/hid/usbhid/hid-core.c:284
__usb_hcd_giveback_urb+0x35f/0x520 drivers/usb/core/hcd.c:1674
dummy_timer+0x827/0x2e10 drivers/usb/gadget/udc/dummy_hcd.c:1987
call_timer_fn+0x16c/0x530 kernel/time/timer.c:1451
expire_timers kernel/time/timer.c:1496 [inline]
__run_timers+0x525/0x7c0 kernel/time/timer.c:1767
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1780
handle_softirqs+0x328/0x820 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
unwind_next_frame+0x703/0x1d90 arch/x86/kernel/unwind_orc.c:-1
__unwind_start+0x5bb/0x740 arch/x86/kernel/unwind_orc.c:704
unwind_start arch/x86/include/asm/unwind.h:60 [inline]
arch_stack_walk+0xda/0x140 arch/x86/kernel/stacktrace.c:24
stack_trace_save+0x98/0xe0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:38 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:46
kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360
____kasan_slab_free+0xd5/0x110 mm/kasan/common.c:366
kasan_slab_free include/linux/kasan.h:230 [inline]
slab_free_hook mm/slub.c:1705 [inline]
slab_free_freelist_hook+0xea/0x170 mm/slub.c:1731
slab_free mm/slub.c:3499 [inline]
kmem_cache_free+0x8f/0x210 mm/slub.c:3515
file_free fs/file_table.c:55 [inline]
__fput+0x627/0x930 fs/file_table.c:324
task_work_run+0x125/0x1a0 kernel/task_work.c:188
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214
__syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x66/0xd0
to a SOFTIRQ-irq-unsafe lock:
(tasklist_lock){.+.+}-{2:2}
... which became SOFTIRQ-irq-unsafe at:
...
lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623
__raw_read_lock include/linux/rwlock_api_smp.h:149 [inline]
_raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
do_wait+0x293/0xac0 kernel/exit.c:1579
kernel_wait+0xa8/0x160 kernel/exit.c:1769
call_usermodehelper_exec_sync kernel/umh.c:139 [inline]
call_usermodehelper_exec_work+0xb5/0x220 kernel/umh.c:166
process_one_work+0x863/0x1000 kernel/workqueue.c:2310
worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457
kthread+0x436/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
other info that might help us debug this:
Chain exists of:
&client->buffer_lock --> &new->fa_lock --> tasklist_lock
Possible interrupt unsafe locking scenario:
CPU0 CPU1
---- ----
lock(tasklist_lock);
local_irq_disable();
lock(&client->buffer_lock);
lock(&new->fa_lock);
<Interrupt>
lock(&client->buffer_lock);
*** DEADLOCK ***
7 locks held by syz.8.1153/10604:
#0: ffff8881487fe110 (&evdev->mutex){+.+.}-{3:3}, at: evdev_write+0x177/0x470 drivers/input/evdev.c:513
#1: ffff88801e1ae230 (&dev->event_lock#2){-.-.}-{2:2}, at: input_inject_event+0x9e/0x2c0 drivers/input/input.c:482
#2: ffffffff8c11c360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:311
#3: ffffffff8c11c360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:311
#4: ffffffff8c11c360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:311
#5: ffff88801e4ea028 (&client->buffer_lock){..-.}-{2:2}, at: spin_lock include/linux/spinlock.h:363 [inline]
#5: ffff88801e4ea028 (&client->buffer_lock){..-.}-{2:2}, at: evdev_pass_values+0xcb/0xab0 drivers/input/evdev.c:261
#6: ffffffff8c11c360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:311
the dependencies between SOFTIRQ-irq-safe lock and the holding lock:
-> (&client->buffer_lock){..-.}-{2:2} {
IN-SOFTIRQ-W at:
lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623
__raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:363 [inline]
evdev_pass_values+0xcb/0xab0 drivers/input/evdev.c:261
evdev_events+0x1c0/0x2f0 drivers/input/evdev.c:306
input_to_handler drivers/input/input.c:126 [inline]
input_pass_values+0x880/0x1220 drivers/input/input.c:156
input_handle_event+0xbe0/0x1490 drivers/input/input.c:426
input_event+0x88/0xb0 drivers/input/input.c:457
hidinput_hid_event+0x118c/0x1900 drivers/hid/hid-input.c:1467
hid_process_event+0x4b7/0x620 drivers/hid/hid-core.c:1540
hid_input_field drivers/hid/hid-core.c:1584 [inline]
hid_report_raw_event+0xdde/0x1640 drivers/hid/hid-core.c:1808
hid_input_report+0x424/0x4e0 drivers/hid/hid-core.c:1875
hid_irq_in+0x435/0x690 drivers/hid/usbhid/hid-core.c:284
__usb_hcd_giveback_urb+0x35f/0x520 drivers/usb/core/hcd.c:1674
dummy_timer+0x827/0x2e10 drivers/usb/gadget/udc/dummy_hcd.c:1987
call_timer_fn+0x16c/0x530 kernel/time/timer.c:1451
expire_timers kernel/time/timer.c:1496 [inline]
__run_timers+0x525/0x7c0 kernel/time/timer.c:1767
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1780
handle_softirqs+0x328/0x820 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
unwind_next_frame+0x703/0x1d90 arch/x86/kernel/unwind_orc.c:-1
__unwind_start+0x5bb/0x740 arch/x86/kernel/unwind_orc.c:704
unwind_start arch/x86/include/asm/unwind.h:60 [inline]
arch_stack_walk+0xda/0x140 arch/x86/kernel/stacktrace.c:24
stack_trace_save+0x98/0xe0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:38 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:46
kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360
____kasan_slab_free+0xd5/0x110 mm/kasan/common.c:366
kasan_slab_free include/linux/kasan.h:230 [inline]
slab_free_hook mm/slub.c:1705 [inline]
slab_free_freelist_hook+0xea/0x170 mm/slub.c:1731
slab_free mm/slub.c:3499 [inline]
kmem_cache_free+0x8f/0x210 mm/slub.c:3515
file_free fs/file_table.c:55 [inline]
__fput+0x627/0x930 fs/file_table.c:324
task_work_run+0x125/0x1a0 kernel/task_work.c:188
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214
__syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x66/0xd0
INITIAL USE at:
lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623
__raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:363 [inline]
evdev_pass_values+0xcb/0xab0 drivers/input/evdev.c:261
evdev_events+0x1c0/0x2f0 drivers/input/evdev.c:306
input_to_handler drivers/input/input.c:126 [inline]
input_pass_values+0x880/0x1220 drivers/input/input.c:156
input_handle_event+0xb3f/0x1490 drivers/input/input.c:415
input_inject_event+0x1b9/0x2c0 drivers/input/input.c:487
evdev_write+0x326/0x470 drivers/input/evdev.c:530
vfs_write+0x300/0xd00 fs/read_write.c:592
ksys_write+0x14d/0x250 fs/read_write.c:647
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
}
... key at: [<ffffffff96420cc0>] evdev_open.__key.22+0x0/0x20
the dependencies between the lock to be acquired
and SOFTIRQ-irq-unsafe lock:
-> (tasklist_lock){.+.+}-{2:2} {
HARDIRQ-ON-R at:
lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623
__raw_read_lock include/linux/rwlock_api_smp.h:149 [inline]
_raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
do_wait+0x293/0xac0 kernel/exit.c:1579
kernel_wait+0xa8/0x160 kernel/exit.c:1769
call_usermodehelper_exec_sync kernel/umh.c:139 [inline]
call_usermodehelper_exec_work+0xb5/0x220 kernel/umh.c:166
process_one_work+0x863/0x1000 kernel/workqueue.c:2310
worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457
kthread+0x436/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
SOFTIRQ-ON-R at:
lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623
__raw_read_lock include/linux/rwlock_api_smp.h:149 [inline]
_raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
do_wait+0x293/0xac0 kernel/exit.c:1579
kernel_wait+0xa8/0x160 kernel/exit.c:1769
call_usermodehelper_exec_sync kernel/umh.c:139 [inline]
call_usermodehelper_exec_work+0xb5/0x220 kernel/umh.c:166
process_one_work+0x863/0x1000 kernel/workqueue.c:2310
worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457
kthread+0x436/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
INITIAL USE at:
lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623
__raw_write_lock_irq include/linux/rwlock_api_smp.h:196 [inline]
_raw_write_lock_irq+0x9f/0xe0 kernel/locking/spinlock.c:316
copy_process+0x234a/0x3e00 kernel/fork.c:2412
kernel_clone+0x219/0x930 kernel/fork.c:2679
kernel_thread+0xc8/0x120 kernel/fork.c:2731
rest_init+0x21/0x330 init/main.c:706
start_kernel+0x486/0x530 init/main.c:1140
secondary_startup_64_no_verify+0xb1/0xbb
INITIAL READ USE at:
lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623
__raw_read_lock include/linux/rwlock_api_smp.h:149 [inline]
_raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
do_wait+0x293/0xac0 kernel/exit.c:1579
kernel_wait+0xa8/0x160 kernel/exit.c:1769
call_usermodehelper_exec_sync kernel/umh.c:139 [inline]
call_usermodehelper_exec_work+0xb5/0x220 kernel/umh.c:166
process_one_work+0x863/0x1000 kernel/workqueue.c:2310
worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457
kthread+0x436/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
}
... key at: [<ffffffff8be0a058>] tasklist_lock+0x18/0x40
... acquired at:
__raw_read_lock include/linux/rwlock_api_smp.h:149 [inline]
_raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
send_sigurg+0xcb/0x390 fs/fcntl.c:845
sk_send_sigurg+0x6b/0xc0 net/core/sock.c:3129
queue_oob+0x620/0x800 net/unix/af_unix.c:2016
unix_stream_sendmsg+0xb5d/0xc80 net/unix/af_unix.c:2116
sock_sendmsg_nosec net/socket.c:704 [inline]
__sock_sendmsg net/socket.c:716 [inline]
____sys_sendmsg+0x5a2/0x8c0 net/socket.c:2436
___sys_sendmsg+0x1f0/0x260 net/socket.c:2490
__sys_sendmmsg+0x27c/0x4a0 net/socket.c:2576
__do_sys_sendmmsg net/socket.c:2605 [inline]
__se_sys_sendmmsg net/socket.c:2602 [inline]
__x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2602
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
-> (&f->f_owner.lock){....}-{2:2} {
INITIAL USE at:
lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623
__raw_write_lock_irq include/linux/rwlock_api_smp.h:196 [inline]
_raw_write_lock_irq+0x9f/0xe0 kernel/locking/spinlock.c:316
__f_setown+0x37/0x330 fs/fcntl.c:91
f_setown_ex fs/fcntl.c:194 [inline]
do_fcntl+0x103c/0x12d0 fs/fcntl.c:393
__do_sys_fcntl fs/fcntl.c:466 [inline]
__se_sys_fcntl+0xcc/0x190 fs/fcntl.c:451
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
INITIAL READ USE at:
lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623
__raw_read_lock_irqsave include/linux/rwlock_api_smp.h:159 [inline]
_raw_read_lock_irqsave+0xac/0xf0 kernel/locking/spinlock.c:236
send_sigio+0x2f/0x330 fs/fcntl.c:790
dnotify_handle_event+0x14f/0x420 fs/notify/dnotify/dnotify.c:97
fsnotify_handle_inode_event fs/notify/fsnotify.c:275 [inline]
fsnotify_handle_event fs/notify/fsnotify.c:304 [inline]
send_to_group fs/notify/fsnotify.c:378 [inline]
fsnotify+0x1647/0x1ca0 fs/notify/fsnotify.c:584
__fsnotify_parent+0x5ae/0x6e0 fs/notify/fsnotify.c:241
fsnotify_parent include/linux/fsnotify.h:77 [inline]
fsnotify_file include/linux/fsnotify.h:105 [inline]
fsnotify_access include/linux/fsnotify.h:315 [inline]
__kernel_read+0x78d/0x910 fs/read_write.c:447
prepare_binprm fs/exec.c:1672 [inline]
search_binary_handler fs/exec.c:1726 [inline]
exec_binprm fs/exec.c:1783 [inline]
bprm_execve+0x9d7/0x17d0 fs/exec.c:1852
do_execveat_common+0x51e/0x6d0 fs/exec.c:1957
do_execveat fs/exec.c:2038 [inline]
__do_sys_execveat fs/exec.c:2112 [inline]
__se_sys_execveat fs/exec.c:2106 [inline]
__x64_sys_execveat+0xc0/0xe0 fs/exec.c:2106
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
}
... key at: [<ffffffff96124a80>] __alloc_file.__key+0x0/0x10
... acquired at:
__raw_read_lock_irqsave include/linux/rwlock_api_smp.h:159 [inline]
_raw_read_lock_irqsave+0xac/0xf0 kernel/locking/spinlock.c:236
send_sigio+0x2f/0x330 fs/fcntl.c:790
kill_fasync_rcu fs/fcntl.c:1015 [inline]
kill_fasync+0x20a/0x490 fs/fcntl.c:1029
lease_break_callback+0x22/0x30 fs/locks.c:613
__break_lease+0x4a3/0x12b0 fs/locks.c:1615
break_lease include/linux/fs.h:2650 [inline]
do_dentry_open+0x771/0xf80 fs/open.c:817
do_open fs/namei.c:3608 [inline]
path_openat+0x2682/0x2f30 fs/namei.c:3742
do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
do_open_execat+0x123/0x740 fs/exec.c:918
bprm_execve+0x511/0x17d0 fs/exec.c:1827
do_execveat_common+0x51e/0x6d0 fs/exec.c:1957
do_execve fs/exec.c:2027 [inline]
__do_sys_execve fs/exec.c:2103 [inline]
__se_sys_execve fs/exec.c:2098 [inline]
__x64_sys_execve+0x8e/0xa0 fs/exec.c:2098
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
-> (&new->fa_lock){....}-{2:2} {
INITIAL USE at:
lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623
__raw_write_lock_irq include/linux/rwlock_api_smp.h:196 [inline]
_raw_write_lock_irq+0x9f/0xe0 kernel/locking/spinlock.c:316
fasync_remove_entry+0xf0/0x1c0 fs/fcntl.c:885
lease_modify+0x1a2/0x390 fs/locks.c:1480
locks_remove_lease fs/locks.c:2711 [inline]
locks_remove_file+0x492/0xdf0 fs/locks.c:2736
__fput+0x18d/0x930 fs/file_table.c:303
task_work_run+0x125/0x1a0 kernel/task_work.c:188
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214
__syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307
do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x66/0xd0
INITIAL READ USE at:
lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623
__raw_read_lock_irqsave include/linux/rwlock_api_smp.h:159 [inline]
_raw_read_lock_irqsave+0xac/0xf0 kernel/locking/spinlock.c:236
kill_fasync_rcu fs/fcntl.c:1008 [inline]
kill_fasync+0x16d/0x490 fs/fcntl.c:1029
lease_break_callback+0x22/0x30 fs/locks.c:613
__break_lease+0x4a3/0x12b0 fs/locks.c:1615
break_lease include/linux/fs.h:2650 [inline]
do_dentry_open+0x771/0xf80 fs/open.c:817
do_open fs/namei.c:3608 [inline]
path_openat+0x2682/0x2f30 fs/namei.c:3742
do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
do_open_execat+0x123/0x740 fs/exec.c:918
bprm_execve+0x511/0x17d0 fs/exec.c:1827
do_execveat_common+0x51e/0x6d0 fs/exec.c:1957
do_execve fs/exec.c:2027 [inline]
__do_sys_execve fs/exec.c:2103 [inline]
__se_sys_execve fs/exec.c:2098 [inline]
__x64_sys_execve+0x8e/0xa0 fs/exec.c:2098
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
}
... key at: [<ffffffff96125700>] fasync_insert_entry.__key+0x0/0x20
... acquired at:
__raw_read_lock_irqsave include/linux/rwlock_api_smp.h:159 [inline]
_raw_read_lock_irqsave+0xac/0xf0 kernel/locking/spinlock.c:236
kill_fasync_rcu fs/fcntl.c:1008 [inline]
kill_fasync+0x16d/0x490 fs/fcntl.c:1029
__pass_event drivers/input/evdev.c:240 [inline]
evdev_pass_values+0x54b/0xab0 drivers/input/evdev.c:278
evdev_events+0x1c0/0x2f0 drivers/input/evdev.c:306
input_to_handler drivers/input/input.c:126 [inline]
input_pass_values+0x880/0x1220 drivers/input/input.c:156
input_handle_event+0xb3f/0x1490 drivers/input/input.c:415
input_inject_event+0x1b9/0x2c0 drivers/input/input.c:487
evdev_write+0x326/0x470 drivers/input/evdev.c:530
vfs_write+0x300/0xd00 fs/read_write.c:592
ksys_write+0x14d/0x250 fs/read_write.c:647
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
stack backtrace:
CPU: 0 PID: 10604 Comm: syz.8.1153 Not tainted 5.15.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
<TASK>
dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
print_bad_irq_dependency kernel/locking/lockdep.c:2567 [inline]
check_irq_usage kernel/locking/lockdep.c:2806 [inline]
check_prev_add kernel/locking/lockdep.c:3057 [inline]
check_prevs_add kernel/locking/lockdep.c:3172 [inline]
validate_chain kernel/locking/lockdep.c:3788 [inline]
__lock_acquire+0x65dd/0x7c60 kernel/locking/lockdep.c:5012
lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623
__raw_read_lock_irqsave include/linux/rwlock_api_smp.h:159 [inline]
_raw_read_lock_irqsave+0xac/0xf0 kernel/locking/spinlock.c:236
kill_fasync_rcu fs/fcntl.c:1008 [inline]
kill_fasync+0x16d/0x490 fs/fcntl.c:1029
__pass_event drivers/input/evdev.c:240 [inline]
evdev_pass_values+0x54b/0xab0 drivers/input/evdev.c:278
evdev_events+0x1c0/0x2f0 drivers/input/evdev.c:306
input_to_handler drivers/input/input.c:126 [inline]
input_pass_values+0x880/0x1220 drivers/input/input.c:156
input_handle_event+0xb3f/0x1490 drivers/input/input.c:415
input_inject_event+0x1b9/0x2c0 drivers/input/input.c:487
evdev_write+0x326/0x470 drivers/input/evdev.c:530
vfs_write+0x300/0xd00 fs/read_write.c:592
ksys_write+0x14d/0x250 fs/read_write.c:647
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fbbd4234be9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fbbd249c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fbbd445bfa0 RCX: 00007fbbd4234be9
RDX: 000000000000ff0f RSI: 0000200000000040 RDI: 0000000000000004
RBP: 00007fbbd42b7e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fbbd445c038 R14: 00007fbbd445bfa0 R15: 00007fffaae939d8
</TASK>