INFO: task syz-executor195:5075 blocked for more than 143 seconds. Not tainted 6.8.0-rc1-syzkaller-00311-g3a5879d495b2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor195 state:D stack:27680 pid:5075 tgid:5075 ppid:5072 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0xf12/0x5c00 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6874 rwsem_down_write_slowpath kernel/locking/rwsem.c:1178 [inline] __down_write_common+0x948/0x1400 kernel/locking/rwsem.c:1306 filemap_invalidate_lock include/linux/fs.h:847 [inline] blkdev_fallocate+0x1e9/0x450 block/fops.c:800 vfs_fallocate+0x4b4/0xf70 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+0xd5/0x140 fs/open.c:357 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd3/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f79872a7b29 RSP: 002b:00007fff0125ef18 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f79872a7b29 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000004 RBP: 00000000000f4240 R08: 00000000000000a0 R09: 00000000000000a0 R10: 0000100001002000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fff0125f138 R14: 00007fff0125ef40 R15: 00007fff0125ef30 INFO: task syz-executor195:5079 blocked for more than 143 seconds. Not tainted 6.8.0-rc1-syzkaller-00311-g3a5879d495b2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor195 state:D stack:28208 pid:5079 tgid:5079 ppid:5077 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0xf12/0x5c00 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6874 rwsem_down_write_slowpath kernel/locking/rwsem.c:1178 [inline] __down_write_common+0x948/0x1400 kernel/locking/rwsem.c:1306 filemap_invalidate_lock include/linux/fs.h:847 [inline] blkdev_fallocate+0x1e9/0x450 block/fops.c:800 vfs_fallocate+0x4b4/0xf70 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+0xd5/0x140 fs/open.c:357 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd3/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f79872a7b29 RSP: 002b:00007fff0125ef18 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f79872a7b29 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000004 RBP: 00000000000f4240 R08: 00000000000000a0 R09: 00000000000000a0 R10: 0000100001002000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fff0125f138 R14: 00007fff0125ef40 R15: 00007fff0125ef30 INFO: task syz-executor195:5080 blocked for more than 143 seconds. Not tainted 6.8.0-rc1-syzkaller-00311-g3a5879d495b2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor195 state:D stack:28208 pid:5080 tgid:5080 ppid:5078 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0xf12/0x5c00 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6874 rwsem_down_write_slowpath kernel/locking/rwsem.c:1178 [inline] __down_write_common+0x948/0x1400 kernel/locking/rwsem.c:1306 filemap_invalidate_lock include/linux/fs.h:847 [inline] blkdev_fallocate+0x1e9/0x450 block/fops.c:800 vfs_fallocate+0x4b4/0xf70 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+0xd5/0x140 fs/open.c:357 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd3/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f79872a7b29 RSP: 002b:00007fff0125ef18 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f79872a7b29 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000004 RBP: 00000000000f4240 R08: 00000000000000a0 R09: 00000000000000a0 R10: 0000100001002000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fff0125f138 R14: 00007fff0125ef40 R15: 00007fff0125ef30 Showing all locks held in the system: 3 locks held by kworker/0:0H/10: 2 locks held by ksoftirqd/0/16: 1 lock held by khungtaskd/29: #0: ffffffff8d1acba0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d1acba0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d1acba0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by getty/4820: #0: ffff8880299c60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc6/0x1490 drivers/tty/n_tty.c:2201 1 lock held by syz-executor195/5075: #0: ffff88801b4b2040 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:847 [inline] #0: ffff88801b4b2040 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e9/0x450 block/fops.c:800 1 lock held by syz-executor195/5076: 1 lock held by syz-executor195/5079: #0: ffff88801b4b2040 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:847 [inline] #0: ffff88801b4b2040 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e9/0x450 block/fops.c:800 1 lock held by syz-executor195/5080: #0: ffff88801b4b2040 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:847 [inline] #0: ffff88801b4b2040 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e9/0x450 block/fops.c:800 1 lock held by syz-executor195/5098: #0: ffff88801b4b2040 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:847 [inline] #0: ffff88801b4b2040 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e9/0x450 block/fops.c:800 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc1-syzkaller-00311-g3a5879d495b2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/0x300 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+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1028 Comm: kworker/u4:6 Not tainted 6.8.0-rc1-syzkaller-00311-g3a5879d495b2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:task_wait_context kernel/locking/lockdep.c:4713 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4794 [inline] RIP: 0010:__lock_acquire+0x563/0x3b30 kernel/locking/lockdep.c:5087 Code: ca 7f 08 84 d2 0f 85 9e 22 00 00 41 0f b6 56 21 44 31 fa 83 e2 60 74 c2 83 c3 01 65 8b 15 3d 4d 9a 7e 85 d2 0f 85 23 0b 00 00 <48> ba 00 00 00 00 00 fc ff df 48 8b 7c 24 48 48 89 fe 83 e7 07 48 RSP: 0018:ffffc90003d87678 EFLAGS: 00000046 RAX: 0000000000000002 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffff888020293b80 RDI: ffff888020294751 RBP: dffffc0000000000 R08: 0000000000000006 R09: fffffbfff242ade8 R10: ffffffff92156f47 R11: 0000000000000005 R12: ffff888020294730 R13: ffff888020294639 R14: ffff888020294640 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f798731e0d0 CR3: 000000000cf78000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] __pte_offset_map_lock+0xf1/0x2f0 mm/pgtable-generic.c:373 pte_offset_map_lock include/linux/mm.h:2958 [inline] __get_locked_pte+0x75/0xc0 mm/memory.c:1850 get_locked_pte include/linux/mm.h:2683 [inline] __text_poke+0x224/0xca0 arch/x86/kernel/alternative.c:1901 text_poke_bp_batch+0x3e0/0x750 arch/x86/kernel/alternative.c:2319 text_poke_flush arch/x86/kernel/alternative.c:2488 [inline] text_poke_flush arch/x86/kernel/alternative.c:2485 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2495 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d7/0x400 kernel/jump_label.c:829 static_key_enable_cpuslocked+0x1b7/0x270 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate mm/kfence/core.c:826 [inline] toggle_allocation_gate+0xf4/0x250 mm/kfence/core.c:818 process_one_work+0x886/0x15d0 kernel/workqueue.c:2633 process_scheduled_works kernel/workqueue.c:2706 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2787 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 2.330 msecs