===================================================== WARNING: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected syzkaller #0 Tainted: G L ----------------------------------------------------- syz.5.7347/1823 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire: ffff888042553948 (&new->fa_lock){...-}-{3:3}, at: kill_fasync_rcu fs/fcntl.c:1135 [inline] ffff888042553948 (&new->fa_lock){...-}-{3:3}, at: kill_fasync+0x199/0x4d0 fs/fcntl.c:1159 and this task is already holding: ffff888022ada028 (&client->buffer_lock){..-.}-{3:3}, at: spin_lock include/linux/spinlock.h:342 [inline] ffff888022ada028 (&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: (&client->buffer_lock){..-.}-{3:3} ... which became SOFTIRQ-irq-safe at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __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+0x3e5/0x6b0 drivers/input/input.c:353 input_event+0x84/0xc0 drivers/input/input.c:396 hidinput_hid_event+0x143a/0x1ec0 drivers/hid/hid-input.c:1759 hid_process_event+0x4be/0x620 drivers/hid/hid-core.c:1565 hid_process_report drivers/hid/hid-core.c:1713 [inline] hid_report_raw_event+0xec2/0x1730 drivers/hid/hid-core.c:2075 __hid_input_report drivers/hid/hid-core.c:2145 [inline] hid_input_report+0x44b/0x580 drivers/hid/hid-core.c:2167 hid_irq_in+0x47e/0x6d0 drivers/hid/usbhid/hid-core.c:286 __usb_hcd_giveback_urb+0x376/0x540 drivers/usb/core/hcd.c:1657 dummy_timer+0xbc0/0x4650 drivers/usb/gadget/udc/dummy_hcd.c:2005 __run_hrtimer kernel/time/hrtimer.c:1930 [inline] __hrtimer_run_queues+0x3c0/0xa20 kernel/time/hrtimer.c:1994 hrtimer_run_softirq+0x17a/0x240 kernel/time/hrtimer.c:2011 handle_softirqs+0x22a/0x840 kernel/softirq.c:626 do_softirq+0x76/0xd0 kernel/softirq.c:523 __local_bh_enable_ip+0xf8/0x130 kernel/softirq.c:450 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:924 [inline] __dev_queue_xmit+0x1efe/0x3840 net/core/dev.c:4878 ip6_fragment+0x14aa/0x1f30 net/ipv6/ip6_output.c:1026 NF_HOOK_COND include/linux/netfilter.h:307 [inline] ip6_output+0x340/0x550 net/ipv6/ip6_output.c:246 ip6_send_skb+0x1d5/0x390 net/ipv6/ip6_output.c:1984 rawv6_push_pending_frames+0x65e/0x810 net/ipv6/raw.c:589 rawv6_sendmsg+0x1387/0x18e0 net/ipv6/raw.c:919 sock_sendmsg_nosec+0xf9/0x150 net/socket.c:796 __sock_sendmsg net/socket.c:811 [inline] ____sys_sendmsg+0x589/0x8c0 net/socket.c:2668 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2722 __sys_sendmsg net/socket.c:2754 [inline] __do_sys_sendmsg net/socket.c:2759 [inline] __se_sys_sendmsg net/socket.c:2757 [inline] __x64_sys_sendmsg+0x1bd/0x2a0 net/socket.c:2757 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/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:1676 do_wait+0x1e7/0x510 kernel/exit.c:1720 kernel_wait+0xd6/0x1c0 kernel/exit.c:1896 call_usermodehelper_exec_sync kernel/umh.c:136 [inline] call_usermodehelper_exec_work+0xbe/0x230 kernel/umh.c:163 process_one_work+0x9a3/0x1710 kernel/workqueue.c:3288 process_scheduled_works kernel/workqueue.c:3379 [inline] worker_thread+0xba8/0x11e0 kernel/workqueue.c:3465 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x51e/0xb90 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: &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); lock(&client->buffer_lock); *** DEADLOCK *** 7 locks held by syz.5.7347/1823: #0: ffff88802c30c110 (&evdev->mutex){+.+.}-{4:4}, at: evdev_write+0x1ae/0x4c0 drivers/input/evdev.c:511 #1: ffff88801fb10230 (&dev->event_lock#2){..-.}-{3:3}, at: class_spinlock_irqsave_constructor include/linux/spinlock.h:619 [inline] #1: ffff88801fb10230 (&dev->event_lock#2){..-.}-{3:3}, at: input_inject_event+0xa4/0x330 drivers/input/input.c:419 #2: ffffffff8e95d7e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline] #2: ffffffff8e95d7e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline] #2: ffffffff8e95d7e0 (rcu_read_lock){....}-{1:3}, at: class_rcu_constructor include/linux/rcupdate.h:1193 [inline] #2: ffffffff8e95d7e0 (rcu_read_lock){....}-{1:3}, at: input_inject_event+0xb5/0x330 drivers/input/input.c:420 #3: ffffffff8e95d7e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline] #3: ffffffff8e95d7e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline] #3: ffffffff8e95d7e0 (rcu_read_lock){....}-{1:3}, at: class_rcu_constructor include/linux/rcupdate.h:1193 [inline] #3: ffffffff8e95d7e0 (rcu_read_lock){....}-{1:3}, at: input_pass_values+0x8d/0x890 drivers/input/input.c:119 #4: ffffffff8e95d7e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline] #4: ffffffff8e95d7e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline] #4: ffffffff8e95d7e0 (rcu_read_lock){....}-{1:3}, at: evdev_events+0x79/0x340 drivers/input/evdev.c:298 #5: ffff888022ada028 (&client->buffer_lock){..-.}-{3:3}, at: spin_lock include/linux/spinlock.h:342 [inline] #5: ffff888022ada028 (&client->buffer_lock){..-.}-{3:3}, at: evdev_pass_values+0xb9/0xbd0 drivers/input/evdev.c:261 #6: ffffffff8e95d7e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline] #6: ffffffff8e95d7e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline] #6: ffffffff8e95d7e0 (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: -> (&client->buffer_lock){..-.}-{3:3} { IN-SOFTIRQ-W at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __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+0x3e5/0x6b0 drivers/input/input.c:353 input_event+0x84/0xc0 drivers/input/input.c:396 hidinput_hid_event+0x143a/0x1ec0 drivers/hid/hid-input.c:1759 hid_process_event+0x4be/0x620 drivers/hid/hid-core.c:1565 hid_process_report drivers/hid/hid-core.c:1713 [inline] hid_report_raw_event+0xec2/0x1730 drivers/hid/hid-core.c:2075 __hid_input_report drivers/hid/hid-core.c:2145 [inline] hid_input_report+0x44b/0x580 drivers/hid/hid-core.c:2167 hid_irq_in+0x47e/0x6d0 drivers/hid/usbhid/hid-core.c:286 __usb_hcd_giveback_urb+0x376/0x540 drivers/usb/core/hcd.c:1657 dummy_timer+0xbc0/0x4650 drivers/usb/gadget/udc/dummy_hcd.c:2005 __run_hrtimer kernel/time/hrtimer.c:1930 [inline] __hrtimer_run_queues+0x3c0/0xa20 kernel/time/hrtimer.c:1994 hrtimer_run_softirq+0x17a/0x240 kernel/time/hrtimer.c:2011 handle_softirqs+0x22a/0x840 kernel/softirq.c:626 do_softirq+0x76/0xd0 kernel/softirq.c:523 __local_bh_enable_ip+0xf8/0x130 kernel/softirq.c:450 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:924 [inline] __dev_queue_xmit+0x1efe/0x3840 net/core/dev.c:4878 ip6_fragment+0x14aa/0x1f30 net/ipv6/ip6_output.c:1026 NF_HOOK_COND include/linux/netfilter.h:307 [inline] ip6_output+0x340/0x550 net/ipv6/ip6_output.c:246 ip6_send_skb+0x1d5/0x390 net/ipv6/ip6_output.c:1984 rawv6_push_pending_frames+0x65e/0x810 net/ipv6/raw.c:589 rawv6_sendmsg+0x1387/0x18e0 net/ipv6/raw.c:919 sock_sendmsg_nosec+0xf9/0x150 net/socket.c:796 __sock_sendmsg net/socket.c:811 [inline] ____sys_sendmsg+0x589/0x8c0 net/socket.c:2668 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2722 __sys_sendmsg net/socket.c:2754 [inline] __do_sys_sendmsg net/socket.c:2759 [inline] __se_sys_sendmsg net/socket.c:2757 [inline] __x64_sys_sendmsg+0x1bd/0x2a0 net/socket.c:2757 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/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 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+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f } ... key at: [] evdev_open.__key.27+0x0/0x20 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:1676 do_wait+0x1e7/0x510 kernel/exit.c:1720 kernel_wait+0xd6/0x1c0 kernel/exit.c:1896 call_usermodehelper_exec_sync kernel/umh.c:136 [inline] call_usermodehelper_exec_work+0xbe/0x230 kernel/umh.c:163 process_one_work+0x9a3/0x1710 kernel/workqueue.c:3288 process_scheduled_works kernel/workqueue.c:3379 [inline] worker_thread+0xba8/0x11e0 kernel/workqueue.c:3465 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x51e/0xb90 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:1676 do_wait+0x1e7/0x510 kernel/exit.c:1720 kernel_wait+0xd6/0x1c0 kernel/exit.c:1896 call_usermodehelper_exec_sync kernel/umh.c:136 [inline] call_usermodehelper_exec_work+0xbe/0x230 kernel/umh.c:163 process_one_work+0x9a3/0x1710 kernel/workqueue.c:3288 process_scheduled_works kernel/workqueue.c:3379 [inline] worker_thread+0xba8/0x11e0 kernel/workqueue.c:3465 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x51e/0xb90 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+0x2b3f/0x4430 kernel/fork.c:2422 kernel_clone+0x26d/0x8e0 kernel/fork.c:2720 user_mode_thread+0x110/0x180 kernel/fork.c:2796 rest_init+0x23/0x300 init/main.c:727 start_kernel+0x38f/0x3e0 init/main.c:1214 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:1676 do_wait+0x1e7/0x510 kernel/exit.c:1720 kernel_wait+0xd6/0x1c0 kernel/exit.c:1896 call_usermodehelper_exec_sync kernel/umh.c:136 [inline] call_usermodehelper_exec_work+0xbe/0x230 kernel/umh.c:163 process_one_work+0x9a3/0x1710 kernel/workqueue.c:3288 process_scheduled_works kernel/workqueue.c:3379 [inline] worker_thread+0xba8/0x11e0 kernel/workqueue.c:3465 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x51e/0xb90 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:301 [inline] send_to_group fs/notify/fsnotify.c:375 [inline] fsnotify+0x168e/0x1ae0 fs/notify/fsnotify.c:592 __fsnotify_parent+0x50d/0x620 fs/notify/fsnotify.c:238 notify_change+0xc55/0xf40 fs/attr.c:561 do_truncate+0x1c2/0x250 fs/open.c:68 do_ftruncate+0x4db/0x5a0 fs/open.c:196 do_sys_ftruncate fs/open.c:208 [inline] __do_sys_ftruncate fs/open.c:213 [inline] __se_sys_ftruncate fs/open.c:211 [inline] __x64_sys_ftruncate+0x92/0xf0 fs/open.c:211 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/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 generic_add_lease fs/locks.c:1924 [inline] generic_setlease+0xacf/0xfd0 fs/locks.c:2000 do_fcntl_add_lease+0x35e/0x470 fs/locks.c:2102 fcntl_setlease+0x123/0x180 fs/locks.c:2127 do_fcntl+0x8b3/0x1a20 fs/fcntl.c:535 __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+0x14d/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+0x81f/0x1ea0 fs/locks.c:1669 break_lease include/linux/filelock.h:485 [inline] do_dentry_open+0x1010/0x14e0 fs/open.c:940 vfs_open+0x3b/0x340 fs/open.c:1081 do_open fs/namei.c:4693 [inline] path_openat+0x2e08/0x3860 fs/namei.c:4852 do_file_open+0x23e/0x4a0 fs/namei.c:4881 do_open_execat+0x12b/0x580 fs/exec.c:781 alloc_bprm+0x28/0x690 fs/exec.c:1401 class_bprm_constructor fs/exec.c:1477 [inline] do_execveat_common+0x16d/0x710 fs/exec.c:1861 __do_sys_execve fs/exec.c:1995 [inline] __se_sys_execve fs/exec.c:1989 [inline] __x64_sys_execve+0x97/0xc0 fs/exec.c:1989 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/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+0x81f/0x1ea0 fs/locks.c:1669 break_lease include/linux/filelock.h:485 [inline] do_dentry_open+0x1010/0x14e0 fs/open.c:940 vfs_open+0x3b/0x340 fs/open.c:1081 do_open fs/namei.c:4693 [inline] path_openat+0x2e08/0x3860 fs/namei.c:4852 do_file_open+0x23e/0x4a0 fs/namei.c:4881 do_open_execat+0x12b/0x580 fs/exec.c:781 alloc_bprm+0x28/0x690 fs/exec.c:1401 class_bprm_constructor fs/exec.c:1477 [inline] do_execveat_common+0x16d/0x710 fs/exec.c:1861 __do_sys_execve fs/exec.c:1995 [inline] __se_sys_execve fs/exec.c:1989 [inline] __x64_sys_execve+0x97/0xc0 fs/exec.c:1989 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/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:2586 [inline] sock_def_readable+0x3c1/0x550 net/core/sock.c:3613 tcp_data_queue+0x1e6f/0x5ea0 net/ipv4/tcp_input.c:5658 tcp_rcv_established+0x1270/0x26b0 net/ipv4/tcp_input.c:6653 tcp_v4_do_rcv+0x964/0x13c0 net/ipv4/tcp_ipv4.c:1866 tcp_v4_rcv+0x2825/0x31f0 net/ipv4/tcp_ipv4.c:2263 ip_protocol_deliver_rcu+0x221/0x440 net/ipv4/ip_input.c:207 ip_local_deliver_finish+0x3bb/0x6f0 net/ipv4/ip_input.c:241 NF_HOOK+0x336/0x3c0 include/linux/netfilter.h:318 NF_HOOK+0x336/0x3c0 include/linux/netfilter.h:318 __netif_receive_skb_one_core net/core/dev.c:6182 [inline] __netif_receive_skb net/core/dev.c:6295 [inline] process_backlog+0xaa3/0x1950 net/core/dev.c:6646 __napi_poll+0xae/0x340 net/core/dev.c:7710 napi_poll net/core/dev.c:7773 [inline] net_rx_action+0x627/0xf70 net/core/dev.c:7930 handle_softirqs+0x22a/0x840 kernel/softirq.c:626 do_softirq+0x76/0xd0 kernel/softirq.c:523 __local_bh_enable_ip+0xf8/0x130 kernel/softirq.c:450 sk_stream_wait_memory+0x72b/0xf80 net/core/stream.c:149 tcp_sendmsg_locked+0x238a/0x5360 net/ipv4/tcp.c:1418 tcp_sendmsg+0x2f/0x50 net/ipv4/tcp.c:1465 sock_sendmsg_nosec+0xf9/0x150 net/socket.c:796 __sock_sendmsg net/socket.c:811 [inline] __sys_sendto+0x3ff/0x590 net/socket.c:2279 __do_sys_sendto net/socket.c:2286 [inline] __se_sys_sendto net/socket.c:2282 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2282 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/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_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 lease_modify+0x4f7/0x6c0 fs/locks.c:1514 locks_remove_lease fs/locks.c:2773 [inline] locks_remove_file+0x5f0/0xf70 fs/locks.c:2798 __fput+0x3b0/0x8c0 fs/file_table.c:492 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:238 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:269 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:325 [inline] do_syscall_64+0x32d/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+0x81f/0x1ea0 fs/locks.c:1669 break_lease include/linux/filelock.h:485 [inline] do_dentry_open+0x1010/0x14e0 fs/open.c:940 vfs_open+0x3b/0x340 fs/open.c:1081 do_open fs/namei.c:4693 [inline] path_openat+0x2e08/0x3860 fs/namei.c:4852 do_file_open+0x23e/0x4a0 fs/namei.c:4881 do_open_execat+0x12b/0x580 fs/exec.c:781 alloc_bprm+0x28/0x690 fs/exec.c:1401 class_bprm_constructor fs/exec.c:1477 [inline] do_execveat_common+0x16d/0x710 fs/exec.c:1861 __do_sys_execve fs/exec.c:1995 [inline] __se_sys_execve fs/exec.c:1989 [inline] __x64_sys_execve+0x97/0xc0 fs/exec.c:1989 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x14d/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+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f stack backtrace: CPU: 1 UID: 0 PID: 1823 Comm: syz.5.7347 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/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+0x14d/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fabe959c799 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:00007fabea37f028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fabe9815fa0 RCX: 00007fabe959c799 RDX: 0000000000001068 RSI: 0000200000000040 RDI: 0000000000000005 RBP: 00007fabe9632c99 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fabe9816038 R14: 00007fabe9815fa0 R15: 00007ffc325a70b8