INFO: task syz-executor126:5040 blocked for more than 143 seconds. Not tainted 6.5.0-rc2-next-20230719-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor126 state:D stack:28176 pid:5040 ppid:5034 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6709 schedule+0xe7/0x1b0 kernel/sched/core.c:6785 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6844 rwsem_down_write_slowpath+0x53e/0x1290 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0x1d3/0x200 kernel/locking/rwsem.c:1574 filemap_invalidate_lock include/linux/fs.h:816 [inline] blkdev_fallocate+0x1e6/0x3e0 block/fops.c:659 vfs_fallocate+0x46c/0xe80 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+0xd5/0x140 fs/open.c:353 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f06c66edae9 RSP: 002b:00007fffc7d53938 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f06c66edae9 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000003 RBP: 00000000000f4240 R08: 00000000000000a0 R09: 00000000000000a0 R10: 0000010000000002 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fffc7d53b58 R14: 00007fffc7d53960 R15: 00007fffc7d53950 INFO: task syz-executor126:5041 blocked for more than 143 seconds. Not tainted 6.5.0-rc2-next-20230719-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor126 state:D stack:28176 pid:5041 ppid:5037 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6709 schedule+0xe7/0x1b0 kernel/sched/core.c:6785 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6844 rwsem_down_write_slowpath+0x53e/0x1290 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0x1d3/0x200 kernel/locking/rwsem.c:1574 filemap_invalidate_lock include/linux/fs.h:816 [inline] blkdev_fallocate+0x1e6/0x3e0 block/fops.c:659 vfs_fallocate+0x46c/0xe80 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+0xd5/0x140 fs/open.c:353 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f06c66edae9 RSP: 002b:00007fffc7d53938 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f06c66edae9 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000003 RBP: 00000000000f4240 R08: 00000000000000a0 R09: 00000000000000a0 R10: 0000010000000002 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fffc7d53b58 R14: 00007fffc7d53960 R15: 00007fffc7d53950 INFO: task syz-executor126:5043 blocked for more than 143 seconds. Not tainted 6.5.0-rc2-next-20230719-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor126 state:D stack:28176 pid:5043 ppid:5036 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6709 schedule+0xe7/0x1b0 kernel/sched/core.c:6785 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6844 rwsem_down_write_slowpath+0x53e/0x1290 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0x1d3/0x200 kernel/locking/rwsem.c:1574 filemap_invalidate_lock include/linux/fs.h:816 [inline] blkdev_fallocate+0x1e6/0x3e0 block/fops.c:659 vfs_fallocate+0x46c/0xe80 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+0xd5/0x140 fs/open.c:353 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f06c66edae9 RSP: 002b:00007fffc7d53938 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f06c66edae9 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000003 RBP: 00000000000f4240 R08: 00000000000000a0 R09: 00000000000000a0 R10: 0000010000000002 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fffc7d53b58 R14: 00007fffc7d53960 R15: 00007fffc7d53950 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c9a6c10 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xef0 kernel/rcu/tasks.h:571 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c9a68d0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xef0 kernel/rcu/tasks.h:571 1 lock held by khungtaskd/28: #0: ffffffff8c9a7820 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615 2 locks held by getty/4785: #0: ffff88814ab15098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015972f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfcb/0x1480 drivers/tty/n_tty.c:2187 1 lock held by syz-executor126/5040: #0: ffff88801e6214c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:816 [inline] #0: ffff88801e6214c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e6/0x3e0 block/fops.c:659 1 lock held by syz-executor126/5041: #0: ffff88801e6214c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:816 [inline] #0: ffff88801e6214c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e6/0x3e0 block/fops.c:659 1 lock held by syz-executor126/5042: 1 lock held by syz-executor126/5043: #0: ffff88801e6214c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:816 [inline] #0: ffff88801e6214c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e6/0x3e0 block/fops.c:659 1 lock held by syz-executor126/5061: #0: ffff88801e6214c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:816 [inline] #0: ffff88801e6214c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e6/0x3e0 block/fops.c:659 1 lock held by syz-executor126/5068: #0: ffff88801e6214c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:816 [inline] #0: ffff88801e6214c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1e6/0x3e0 block/fops.c:659 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.5.0-rc2-next-20230719-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/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/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2ac/0x310 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+0xfab/0x1230 kernel/hung_task.c:379 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296 RIP: 0000:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1088 Comm: kworker/u4:5 Not tainted 6.5.0-rc2-next-20230719-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:lockdep_assert_cpus_held+0x0/0xf0 kernel/cpu.c:516 Code: 66 2e 0f 1f 84 00 00 00 00 00 66 0f 1f 00 e8 67 d2 38 00 48 c7 c7 20 d0 84 8c e9 7b 65 18 00 66 66 2e 0f 1f 84 00 00 00 00 00 <66> 0f 1f 00 53 e8 46 d2 38 00 48 c7 c0 04 02 ac 8e 48 ba 00 00 00 RSP: 0018:ffffc900057cfc00 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffffffff92172ce0 RCX: 0000000000000000 RDX: ffff8880213c3b80 RSI: ffffffff81b291e7 RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88801e843078 R13: ffff88801e843000 R14: ffff888013250000 R15: ffffffff92172380 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556d546f8 CR3: 000000000c776000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: static_key_disable_cpuslocked+0x5c/0x1b0 kernel/jump_label.c:226 static_key_disable+0x1a/0x20 kernel/jump_label.c:243 toggle_allocation_gate mm/kfence/core.c:834 [inline] toggle_allocation_gate+0x13f/0x250 mm/kfence/core.c:821 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2600 worker_thread+0x687/0x1110 kernel/workqueue.c:2751 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296 RIP: 0000:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.564 msecs