======================================================== WARNING: possible irq lock inversion dependency detected 5.15.0-rc2-syzkaller #0 Not tainted -------------------------------------------------------- syz-executor.5/24071 just changed the state of lock: ffff8880254a8108 (&group->lock){..-.}-{2:2}, at: snd_pcm_period_elapsed+0x2c/0x210 sound/core/pcm_lib.c:1847 but this lock took another, SOFTIRQ-READ-unsafe lock in the past: (tasklist_lock){.+.+}-{2:2} and interrupts could create inverse lock ordering between them. other info that might help us debug this: Chain exists of: &group->lock --> &timer->lock --> tasklist_lock Possible interrupt unsafe locking scenario: CPU0 CPU1 ---- ---- lock(tasklist_lock); local_irq_disable(); lock(&group->lock); lock(&timer->lock); lock(&group->lock); *** DEADLOCK *** 5 locks held by syz-executor.5/24071: #0: ffff888084498c68 (&pipe->mutex/1){+.+.}-{3:3}, at: splice_from_pipe fs/splice.c:596 [inline] #0: ffff888084498c68 (&pipe->mutex/1){+.+.}-{3:3}, at: generic_splice_sendpage+0x16f/0x210 fs/splice.c:746 #1: ffff88807a568120 (sk_lock-AF_INET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1612 [inline] #1: ffff88807a568120 (sk_lock-AF_INET){+.+.}-{0:0}, at: tcp_sendpage+0x28/0xc0 net/ipv4/tcp.c:1140 #2: ffffffff8c91c200 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:267 #3: ffffffff8c91c200 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:267 #4: ffffffff8c91c200 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:266 the shortest dependencies between 2nd lock and 1st lock: -> (tasklist_lock){.+.+}-{2:2} { HARDIRQ-ON-R at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline] _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228 do_wait+0x224/0x9d0 kernel/exit.c:1504 kernel_wait+0xe4/0x230 kernel/exit.c:1694 call_usermodehelper_exec_sync kernel/umh.c:139 [inline] call_usermodehelper_exec_work+0xb4/0x220 kernel/umh.c:166 process_one_work+0x853/0x1140 kernel/workqueue.c:2297 worker_thread+0xac1/0x1320 kernel/workqueue.c:2444 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 SOFTIRQ-ON-R at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline] _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228 do_wait+0x224/0x9d0 kernel/exit.c:1504 kernel_wait+0xe4/0x230 kernel/exit.c:1694 call_usermodehelper_exec_sync kernel/umh.c:139 [inline] call_usermodehelper_exec_work+0xb4/0x220 kernel/umh.c:166 process_one_work+0x853/0x1140 kernel/workqueue.c:2297 worker_thread+0xac1/0x1320 kernel/workqueue.c:2444 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 INITIAL USE at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_write_lock_irq include/linux/rwlock_api_smp.h:196 [inline] _raw_write_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:316 copy_process+0x34b4/0x5c80 kernel/fork.c:2313 kernel_clone+0x230/0x7d0 kernel/fork.c:2584 kernel_thread+0x155/0x1d0 kernel/fork.c:2636 rest_init+0x21/0x2e0 init/main.c:698 start_kernel+0x4bf/0x56e init/main.c:1141 secondary_startup_64_no_verify+0xb1/0xbb INITIAL READ USE at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline] _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228 do_wait+0x224/0x9d0 kernel/exit.c:1504 kernel_wait+0xe4/0x230 kernel/exit.c:1694 call_usermodehelper_exec_sync kernel/umh.c:139 [inline] call_usermodehelper_exec_work+0xb4/0x220 kernel/umh.c:166 process_one_work+0x853/0x1140 kernel/workqueue.c:2297 worker_thread+0xac1/0x1320 kernel/workqueue.c:2444 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 } ... key at: [] tasklist_lock+0x18/0x40 ... acquired at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_read_lock include/linux/rwlock_api_smp.h:149 [inline] _raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228 send_sigio+0xbe/0x300 fs/fcntl.c:810 dnotify_handle_event+0x136/0x450 fs/notify/dnotify/dnotify.c:97 fsnotify+0x9e5/0x12e0 fs/notify/fsnotify.c:541 fsnotify_parent include/linux/fsnotify.h:80 [inline] fsnotify_file include/linux/fsnotify.h:99 [inline] fsnotify_access include/linux/fsnotify.h:256 [inline] iterate_dir+0x505/0x640 fs/readdir.c:69 __do_sys_getdents fs/readdir.c:286 [inline] __se_sys_getdents+0x1ea/0x4d0 fs/readdir.c:271 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae -> (&f->f_owner.lock){....}-{2:2} { INITIAL USE at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_write_lock_irq include/linux/rwlock_api_smp.h:196 [inline] _raw_write_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:316 f_modown+0x38/0x340 fs/fcntl.c:91 fcntl_dirnotify+0x5d3/0xae0 fs/notify/dnotify/dnotify.c:351 do_fcntl+0x5ec/0x1560 fs/fcntl.c:422 __do_sys_fcntl fs/fcntl.c:472 [inline] __se_sys_fcntl+0xd8/0x1b0 fs/fcntl.c:457 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae INITIAL READ USE at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:159 [inline] _raw_read_lock_irqsave+0xd9/0x120 kernel/locking/spinlock.c:236 send_sigio+0x2f/0x300 fs/fcntl.c:796 dnotify_handle_event+0x136/0x450 fs/notify/dnotify/dnotify.c:97 fsnotify+0x9e5/0x12e0 fs/notify/fsnotify.c:541 fsnotify_parent include/linux/fsnotify.h:80 [inline] fsnotify_file include/linux/fsnotify.h:99 [inline] fsnotify_access include/linux/fsnotify.h:256 [inline] iterate_dir+0x505/0x640 fs/readdir.c:69 __do_sys_getdents64 fs/readdir.c:369 [inline] __se_sys_getdents64+0x1ea/0x4e0 fs/readdir.c:354 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae } ... key at: [] __alloc_file.__key+0x0/0x10 ... acquired at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:159 [inline] _raw_read_lock_irqsave+0xd9/0x120 kernel/locking/spinlock.c:236 send_sigio+0x2f/0x300 fs/fcntl.c:796 kill_fasync_rcu fs/fcntl.c:1021 [inline] kill_fasync+0x1e4/0x430 fs/fcntl.c:1035 lease_break_callback+0x22/0x30 fs/locks.c:585 __break_lease+0xe32/0x1980 fs/locks.c:1560 break_lease include/linux/fs.h:2633 [inline] do_dentry_open+0x722/0x1020 fs/open.c:813 do_open fs/namei.c:3428 [inline] path_openat+0x28b4/0x3670 fs/namei.c:3561 do_filp_open+0x277/0x4f0 fs/namei.c:3588 do_sys_openat2+0x13b/0x500 fs/open.c:1200 do_sys_open fs/open.c:1216 [inline] __do_sys_open fs/open.c:1224 [inline] __se_sys_open fs/open.c:1220 [inline] __x64_sys_open+0x221/0x270 fs/open.c:1220 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae -> (&new->fa_lock){....}-{2:2} { INITIAL USE at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_write_lock_irq include/linux/rwlock_api_smp.h:196 [inline] _raw_write_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:316 fasync_remove_entry+0xff/0x1d0 fs/fcntl.c:891 lease_modify+0x4dd/0x6a0 fs/locks.c:1425 locks_remove_lease fs/locks.c:2657 [inline] locks_remove_file+0x53e/0xff0 fs/locks.c:2682 __fput+0x35e/0x870 fs/file_table.c:272 task_work_run+0x146/0x1c0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x209/0x220 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:302 do_syscall_64+0x53/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae INITIAL READ USE at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:159 [inline] _raw_read_lock_irqsave+0xd9/0x120 kernel/locking/spinlock.c:236 kill_fasync_rcu fs/fcntl.c:1014 [inline] kill_fasync+0x13b/0x430 fs/fcntl.c:1035 lease_break_callback+0x22/0x30 fs/locks.c:585 __break_lease+0xe32/0x1980 fs/locks.c:1560 break_lease include/linux/fs.h:2633 [inline] do_dentry_open+0x722/0x1020 fs/open.c:813 do_open fs/namei.c:3428 [inline] path_openat+0x28b4/0x3670 fs/namei.c:3561 do_filp_open+0x277/0x4f0 fs/namei.c:3588 do_sys_openat2+0x13b/0x500 fs/open.c:1200 do_sys_open fs/open.c:1216 [inline] __do_sys_open fs/open.c:1224 [inline] __se_sys_open fs/open.c:1220 [inline] __x64_sys_open+0x221/0x270 fs/open.c:1220 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae } ... key at: [] fasync_insert_entry.__key+0x0/0x40 ... acquired at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:159 [inline] _raw_read_lock_irqsave+0xd9/0x120 kernel/locking/spinlock.c:236 kill_fasync_rcu fs/fcntl.c:1014 [inline] kill_fasync+0x13b/0x430 fs/fcntl.c:1035 snd_timer_user_ccallback+0x370/0x540 sound/core/timer.c:1387 snd_timer_notify1+0x1ad/0x350 sound/core/timer.c:516 snd_timer_start1+0x53d/0x640 sound/core/timer.c:578 snd_timer_start sound/core/timer.c:697 [inline] snd_timer_user_start sound/core/timer.c:1985 [inline] __snd_timer_user_ioctl+0xe8b/0x60a0 sound/core/timer.c:2108 snd_timer_user_ioctl+0x5d/0x80 sound/core/timer.c:2129 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae -> (&timer->lock){....}-{2:2} { INITIAL USE at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:128 [inline] _raw_spin_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:170 spin_lock_irq include/linux/spinlock.h:388 [inline] snd_timer_close_locked+0x5c/0x8e0 sound/core/timer.c:396 snd_timer_close+0xaa/0x120 sound/core/timer.c:463 snd_seq_timer_close+0x9b/0xd0 sound/core/seq/seq_timer.c:326 queue_delete sound/core/seq/seq_queue.c:134 [inline] snd_seq_queue_delete+0x8b/0xf0 sound/core/seq/seq_queue.c:196 delete_seq_queue sound/core/seq/oss/seq_oss_init.c:377 [inline] snd_seq_oss_release+0x1d6/0x310 sound/core/seq/oss/seq_oss_init.c:422 odev_release+0x52/0x70 sound/core/seq/oss/seq_oss.c:144 __fput+0x3fe/0x870 fs/file_table.c:280 task_work_run+0x146/0x1c0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x209/0x220 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:302 do_syscall_64+0x53/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae } ... key at: [] snd_timer_new.__key+0x0/0x40 ... acquired at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 snd_timer_notify+0x105/0x3e0 sound/core/timer.c:1087 snd_pcm_timer_notify sound/core/pcm_native.c:595 [inline] snd_pcm_post_stop sound/core/pcm_native.c:1453 [inline] snd_pcm_action_single sound/core/pcm_native.c:1229 [inline] snd_pcm_action sound/core/pcm_native.c:1310 [inline] snd_pcm_stop+0x3b8/0x4c0 sound/core/pcm_native.c:1476 snd_pcm_drop+0x16d/0x290 sound/core/pcm_native.c:2155 snd_pcm_oss_sync+0x4f4/0xee0 sound/core/oss/pcm_oss.c:1721 snd_pcm_oss_ioctl+0xb2a/0x3a20 sound/core/oss/pcm_oss.c:2615 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae -> (&group->lock){..-.}-{2:2} { IN-SOFTIRQ-W at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 snd_pcm_period_elapsed+0x2c/0x210 sound/core/pcm_lib.c:1847 dummy_hrtimer_callback+0x87/0x190 sound/drivers/dummy.c:377 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x50b/0xa60 kernel/time/hrtimer.c:1749 hrtimer_run_softirq+0x1b7/0x5d0 kernel/time/hrtimer.c:1766 __do_softirq+0x392/0x7a3 kernel/softirq.c:558 __irq_exit_rcu+0xec/0x170 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 __nf_conntrack_eventmask_report+0x18d/0x3c0 net/netfilter/nf_conntrack_ecache.c:154 nf_ct_deliver_cached_events+0x214/0x2e0 net/netfilter/nf_conntrack_ecache.c:233 nf_conntrack_confirm include/net/netfilter/nf_conntrack_core.h:64 [inline] nf_confirm+0x34e/0x400 net/netfilter/nf_conntrack_proto.c:154 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_slow+0xb2/0x1f0 net/netfilter/core.c:589 nf_hook+0x26e/0x3d0 include/linux/netfilter.h:262 NF_HOOK_COND include/linux/netfilter.h:295 [inline] ip_output+0x1ed/0x2c0 net/ipv4/ip_output.c:423 dst_output include/net/dst.h:450 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] __ip_queue_xmit+0x1261/0x1ef0 net/ipv4/ip_output.c:525 __tcp_transmit_skb+0x1f28/0x3530 net/ipv4/tcp_output.c:1405 tcp_transmit_skb net/ipv4/tcp_output.c:1423 [inline] tcp_write_xmit+0x19b0/0x7cb0 net/ipv4/tcp_output.c:2690 do_tcp_sendpages+0xbe9/0x1810 net/ipv4/tcp.c:1086 tcp_sendpage_locked net/ipv4/tcp.c:1131 [inline] tcp_sendpage+0xa0/0xc0 net/ipv4/tcp.c:1141 inet_sendpage+0x16b/0x360 net/ipv4/af_inet.c:835 kernel_sendpage+0x2ca/0x370 net/socket.c:3504 sock_sendpage+0x7e/0xb0 net/socket.c:1003 pipe_to_sendpage+0x258/0x340 fs/splice.c:364 splice_from_pipe_feed fs/splice.c:418 [inline] __splice_from_pipe+0x351/0x8b0 fs/splice.c:562 splice_from_pipe fs/splice.c:597 [inline] generic_splice_sendpage+0x181/0x210 fs/splice.c:746 do_splice_from fs/splice.c:767 [inline] do_splice+0xecb/0x1810 fs/splice.c:1079 __do_splice fs/splice.c:1144 [inline] __do_sys_splice fs/splice.c:1350 [inline] __se_sys_splice+0x2a8/0x410 fs/splice.c:1332 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae INITIAL USE at: lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:128 [inline] _raw_spin_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:170 spin_lock_irq include/linux/spinlock.h:388 [inline] snd_pcm_group_lock_irq sound/core/pcm_native.c:97 [inline] snd_pcm_stream_lock_irq sound/core/pcm_native.c:136 [inline] snd_pcm_hw_params+0xca/0x1740 sound/core/pcm_native.c:686 snd_pcm_oss_change_params_locked+0x2453/0x43e0 sound/core/oss/pcm_oss.c:947 snd_pcm_oss_change_params sound/core/oss/pcm_oss.c:1091 [inline] snd_pcm_oss_make_ready sound/core/oss/pcm_oss.c:1150 [inline] snd_pcm_oss_sync+0x37c/0xee0 sound/core/oss/pcm_oss.c:1717 snd_pcm_oss_ioctl+0xb2a/0x3a20 sound/core/oss/pcm_oss.c:2615 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae } ... key at: [] snd_pcm_group_init.__key+0x0/0x40 ... acquired at: __lock_acquire+0xc36/0x2b00 kernel/locking/lockdep.c:4969 lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 snd_pcm_period_elapsed+0x2c/0x210 sound/core/pcm_lib.c:1847 dummy_hrtimer_callback+0x87/0x190 sound/drivers/dummy.c:377 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x50b/0xa60 kernel/time/hrtimer.c:1749 hrtimer_run_softirq+0x1b7/0x5d0 kernel/time/hrtimer.c:1766 __do_softirq+0x392/0x7a3 kernel/softirq.c:558 __irq_exit_rcu+0xec/0x170 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 __nf_conntrack_eventmask_report+0x18d/0x3c0 net/netfilter/nf_conntrack_ecache.c:154 nf_ct_deliver_cached_events+0x214/0x2e0 net/netfilter/nf_conntrack_ecache.c:233 nf_conntrack_confirm include/net/netfilter/nf_conntrack_core.h:64 [inline] nf_confirm+0x34e/0x400 net/netfilter/nf_conntrack_proto.c:154 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_slow+0xb2/0x1f0 net/netfilter/core.c:589 nf_hook+0x26e/0x3d0 include/linux/netfilter.h:262 NF_HOOK_COND include/linux/netfilter.h:295 [inline] ip_output+0x1ed/0x2c0 net/ipv4/ip_output.c:423 dst_output include/net/dst.h:450 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] __ip_queue_xmit+0x1261/0x1ef0 net/ipv4/ip_output.c:525 __tcp_transmit_skb+0x1f28/0x3530 net/ipv4/tcp_output.c:1405 tcp_transmit_skb net/ipv4/tcp_output.c:1423 [inline] tcp_write_xmit+0x19b0/0x7cb0 net/ipv4/tcp_output.c:2690 do_tcp_sendpages+0xbe9/0x1810 net/ipv4/tcp.c:1086 tcp_sendpage_locked net/ipv4/tcp.c:1131 [inline] tcp_sendpage+0xa0/0xc0 net/ipv4/tcp.c:1141 inet_sendpage+0x16b/0x360 net/ipv4/af_inet.c:835 kernel_sendpage+0x2ca/0x370 net/socket.c:3504 sock_sendpage+0x7e/0xb0 net/socket.c:1003 pipe_to_sendpage+0x258/0x340 fs/splice.c:364 splice_from_pipe_feed fs/splice.c:418 [inline] __splice_from_pipe+0x351/0x8b0 fs/splice.c:562 splice_from_pipe fs/splice.c:597 [inline] generic_splice_sendpage+0x181/0x210 fs/splice.c:746 do_splice_from fs/splice.c:767 [inline] do_splice+0xecb/0x1810 fs/splice.c:1079 __do_splice fs/splice.c:1144 [inline] __do_sys_splice fs/splice.c:1350 [inline] __se_sys_splice+0x2a8/0x410 fs/splice.c:1332 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae stack backtrace: CPU: 0 PID: 24071 Comm: syz-executor.5 Not tainted 5.15.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106 print_irq_inversion_bug+0x87f/0xb60 kernel/locking/lockdep.c:4000 mark_lock_irq kernel/locking/lockdep.c:4163 [inline] mark_lock+0x10bd/0x1e00 kernel/locking/lockdep.c:4593 __lock_acquire+0xc36/0x2b00 kernel/locking/lockdep.c:4969 lock_acquire+0x19f/0x4d0 kernel/locking/lockdep.c:5625 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 snd_pcm_period_elapsed+0x2c/0x210 sound/core/pcm_lib.c:1847 dummy_hrtimer_callback+0x87/0x190 sound/drivers/dummy.c:377 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x50b/0xa60 kernel/time/hrtimer.c:1749 hrtimer_run_softirq+0x1b7/0x5d0 kernel/time/hrtimer.c:1766 __do_softirq+0x392/0x7a3 kernel/softirq.c:558 __irq_exit_rcu+0xec/0x170 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:__nf_conntrack_eventmask_report+0x18d/0x3c0 net/netfilter/nf_conntrack_ecache.c:154 Code: 89 c6 e8 76 b4 2e f9 85 ed 74 4c e8 5d b0 2e f9 48 85 db 74 66 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 80 3c 08 00 <74> 08 48 89 df e8 99 0a 7a f9 44 89 ef 4c 89 e6 ff 13 41 89 c6 e8 RSP: 0018:ffffc9000519ef28 EFLAGS: 00000246 RAX: 1ffffffff1b399bc RBX: ffffffff8d9ccde0 RCX: dffffc0000000000 RDX: ffffc90013de6000 RSI: 0000000000002641 RDI: 0000000000002642 RBP: 0000000000000001 R08: ffffffff8853c51a R09: ffffed10173864a2 R10: ffffed10173864a2 R11: 0000000000000000 R12: ffffc9000519efc0 R13: 0000000000000021 R14: 0000000000000000 R15: ffff88803bc92978 nf_ct_deliver_cached_events+0x214/0x2e0 net/netfilter/nf_conntrack_ecache.c:233 nf_conntrack_confirm include/net/netfilter/nf_conntrack_core.h:64 [inline] nf_confirm+0x34e/0x400 net/netfilter/nf_conntrack_proto.c:154 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_slow+0xb2/0x1f0 net/netfilter/core.c:589 nf_hook+0x26e/0x3d0 include/linux/netfilter.h:262 NF_HOOK_COND include/linux/netfilter.h:295 [inline] ip_output+0x1ed/0x2c0 net/ipv4/ip_output.c:423 dst_output include/net/dst.h:450 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] __ip_queue_xmit+0x1261/0x1ef0 net/ipv4/ip_output.c:525 __tcp_transmit_skb+0x1f28/0x3530 net/ipv4/tcp_output.c:1405 tcp_transmit_skb net/ipv4/tcp_output.c:1423 [inline] tcp_write_xmit+0x19b0/0x7cb0 net/ipv4/tcp_output.c:2690 do_tcp_sendpages+0xbe9/0x1810 net/ipv4/tcp.c:1086 tcp_sendpage_locked net/ipv4/tcp.c:1131 [inline] tcp_sendpage+0xa0/0xc0 net/ipv4/tcp.c:1141 inet_sendpage+0x16b/0x360 net/ipv4/af_inet.c:835 kernel_sendpage+0x2ca/0x370 net/socket.c:3504 sock_sendpage+0x7e/0xb0 net/socket.c:1003 pipe_to_sendpage+0x258/0x340 fs/splice.c:364 splice_from_pipe_feed fs/splice.c:418 [inline] __splice_from_pipe+0x351/0x8b0 fs/splice.c:562 splice_from_pipe fs/splice.c:597 [inline] generic_splice_sendpage+0x181/0x210 fs/splice.c:746 do_splice_from fs/splice.c:767 [inline] do_splice+0xecb/0x1810 fs/splice.c:1079 __do_splice fs/splice.c:1144 [inline] __do_sys_splice fs/splice.c:1350 [inline] __se_sys_splice+0x2a8/0x410 fs/splice.c:1332 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7faf637a6739 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007faf60cfc188 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 00007faf638ab038 RCX: 00007faf637a6739 RDX: 0000000000000006 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007faf63800cc4 R08: 000000000004ffe1 R09: 3075000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007faf638ab038 R13: 00007ffce518fbbf R14: 00007faf60cfc300 R15: 0000000000022000 vkms_vblank_simulate: vblank timer overrun vkms_vblank_simulate: vblank timer overrun vkms_vblank_simulate: vblank timer overrun ---------------- Code disassembly (best guess): 0: 89 c6 mov %eax,%esi 2: e8 76 b4 2e f9 callq 0xf92eb47d 7: 85 ed test %ebp,%ebp 9: 74 4c je 0x57 b: e8 5d b0 2e f9 callq 0xf92eb06d 10: 48 85 db test %rbx,%rbx 13: 74 66 je 0x7b 15: 48 89 d8 mov %rbx,%rax 18: 48 c1 e8 03 shr $0x3,%rax 1c: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 23: fc ff df 26: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) * 2a: 74 08 je 0x34 <-- trapping instruction 2c: 48 89 df mov %rbx,%rdi 2f: e8 99 0a 7a f9 callq 0xf97a0acd 34: 44 89 ef mov %r13d,%edi 37: 4c 89 e6 mov %r12,%rsi 3a: ff 13 callq *(%rbx) 3c: 41 89 c6 mov %eax,%r14d 3f: e8 .byte 0xe8