===================================================== WARNING: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected syzkaller #0 Tainted: G L ----------------------------------------------------- syz.6.6745/30079 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire: ffff88807823e360 (&new->fa_lock){...-}-{3:3}, at: kill_fasync_rcu fs/fcntl.c:1135 [inline] ffff88807823e360 (&new->fa_lock){...-}-{3:3}, at: kill_fasync+0x199/0x4d0 fs/fcntl.c:1159 and this task is already holding: ffff88808d6e7028 (&client->buffer_lock){....}-{3:3}, at: spin_lock include/linux/spinlock.h:342 [inline] ffff88808d6e7028 (&client->buffer_lock){....}-{3:3}, at: evdev_pass_values+0xb9/0xbd0 drivers/input/evdev.c:261 which would create a new lock dependency: (&client->buffer_lock){....}-{3:3} -> (&new->fa_lock){...-}-{3:3} but this new dependency connects a SOFTIRQ-irq-safe lock: (&dev->event_lock#2){..-.}-{3:3} ... which became SOFTIRQ-irq-safe at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:132 [inline] _raw_spin_lock_irqsave+0x40/0x60 kernel/locking/spinlock.c:166 class_spinlock_irqsave_constructor include/linux/spinlock.h:619 [inline] input_inject_event+0xa4/0x330 drivers/input/input.c:419 kd_sound_helper+0x19f/0x210 drivers/tty/vt/keyboard.c:261 input_handler_for_each_handle+0x101/0x1c0 drivers/input/input.c:2520 call_timer_fn+0x192/0x5e0 kernel/time/timer.c:1748 expire_timers kernel/time/timer.c:1799 [inline] __run_timers kernel/time/timer.c:2374 [inline] __run_timer_base+0x652/0x8b0 kernel/time/timer.c:2386 run_timer_base kernel/time/timer.c:2395 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2405 handle_softirqs+0x22a/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1061 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1061 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 lock_is_held_type+0x106/0x150 kernel/locking/lockdep.c:5945 lock_is_held include/linux/lockdep.h:249 [inline] schedule_debug kernel/sched/core.c:5966 [inline] __schedule+0x20a/0x5680 kernel/sched/core.c:7038 __schedule_loop kernel/sched/core.c:7267 [inline] schedule+0x164/0x360 kernel/sched/core.c:7282 schedule_hrtimeout_range_clock+0x1f2/0x330 kernel/time/sleep_timeout.c:207 poll_schedule_timeout+0xd0/0x1a0 fs/select.c:241 do_select+0xc68/0x1800 fs/select.c:603 core_sys_select+0x896/0xc30 fs/select.c:677 do_pselect fs/select.c:759 [inline] __do_sys_pselect6 fs/select.c:798 [inline] __se_sys_pselect6+0x267/0x320 fs/select.c:789 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f to a SOFTIRQ-irq-unsafe lock: (tasklist_lock){.+.+}-{3:3} ... which became SOFTIRQ-irq-unsafe at: ... lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_read_lock include/linux/rwlock_api_smp.h:163 [inline] _raw_read_lock+0x36/0x50 kernel/locking/spinlock.c:232 __do_wait+0xde/0x740 kernel/exit.c:1677 do_wait+0x1e7/0x510 kernel/exit.c:1721 kernel_wait+0xd6/0x1c0 kernel/exit.c:1897 call_usermodehelper_exec_sync kernel/umh.c:136 [inline] call_usermodehelper_exec_work+0xbe/0x230 kernel/umh.c:163 process_one_work kernel/workqueue.c:3302 [inline] process_scheduled_works+0xb5d/0x1860 kernel/workqueue.c:3385 worker_thread+0xa53/0xfc0 kernel/workqueue.c:3466 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 other info that might help us debug this: Chain exists of: &dev->event_lock#2 --> &client->buffer_lock --> tasklist_lock Possible interrupt unsafe locking scenario: CPU0 CPU1 ---- ---- lock(tasklist_lock); local_irq_disable(); lock(&dev->event_lock#2); lock(&client->buffer_lock); lock(&dev->event_lock#2); *** DEADLOCK *** 7 locks held by syz.6.6745/30079: #0: ffff88802be1a110 (&evdev->mutex){+.+.}-{4:4}, at: evdev_write+0x1ae/0x4c0 drivers/input/evdev.c:511 #1: ffff88801fb0b230 (&dev->event_lock#2){..-.}-{3:3}, at: class_spinlock_irqsave_constructor include/linux/spinlock.h:619 [inline] #1: ffff88801fb0b230 (&dev->event_lock#2){..-.}-{3:3}, at: input_inject_event+0xa4/0x330 drivers/input/input.c:419 #2: ffffffff8e95cce0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #2: ffffffff8e95cce0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #2: ffffffff8e95cce0 (rcu_read_lock){....}-{1:3}, at: class_rcu_constructor include/linux/rcupdate.h:1181 [inline] #2: ffffffff8e95cce0 (rcu_read_lock){....}-{1:3}, at: input_inject_event+0xb5/0x330 drivers/input/input.c:420 #3: ffffffff8e95cce0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #3: ffffffff8e95cce0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #3: ffffffff8e95cce0 (rcu_read_lock){....}-{1:3}, at: class_rcu_constructor include/linux/rcupdate.h:1181 [inline] #3: ffffffff8e95cce0 (rcu_read_lock){....}-{1:3}, at: input_pass_values+0x8d/0x890 drivers/input/input.c:119 #4: ffffffff8e95cce0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #4: ffffffff8e95cce0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #4: ffffffff8e95cce0 (rcu_read_lock){....}-{1:3}, at: evdev_events+0x79/0x340 drivers/input/evdev.c:298 #5: ffff88808d6e7028 (&client->buffer_lock){....}-{3:3}, at: spin_lock include/linux/spinlock.h:342 [inline] #5: ffff88808d6e7028 (&client->buffer_lock){....}-{3:3}, at: evdev_pass_values+0xb9/0xbd0 drivers/input/evdev.c:261 #6: ffffffff8e95cce0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #6: ffffffff8e95cce0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #6: ffffffff8e95cce0 (rcu_read_lock){....}-{1:3}, at: kill_fasync+0x53/0x4d0 fs/fcntl.c:1158 the dependencies between SOFTIRQ-irq-safe lock and the holding lock: -> (&dev->event_lock#2){..-.}-{3:3} { IN-SOFTIRQ-W at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:132 [inline] _raw_spin_lock_irqsave+0x40/0x60 kernel/locking/spinlock.c:166 class_spinlock_irqsave_constructor include/linux/spinlock.h:619 [inline] input_inject_event+0xa4/0x330 drivers/input/input.c:419 kd_sound_helper+0x19f/0x210 drivers/tty/vt/keyboard.c:261 input_handler_for_each_handle+0x101/0x1c0 drivers/input/input.c:2520 call_timer_fn+0x192/0x5e0 kernel/time/timer.c:1748 expire_timers kernel/time/timer.c:1799 [inline] __run_timers kernel/time/timer.c:2374 [inline] __run_timer_base+0x652/0x8b0 kernel/time/timer.c:2386 run_timer_base kernel/time/timer.c:2395 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2405 handle_softirqs+0x22a/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1061 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1061 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 lock_is_held_type+0x106/0x150 kernel/locking/lockdep.c:5945 lock_is_held include/linux/lockdep.h:249 [inline] schedule_debug kernel/sched/core.c:5966 [inline] __schedule+0x20a/0x5680 kernel/sched/core.c:7038 __schedule_loop kernel/sched/core.c:7267 [inline] schedule+0x164/0x360 kernel/sched/core.c:7282 schedule_hrtimeout_range_clock+0x1f2/0x330 kernel/time/sleep_timeout.c:207 poll_schedule_timeout+0xd0/0x1a0 fs/select.c:241 do_select+0xc68/0x1800 fs/select.c:603 core_sys_select+0x896/0xc30 fs/select.c:677 do_pselect fs/select.c:759 [inline] __do_sys_pselect6 fs/select.c:798 [inline] __se_sys_pselect6+0x267/0x320 fs/select.c:789 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f INITIAL USE at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:132 [inline] _raw_spin_lock_irqsave+0x40/0x60 kernel/locking/spinlock.c:166 class_spinlock_irqsave_constructor include/linux/spinlock.h:619 [inline] input_inject_event+0xa4/0x330 drivers/input/input.c:419 kbd_led_trigger_activate+0xbc/0x100 drivers/tty/vt/keyboard.c:1021 led_trigger_set+0x535/0x960 drivers/leds/led-triggers.c:220 led_match_default_trigger drivers/leds/led-triggers.c:277 [inline] led_trigger_set_default+0x260/0x2a0 drivers/leds/led-triggers.c:300 led_classdev_register_ext+0x787/0x9c0 drivers/leds/led-class.c:578 led_classdev_register include/linux/leds.h:274 [inline] input_leds_connect+0x517/0x790 drivers/input/input-leds.c:145 input_attach_handler drivers/input/input.c:994 [inline] input_register_device+0xce0/0x1140 drivers/input/input.c:2378 atkbd_connect+0x71e/0xa10 drivers/input/keyboard/atkbd.c:1340 serio_connect_driver drivers/input/serio/serio.c:44 [inline] serio_driver_probe+0x82/0xb0 drivers/input/serio/serio.c:748 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x267/0xaf0 drivers/base/dd.c:709 __driver_probe_device+0x18c/0x320 drivers/base/dd.c:851 driver_probe_device+0x4f/0x240 drivers/base/dd.c:881 __driver_attach+0x34c/0x640 drivers/base/dd.c:1275 bus_for_each_dev+0x23b/0x2c0 drivers/base/bus.c:383 serio_attach_driver drivers/input/serio/serio.c:777 [inline] serio_handle_event+0x1af/0xf80 drivers/input/serio/serio.c:214 process_one_work kernel/workqueue.c:3302 [inline] process_scheduled_works+0xb5d/0x1860 kernel/workqueue.c:3385 worker_thread+0xa53/0xfc0 kernel/workqueue.c:3466 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 } ... key at: [] input_allocate_device.__key.7+0x0/0x20 -> (&client->buffer_lock){....}-{3:3} { INITIAL USE at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:132 [inline] _raw_spin_lock_irqsave+0x40/0x60 kernel/locking/spinlock.c:166 evdev_set_mask drivers/input/evdev.c:978 [inline] evdev_do_ioctl drivers/input/evdev.c:1115 [inline] evdev_ioctl_handler+0x1a49/0x1fe0 drivers/input/evdev.c:1270 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f } ... key at: [] evdev_open.__key.27+0x0/0x20 ... acquired at: __raw_spin_lock include/linux/spinlock_api_smp.h:158 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:158 spin_lock include/linux/spinlock.h:342 [inline] evdev_pass_values+0xb9/0xbd0 drivers/input/evdev.c:261 evdev_events+0x1e6/0x340 drivers/input/evdev.c:306 input_pass_values+0x288/0x890 drivers/input/input.c:128 input_event_dispose+0x330/0x6b0 drivers/input/input.c:342 input_inject_event+0x1dc/0x330 drivers/input/input.c:424 evdev_write+0x325/0x4c0 drivers/input/evdev.c:528 vfs_write+0x29a/0xb90 fs/read_write.c:686 ksys_write+0x150/0x270 fs/read_write.c:740 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f the dependencies between the lock to be acquired and SOFTIRQ-irq-unsafe lock: -> (tasklist_lock){.+.+}-{3:3} { HARDIRQ-ON-R at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_read_lock include/linux/rwlock_api_smp.h:163 [inline] _raw_read_lock+0x36/0x50 kernel/locking/spinlock.c:232 __do_wait+0xde/0x740 kernel/exit.c:1677 do_wait+0x1e7/0x510 kernel/exit.c:1721 kernel_wait+0xd6/0x1c0 kernel/exit.c:1897 call_usermodehelper_exec_sync kernel/umh.c:136 [inline] call_usermodehelper_exec_work+0xbe/0x230 kernel/umh.c:163 process_one_work kernel/workqueue.c:3302 [inline] process_scheduled_works+0xb5d/0x1860 kernel/workqueue.c:3385 worker_thread+0xa53/0xfc0 kernel/workqueue.c:3466 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 SOFTIRQ-ON-R at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_read_lock include/linux/rwlock_api_smp.h:163 [inline] _raw_read_lock+0x36/0x50 kernel/locking/spinlock.c:232 __do_wait+0xde/0x740 kernel/exit.c:1677 do_wait+0x1e7/0x510 kernel/exit.c:1721 kernel_wait+0xd6/0x1c0 kernel/exit.c:1897 call_usermodehelper_exec_sync kernel/umh.c:136 [inline] call_usermodehelper_exec_work+0xbe/0x230 kernel/umh.c:163 process_one_work kernel/workqueue.c:3302 [inline] process_scheduled_works+0xb5d/0x1860 kernel/workqueue.c:3385 worker_thread+0xa53/0xfc0 kernel/workqueue.c:3466 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 INITIAL USE at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_write_lock_irq include/linux/rwlock_api_smp.h:213 [inline] _raw_write_lock_irq+0x3d/0x50 kernel/locking/spinlock.c:330 copy_process+0x2b5e/0x4450 kernel/fork.c:2413 kernel_clone+0x284/0x8f0 kernel/fork.c:2723 user_mode_thread+0x110/0x180 kernel/fork.c:2799 rest_init+0x23/0x300 init/main.c:727 start_kernel+0x38a/0x3e0 init/main.c:1220 x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:310 x86_64_start_kernel+0x143/0x1c0 arch/x86/kernel/head64.c:291 common_startup_64+0x13e/0x147 INITIAL READ USE at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_read_lock include/linux/rwlock_api_smp.h:163 [inline] _raw_read_lock+0x36/0x50 kernel/locking/spinlock.c:232 __do_wait+0xde/0x740 kernel/exit.c:1677 do_wait+0x1e7/0x510 kernel/exit.c:1721 kernel_wait+0xd6/0x1c0 kernel/exit.c:1897 call_usermodehelper_exec_sync kernel/umh.c:136 [inline] call_usermodehelper_exec_work+0xbe/0x230 kernel/umh.c:163 process_one_work kernel/workqueue.c:3302 [inline] process_scheduled_works+0xb5d/0x1860 kernel/workqueue.c:3385 worker_thread+0xa53/0xfc0 kernel/workqueue.c:3466 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 } ... key at: [] tasklist_lock+0x18/0x40 ... acquired at: __raw_read_lock include/linux/rwlock_api_smp.h:163 [inline] _raw_read_lock+0x36/0x50 kernel/locking/spinlock.c:232 send_sigio+0x101/0x370 fs/fcntl.c:932 dnotify_handle_event+0x169/0x440 fs/notify/dnotify/dnotify.c:113 fsnotify_handle_event fs/notify/fsnotify.c:327 [inline] send_to_group fs/notify/fsnotify.c:375 [inline] fsnotify+0x1831/0x1ae0 fs/notify/fsnotify.c:592 fsnotify_name include/linux/fsnotify.h:55 [inline] fsnotify_move+0x1d7/0x5b0 include/linux/fsnotify.h:271 vfs_rename+0xcdd/0xeb0 fs/namei.c:6080 filename_renameat2+0x539/0x9c0 fs/namei.c:6172 __do_sys_renameat2 fs/namei.c:6201 [inline] __se_sys_renameat2+0x5a/0x2c0 fs/namei.c:6196 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f -> (&f_owner->lock){....}-{3:3} { INITIAL USE at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_write_lock_irq include/linux/rwlock_api_smp.h:213 [inline] _raw_write_lock_irq+0x3d/0x50 kernel/locking/spinlock.c:330 __f_setown+0x67/0x370 fs/fcntl.c:136 fcntl_dirnotify+0x3f9/0x6a0 fs/notify/dnotify/dnotify.c:369 do_fcntl+0x77e/0x1a20 fs/fcntl.c:538 __do_sys_fcntl fs/fcntl.c:602 [inline] __se_sys_fcntl+0xc8/0x150 fs/fcntl.c:587 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f INITIAL READ USE at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:174 [inline] _raw_read_lock_irqsave+0x48/0x60 kernel/locking/spinlock.c:240 send_sigio+0x38/0x370 fs/fcntl.c:918 kill_fasync_rcu fs/fcntl.c:1144 [inline] kill_fasync+0x24d/0x4d0 fs/fcntl.c:1159 lease_break_callback+0x26/0x30 fs/locks.c:577 __break_lease+0x81c/0x1e00 fs/locks.c:1657 break_deleg include/linux/filelock.h:504 [inline] try_break_deleg include/linux/filelock.h:523 [inline] __vfs_removexattr_locked+0x1dc/0x280 fs/xattr.c:567 vfs_removexattr+0x7f/0x230 fs/xattr.c:593 removexattr fs/xattr.c:1028 [inline] file_removexattr fs/xattr.c:1037 [inline] path_removexattrat+0x4a6/0x750 fs/xattr.c:1086 __do_sys_fremovexattr fs/xattr.c:1112 [inline] __se_sys_fremovexattr fs/xattr.c:1110 [inline] __x64_sys_fremovexattr+0x62/0x70 fs/xattr.c:1110 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f } ... key at: [] file_f_owner_allocate.__key+0x0/0x20 ... acquired at: __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:174 [inline] _raw_read_lock_irqsave+0x48/0x60 kernel/locking/spinlock.c:240 send_sigio+0x38/0x370 fs/fcntl.c:918 kill_fasync_rcu fs/fcntl.c:1144 [inline] kill_fasync+0x24d/0x4d0 fs/fcntl.c:1159 lease_break_callback+0x26/0x30 fs/locks.c:577 __break_lease+0x81c/0x1e00 fs/locks.c:1657 break_deleg include/linux/filelock.h:504 [inline] try_break_deleg include/linux/filelock.h:523 [inline] __vfs_removexattr_locked+0x1dc/0x280 fs/xattr.c:567 vfs_removexattr+0x7f/0x230 fs/xattr.c:593 removexattr fs/xattr.c:1028 [inline] file_removexattr fs/xattr.c:1037 [inline] path_removexattrat+0x4a6/0x750 fs/xattr.c:1086 __do_sys_fremovexattr fs/xattr.c:1112 [inline] __se_sys_fremovexattr fs/xattr.c:1110 [inline] __x64_sys_fremovexattr+0x62/0x70 fs/xattr.c:1110 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f -> (&new->fa_lock){...-}-{3:3} { IN-SOFTIRQ-R at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:174 [inline] _raw_read_lock_irqsave+0x48/0x60 kernel/locking/spinlock.c:240 kill_fasync_rcu fs/fcntl.c:1135 [inline] kill_fasync+0x199/0x4d0 fs/fcntl.c:1159 sock_wake_async+0x137/0x160 net/socket.c:-1 sk_wake_async_rcu include/net/sock.h:2593 [inline] sock_def_readable+0x3c1/0x550 net/core/sock.c:3616 packet_rcv+0x11e4/0x1730 net/packet/af_packet.c:2210 __netif_receive_skb_core+0xb5b/0x3170 net/core/dev.c:6093 __netif_receive_skb_one_core net/core/dev.c:6207 [inline] __netif_receive_skb net/core/dev.c:6322 [inline] process_backlog+0x76d/0x1950 net/core/dev.c:6673 __napi_poll+0xae/0x340 net/core/dev.c:7737 napi_poll net/core/dev.c:7800 [inline] net_rx_action+0x627/0xf70 net/core/dev.c:7957 handle_softirqs+0x22a/0x840 kernel/softirq.c:622 do_softirq+0x76/0xd0 kernel/softirq.c:523 __local_bh_enable_ip+0xf8/0x130 kernel/softirq.c:450 wg_socket_send_skb_to_peer+0x16b/0x1d0 drivers/net/wireguard/socket.c:183 wg_packet_send_handshake_initiation drivers/net/wireguard/send.c:40 [inline] wg_packet_handshake_send_worker+0x203/0x350 drivers/net/wireguard/send.c:51 process_one_work kernel/workqueue.c:3302 [inline] process_scheduled_works+0xb5d/0x1860 kernel/workqueue.c:3385 worker_thread+0xa53/0xfc0 kernel/workqueue.c:3466 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 INITIAL USE at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_write_lock_irq include/linux/rwlock_api_smp.h:213 [inline] _raw_write_lock_irq+0x3d/0x50 kernel/locking/spinlock.c:330 fasync_remove_entry+0xf1/0x1c0 fs/fcntl.c:1012 __tty_fasync drivers/tty/tty_io.c:2219 [inline] tty_fasync+0x13c/0x350 drivers/tty/tty_io.c:2252 __fput+0x890/0xa60 fs/file_table.c:507 task_work_run+0x1d9/0x270 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:67 [inline] exit_to_user_mode_loop+0xed/0x480 kernel/entry/common.c:98 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:238 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:328 [inline] do_syscall_64+0x33e/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f INITIAL READ USE at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:174 [inline] _raw_read_lock_irqsave+0x48/0x60 kernel/locking/spinlock.c:240 kill_fasync_rcu fs/fcntl.c:1135 [inline] kill_fasync+0x199/0x4d0 fs/fcntl.c:1159 lease_break_callback+0x26/0x30 fs/locks.c:577 __break_lease+0x81c/0x1e00 fs/locks.c:1657 break_deleg include/linux/filelock.h:504 [inline] try_break_deleg include/linux/filelock.h:523 [inline] __vfs_removexattr_locked+0x1dc/0x280 fs/xattr.c:567 vfs_removexattr+0x7f/0x230 fs/xattr.c:593 removexattr fs/xattr.c:1028 [inline] file_removexattr fs/xattr.c:1037 [inline] path_removexattrat+0x4a6/0x750 fs/xattr.c:1086 __do_sys_fremovexattr fs/xattr.c:1112 [inline] __se_sys_fremovexattr fs/xattr.c:1110 [inline] __x64_sys_fremovexattr+0x62/0x70 fs/xattr.c:1110 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f } ... key at: [] fasync_insert_entry.__key+0x0/0x20 ... acquired at: __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:174 [inline] _raw_read_lock_irqsave+0x48/0x60 kernel/locking/spinlock.c:240 kill_fasync_rcu fs/fcntl.c:1135 [inline] kill_fasync+0x199/0x4d0 fs/fcntl.c:1159 __pass_event drivers/input/evdev.c:240 [inline] evdev_pass_values+0x627/0xbd0 drivers/input/evdev.c:278 evdev_events+0x1e6/0x340 drivers/input/evdev.c:306 input_pass_values+0x288/0x890 drivers/input/input.c:128 input_event_dispose+0x330/0x6b0 drivers/input/input.c:342 input_inject_event+0x1dc/0x330 drivers/input/input.c:424 evdev_write+0x325/0x4c0 drivers/input/evdev.c:528 vfs_write+0x29a/0xb90 fs/read_write.c:686 ksys_write+0x150/0x270 fs/read_write.c:740 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f stack backtrace: CPU: 1 UID: 0 PID: 30079 Comm: syz.6.6745 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_bad_irq_dependency kernel/locking/lockdep.c:2616 [inline] check_irq_usage kernel/locking/lockdep.c:2857 [inline] check_prev_add kernel/locking/lockdep.c:3169 [inline] check_prevs_add kernel/locking/lockdep.c:3284 [inline] validate_chain kernel/locking/lockdep.c:3908 [inline] __lock_acquire+0x2a94/0x2cf0 kernel/locking/lockdep.c:5237 lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:174 [inline] _raw_read_lock_irqsave+0x48/0x60 kernel/locking/spinlock.c:240 kill_fasync_rcu fs/fcntl.c:1135 [inline] kill_fasync+0x199/0x4d0 fs/fcntl.c:1159 __pass_event drivers/input/evdev.c:240 [inline] evdev_pass_values+0x627/0xbd0 drivers/input/evdev.c:278 evdev_events+0x1e6/0x340 drivers/input/evdev.c:306 input_pass_values+0x288/0x890 drivers/input/input.c:128 input_event_dispose+0x330/0x6b0 drivers/input/input.c:342 input_inject_event+0x1dc/0x330 drivers/input/input.c:424 evdev_write+0x325/0x4c0 drivers/input/evdev.c:528 vfs_write+0x29a/0xb90 fs/read_write.c:686 ksys_write+0x150/0x270 fs/read_write.c:740 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5eccd9c819 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5ecdc7e028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f5ecd016090 RCX: 00007f5eccd9c819 RDX: 0000000000000037 RSI: 0000200000000040 RDI: 0000000000000006 RBP: 00007f5ecce32c91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5ecd016128 R14: 00007f5ecd016090 R15: 00007f5ecd13fa48