INFO: task syz-executor177:5068 blocked for more than 143 seconds. Not tainted 6.8.0-rc4-syzkaller-00034-g8d3dea210042 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor177 state:D stack:26800 pid:5068 tgid:5068 ppid:5067 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x49a0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1ae/0x200 kernel/locking/rwsem.c:1306 filemap_invalidate_lock include/linux/fs.h:847 [inline] blkdev_fallocate+0x22a/0x580 block/fops.c:800 vfs_fallocate+0x564/0x6c0 fs/open.c:328 ksys_fallocate fs/open.c:351 [inline] __do_sys_fallocate fs/open.c:359 [inline] __se_sys_fallocate fs/open.c:357 [inline] __x64_sys_fallocate+0xbd/0x110 fs/open.c:357 do_syscall_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f9e1376cb29 RSP: 002b:00007ffdb97443f8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9e1376cb29 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000004 RBP: 00000000000f4240 R08: 00000000000000a0 R09: 00000000000000a0 R10: 7fffffffffffffff R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffdb9744618 R14: 00007ffdb9744420 R15: 00007ffdb9744410 INFO: task syz-executor177:5085 blocked for more than 143 seconds. Not tainted 6.8.0-rc4-syzkaller-00034-g8d3dea210042 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor177 state:D stack:24312 pid:5085 tgid:5085 ppid:5059 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x49a0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1ae/0x200 kernel/locking/rwsem.c:1306 filemap_invalidate_lock include/linux/fs.h:847 [inline] blkdev_fallocate+0x22a/0x580 block/fops.c:800 vfs_fallocate+0x564/0x6c0 fs/open.c:328 ksys_fallocate fs/open.c:351 [inline] __do_sys_fallocate fs/open.c:359 [inline] __se_sys_fallocate fs/open.c:357 [inline] __x64_sys_fallocate+0xbd/0x110 fs/open.c:357 do_syscall_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f9e1376cb29 RSP: 002b:00007ffdb97443f8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9e1376cb29 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000004 RBP: 00000000000f4240 R08: 00000000000000a0 R09: 00000000000000a0 R10: 7fffffffffffffff R11: 0000000000000246 R12: 000000000000d67f R13: 00007ffdb974440c R14: 00007ffdb9744420 R15: 00007ffdb9744410 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e130ae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e130ae0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e130ae0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4813: #0: ffff88802b2b70a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015b72f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor177/5066: 1 lock held by syz-executor177/5068: #0: ffff88801d1570c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:847 [inline] #0: ffff88801d1570c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x22a/0x580 block/fops.c:800 1 lock held by syz-executor177/5085: #0: ffff88801d1570c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:847 [inline] #0: ffff88801d1570c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x22a/0x580 block/fops.c:800 1 lock held by syz-executor177/5086: #0: ffff88801d1570c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:847 [inline] #0: ffff88801d1570c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x22a/0x580 block/fops.c:800 1 lock held by syz-executor177/5093: #0: ffff88801d1570c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:847 [inline] #0: ffff88801d1570c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x22a/0x580 block/fops.c:800 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc4-syzkaller-00034-g8d3dea210042 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2460 Comm: kworker/u4:10 Not tainted 6.8.0-rc4-syzkaller-00034-g8d3dea210042 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__lock_release kernel/locking/lockdep.c:5412 [inline] RIP: 0010:lock_release+0x1cf/0x9d0 kernel/locking/lockdep.c:5774 Code: 18 0f 85 57 05 00 00 c7 84 24 80 00 00 00 01 00 00 00 48 c7 c0 bc 61 84 8f 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 62 05 00 00 <83> 3d 16 25 13 0e 00 0f 84 c7 03 00 00 4d 8d b5 b8 0a 00 00 4c 89 RSP: 0018:ffffc9000aeef640 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000246 RCX: ffffc9000aeef603 RDX: 1ffff920015dded8 RSI: ffffffff8baac2c0 RDI: ffffffff8bfd9460 RBP: ffffc9000aeef770 R08: ffffffff8f842eaf R09: 1ffffffff1f085d5 R10: dffffc0000000000 R11: fffffbfff1f085d6 R12: 1ffff920015dded4 R13: ffff88802a258000 R14: ffffc9000aeef6f0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb8b45f5580 CR3: 000000000df32000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_release include/linux/rcupdate.h:308 [inline] rcu_read_unlock include/linux/rcupdate.h:783 [inline] pte_unmap include/linux/pgtable.h:113 [inline] __text_poke+0xb03/0xd30 arch/x86/kernel/alternative.c:1962 text_poke arch/x86/kernel/alternative.c:1986 [inline] text_poke_bp_batch+0x59c/0xb30 arch/x86/kernel/alternative.c:2319 text_poke_flush arch/x86/kernel/alternative.c:2488 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2495 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:826 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x913/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.397 msecs