INFO: task syz-executor330:5030 blocked for more than 143 seconds. Not tainted 6.4.0-next-20230630-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor330 state:D stack:28032 pid:5030 ppid:5029 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6709 schedule+0xde/0x1a0 kernel/sched/core.c:6785 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6844 rwsem_down_write_slowpath+0x3e2/0x1220 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0x1d2/0x200 kernel/locking/rwsem.c:1574 filemap_invalidate_lock include/linux/fs.h:816 [inline] blkdev_fallocate+0x1e8/0x3e0 block/fops.c:659 vfs_fallocate+0x491/0xe90 fs/open.c:324 ksys_fallocate fs/open.c:347 [inline] __do_sys_fallocate fs/open.c:355 [inline] __se_sys_fallocate fs/open.c:353 [inline] __x64_sys_fallocate+0xd3/0x140 fs/open.c:353 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6d29a77e29 RSP: 002b:00007ffc173d5818 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f6d29a77e29 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0008000001002000 R11: 0000000000000246 R12: 00007f6d29a3b600 R13: 0000000000000000 R14: 00007ffc173d5840 R15: 00007ffc173d5830 INFO: task syz-executor330:5035 blocked for more than 143 seconds. Not tainted 6.4.0-next-20230630-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor330 state:D stack:27584 pid:5035 ppid:5031 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6709 schedule+0xde/0x1a0 kernel/sched/core.c:6785 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6844 rwsem_down_write_slowpath+0x3e2/0x1220 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0x1d2/0x200 kernel/locking/rwsem.c:1574 filemap_invalidate_lock include/linux/fs.h:816 [inline] blkdev_fallocate+0x1e8/0x3e0 block/fops.c:659 vfs_fallocate+0x491/0xe90 fs/open.c:324 ksys_fallocate fs/open.c:347 [inline] __do_sys_fallocate fs/open.c:355 [inline] __se_sys_fallocate fs/open.c:353 [inline] __x64_sys_fallocate+0xd3/0x140 fs/open.c:353 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6d29a77e29 RSP: 002b:00007ffc173d5818 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f6d29a77e29 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0008000001002000 R11: 0000000000000246 R12: 00007f6d29a3b600 R13: 0000000000000000 R14: 00007ffc173d5840 R15: 00007ffc173d5830 INFO: task syz-executor330:5053 blocked for more than 143 seconds. Not tainted 6.4.0-next-20230630-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor330 state:D stack:27232 pid:5053 ppid:5025 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6709 schedule+0xde/0x1a0 kernel/sched/core.c:6785 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6844 rwsem_down_write_slowpath+0x3e2/0x1220 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0x1d2/0x200 kernel/locking/rwsem.c:1574 filemap_invalidate_lock include/linux/fs.h:816 [inline] blkdev_fallocate+0x1e8/0x3e0 block/fops.c:659 vfs_fallocate+0x491/0xe90 fs/open.c:324 ksys_fallocate fs/open.c:347 [inline] __do_sys_fallocate fs/open.c:355 [inline] __se_sys_fallocate fs/open.c:353 [inline] __x64_sys_fallocate+0xd3/0x140 fs/open.c:353 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6d29a77e29 RSP: 002b:00007ffc173d5818 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f6d29a77e29 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0008000001002000 R11: 0000000000000246 R12: 000000000000e36e R13: 00007ffc173d582c R14: 00007ffc173d5840 R15: 00007ffc173d5830 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c9a2170 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c9a1e70 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522 1 lock held by khungtaskd/28: #0: ffffffff8c9a2d80 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615 2 locks held by getty/4777: #0: ffff88814ac0a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xf08/0x13f0 drivers/tty/n_tty.c:2187 1 lock held by syz-executor330/5030: #0: ffff888148cace48 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:816 [inline] #0: ffff888148cace48 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e8/0x3e0 block/fops.c:659 1 lock held by syz-executor330/5034: 1 lock held by syz-executor330/5035: #0: ffff888148cace48 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:816 [inline] #0: ffff888148cace48 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e8/0x3e0 block/fops.c:659 1 lock held by syz-executor330/5053: #0: ffff888148cace48 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:816 [inline] #0: ffff888148cace48 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e8/0x3e0 block/fops.c:659 1 lock held by syz-executor330/5054: #0: ffff888148cace48 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:816 [inline] #0: ffff888148cace48 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e8/0x3e0 block/fops.c:659 1 lock held by syz-executor330/5061: #0: ffff888148cace48 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:816 [inline] #0: ffff888148cace48 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e8/0x3e0 block/fops.c:659 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-next-20230630-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2a4/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+0xe16/0x1090 kernel/hung_task.c:379 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 76 Comm: kworker/u4:4 Not tainted 6.4.0-next-20230630-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__lock_acquire+0x987/0x5e20 kernel/locking/lockdep.c:5127 Code: fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 f2 4a 00 00 44 8b 4c 24 10 49 8b 9c 24 b8 0a 00 00 45 85 c9 0f 84 33 06 00 00 45 31 ff <48> b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 80 3c 02 00 0f RSP: 0018:ffffc900015b7868 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: 09d2557549e10215 RCX: ffffffff81661a54 RDX: 1ffff110033d78c7 RSI: 0000000000000008 RDI: ffffffff91867e80 RBP: ffff888019ebc6c0 R08: 0000000000000000 R09: 0000000000000003 R10: ffffffff91867e87 R11: 0000000000000001 R12: ffff888019ebbb80 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb08651c580 CR3: 000000000c775000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5761 [inline] lock_acquire+0x1b1/0x520 kernel/locking/lockdep.c:5726 __mutex_lock_common kernel/locking/mutex.c:603 [inline] __mutex_lock+0x12f/0x1350 kernel/locking/mutex.c:747 jump_label_lock kernel/jump_label.c:27 [inline] static_key_disable_cpuslocked+0x10c/0x1b0 kernel/jump_label.c:233 static_key_disable+0x1a/0x20 kernel/jump_label.c:243 toggle_allocation_gate mm/kfence/core.c:836 [inline] toggle_allocation_gate+0x143/0x230 mm/kfence/core.c:823 process_one_work+0xa34/0x16f0 kernel/workqueue.c:2597 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2748 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.380 msecs