INFO: task syz-executor168:5114 blocked for more than 143 seconds. Not tainted 6.9.0-syzkaller-12255-g0b32d436c015 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor168 state:D stack:26320 pid:5114 tgid:5114 ppid:5086 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x1796/0x49d0 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306 filemap_invalidate_lock include/linux/fs.h:836 [inline] blk_ioctl_zeroout block/ioctl.c:221 [inline] blkdev_common_ioctl+0x1637/0x23e0 block/ioctl.c:555 blkdev_ioctl+0x4cd/0x6b0 block/ioctl.c:670 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f63060d8b29 RSP: 002b:00007ffd5775adf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f63060d8b29 RDX: 0000000020000040 RSI: 000000000000127f RDI: 0000000000000003 RBP: 00000000000f4240 R08: 00000000000000a0 R09: 00000000000000a0 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000012504 R13: 00007ffd5775ae0c R14: 00007ffd5775ae20 R15: 00007ffd5775ae10 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e333e60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e333e60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8e333e60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 1 lock held by klogd/4523: 2 locks held by getty/4844: #0: ffff88802b24b0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f0e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor168/5095: 1 lock held by syz-executor168/5114: #0: ffff88801d5442c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:836 [inline] #0: ffff88801d5442c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:221 [inline] #0: ffff88801d5442c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1637/0x23e0 block/ioctl.c:555 1 lock held by syz-executor168/5115: #0: ffff88801d5442c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:836 [inline] #0: ffff88801d5442c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:221 [inline] #0: ffff88801d5442c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1637/0x23e0 block/ioctl.c:555 1 lock held by syz-executor168/5116: #0: ffff88801d5442c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:836 [inline] #0: ffff88801d5442c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:221 [inline] #0: ffff88801d5442c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1637/0x23e0 block/ioctl.c:555 1 lock held by syz-executor168/5123: #0: ffff88801d5442c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:836 [inline] #0: ffff88801d5442c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:221 [inline] #0: ffff88801d5442c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1637/0x23e0 block/ioctl.c:555 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.9.0-syzkaller-12255-g0b32d436c015 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 24 Comm: ksoftirqd/1 Not tainted 6.9.0-syzkaller-12255-g0b32d436c015 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline] RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline] RIP: 0010:rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline] RIP: 0010:rcu_is_watching+0x5a/0xb0 kernel/rcu/tree.c:724 Code: f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 dc 46 7c 00 48 c7 c3 08 7d 03 00 49 03 1e 48 89 d8 48 c1 e8 03 42 0f b6 04 38 <84> c0 75 22 8b 03 65 ff 0d 51 90 87 7e 74 10 83 e0 04 c1 e8 02 5b RSP: 0018:ffffc900001e7930 EFLAGS: 00000a02 RAX: 0000000000000000 RBX: ffff8880b9537d08 RCX: ffff888017ea0000 RDX: ffff888017ea0000 RSI: ffffffff8c1f10e0 RDI: ffffffff8c1f10a0 RBP: 0000000000000001 R08: ffffffff82043cf1 R09: 1ffffffff25edeb0 R10: dffffc0000000000 R11: fffffbfff25edeb1 R12: ffffea00018f9400 R13: 0000000000000000 R14: ffffffff8dda59e8 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f630614f0d0 CR3: 00000000684fc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock include/linux/rcupdate.h:782 [inline] page_ext_get+0x5a/0x2a0 mm/page_ext.c:521 __page_table_check_zero+0xb1/0x340 mm/page_table_check.c:142 page_table_check_free include/linux/page_table_check.h:41 [inline] free_pages_prepare mm/page_alloc.c:1089 [inline] free_unref_page+0xd2d/0xea0 mm/page_alloc.c:2565 rcu_do_batch kernel/rcu/tree.c:2535 [inline] rcu_core+0xafd/0x1830 kernel/rcu/tree.c:2809 handle_softirqs+0x2c4/0x970 kernel/softirq.c:554 run_ksoftirqd+0xca/0x130 kernel/softirq.c:928 smpboot_thread_fn+0x544/0xa30 kernel/smpboot.c:164 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.376 msecs