INFO: task syz-executor273:5082 blocked for more than 143 seconds. Not tainted 6.7.0-rc1-syzkaller-00019-gc42d9eeef8e5 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor273 state:D stack:28208 pid:5082 tgid:5082 ppid:5079 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 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] blk_ioctl_zeroout block/ioctl.c:184 [inline] blkdev_common_ioctl+0x10ee/0x1ce0 block/ioctl.c:513 blkdev_ioctl+0x249/0x770 block/ioctl.c:627 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fa9a4ccbae9 RSP: 002b:00007ffdf2748de8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa9a4ccbae9 RDX: 0000000020000040 RSI: 000000000000127f RDI: 0000000000000003 RBP: 00000000000f4240 R08: 00000000000000a0 R09: 00000000000000a0 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffdf2749008 R14: 00007ffdf2748e10 R15: 00007ffdf2748e00 INFO: task syz-executor273:5084 blocked for more than 143 seconds. Not tainted 6.7.0-rc1-syzkaller-00019-gc42d9eeef8e5 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor273 state:D stack:28208 pid:5084 tgid:5084 ppid:5081 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 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] blk_ioctl_zeroout block/ioctl.c:184 [inline] blkdev_common_ioctl+0x10ee/0x1ce0 block/ioctl.c:513 blkdev_ioctl+0x249/0x770 block/ioctl.c:627 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fa9a4ccbae9 RSP: 002b:00007ffdf2748de8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa9a4ccbae9 RDX: 0000000020000040 RSI: 000000000000127f RDI: 0000000000000003 RBP: 00000000000f4240 R08: 00000000000000a0 R09: 00000000000000a0 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffdf2749008 R14: 00007ffdf2748e10 R15: 00007ffdf2748e00 INFO: task syz-executor273:5085 blocked for more than 143 seconds. Not tainted 6.7.0-rc1-syzkaller-00019-gc42d9eeef8e5 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor273 state:D stack:28208 pid:5085 tgid:5085 ppid:5083 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 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] blk_ioctl_zeroout block/ioctl.c:184 [inline] blkdev_common_ioctl+0x10ee/0x1ce0 block/ioctl.c:513 blkdev_ioctl+0x249/0x770 block/ioctl.c:627 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fa9a4ccbae9 RSP: 002b:00007ffdf2748de8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa9a4ccbae9 RDX: 0000000020000040 RSI: 000000000000127f RDI: 0000000000000003 RBP: 00000000000f4240 R08: 00000000000000a0 R09: 00000000000000a0 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffdf2749008 R14: 00007ffdf2748e10 R15: 00007ffdf2748e00 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cfabce0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8cfabce0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8cfabce0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 2 locks held by getty/4825: #0: ffff88802608c0a0 (&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-executor273/5080: 1 lock held by syz-executor273/5082: #0: ffff88801b64c2c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:847 [inline] #0: ffff88801b64c2c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:184 [inline] #0: ffff88801b64c2c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x10ee/0x1ce0 block/ioctl.c:513 1 lock held by syz-executor273/5084: #0: ffff88801b64c2c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:847 [inline] #0: ffff88801b64c2c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:184 [inline] #0: ffff88801b64c2c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x10ee/0x1ce0 block/ioctl.c:513 1 lock held by syz-executor273/5085: #0: ffff88801b64c2c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:847 [inline] #0: ffff88801b64c2c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:184 [inline] #0: ffff88801b64c2c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x10ee/0x1ce0 block/ioctl.c:513 1 lock held by syz-executor273/5103: #0: ffff88801b64c2c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:847 [inline] #0: ffff88801b64c2c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:184 [inline] #0: ffff88801b64c2c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x10ee/0x1ce0 block/ioctl.c:513 1 lock held by syz-executor273/5104: #0: ffff88801b64c2c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:847 [inline] #0: ffff88801b64c2c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:184 [inline] #0: ffff88801b64c2c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x10ee/0x1ce0 block/ioctl.c:513 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc1-syzkaller-00019-gc42d9eeef8e5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 743 Comm: kworker/u4:6 Not tainted 6.7.0-rc1-syzkaller-00019-gc42d9eeef8e5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:memcmp+0x74/0x1c0 lib/string.c:692 Code: 83 c5 01 4c 39 e3 0f 84 21 01 00 00 48 89 d8 48 89 da 48 c1 e8 03 83 e2 07 42 0f b6 04 28 38 d0 7f 08 84 c0 0f 85 27 01 00 00 <48> 89 ea 48 89 e9 0f b6 03 48 c1 ea 03 83 e1 07 42 0f b6 14 2a 38 RSP: 0018:ffffc90003abf970 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffffffff81ddd7f5 RCX: 0000000000000003 RDX: 0000000000000005 RSI: ffffffff90b2f34b RDI: ffffffff81ddd7f4 RBP: ffffffff90b2f34c R08: 0000000000000000 R09: 0000000000011e81 R10: ffff888013068627 R11: 0000000000000006 R12: ffffffff81ddd7f8 R13: dffffc0000000000 R14: ffffffff8d1217c0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056389f043680 CR3: 000000000cd77000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: memcmp include/linux/fortify-string.h:724 [inline] __text_poke+0x914/0xca0 arch/x86/kernel/alternative.c:1877 text_poke_bp_batch+0x3e0/0x750 arch/x86/kernel/alternative.c:2238 text_poke_flush arch/x86/kernel/alternative.c:2407 [inline] text_poke_flush arch/x86/kernel/alternative.c:2404 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2414 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_disable_cpuslocked+0x154/0x1c0 kernel/jump_label.c:235 static_key_disable+0x1a/0x20 kernel/jump_label.c:243 toggle_allocation_gate mm/kfence/core.c:835 [inline] toggle_allocation_gate+0x13f/0x250 mm/kfence/core.c:822 process_one_work+0x886/0x15d0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 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: 1.905 msecs