INFO: task syz-executor.4:3400 blocked for more than 143 seconds. Not tainted 6.6.0-syzkaller-14263-gaea6bf908d73 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27496 pid:3400 tgid:3396 ppid:5101 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1960/0x4a80 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0x149/0x260 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 rwsem_down_write_slowpath+0xee6/0x13a0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 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+0x1711/0x2860 block/ioctl.c:513 blkdev_ioctl+0x520/0x730 block/ioctl.c:627 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl+0xf8/0x170 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f25aea7cae9 RSP: 002b:00007f25ad5fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f25aeb9c050 RCX: 00007f25aea7cae9 RDX: 0000000020000100 RSI: 000000000000127f RDI: 0000000000000004 RBP: 00007f25aeac847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f25aeb9c050 R15: 00007ffdd2cf3958 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d92d0a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8d92d0a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8d92d0a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6613 2 locks held by kworker/0:2/780: #0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #0: ffff888012c72938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 #1: ffffc90004c17d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #1: ffffc90004c17d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 2 locks held by getty/4814: #0: ffff888026b5e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015a72f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 3 locks held by syz-executor.0/5088: #0: ffff88802abd6418 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:404 #1: ffff88802abd6608 (sb_internal){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1635 [inline] #1: ffff88802abd6608 (sb_internal){.+.+}-{0:0}, at: sb_start_intwrite include/linux/fs.h:1757 [inline] #1: ffff88802abd6608 (sb_internal){.+.+}-{0:0}, at: ext4_evict_inode+0x2e3/0xf20 fs/ext4/inode.c:212 #2: ffff88802abda950 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x2030/0x2290 fs/jbd2/transaction.c:463 2 locks held by syz-executor.1/5092: #0: ffff8880b983c358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xb0/0x140 kernel/sched/core.c:566 #1: ffff8880b9828808 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988 1 lock held by syz-executor.5/5091: #0: ffffffff8d932a78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #0: ffffffff8d932a78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:996 5 locks held by kworker/u4:12/23745: 1 lock held by syz-executor.3/2455: 1 lock held by syz-executor.4/3400: #0: ffff88801b092040 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:847 [inline] #0: ffff88801b092040 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:184 [inline] #0: ffff88801b092040 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x1711/0x2860 block/ioctl.c:513 1 lock held by syz-executor.4/4822: #0: ffff88806a7060e0 (&type->s_umount_key#84){+.+.}-{3:3}, at: xfs_open_devices+0x623/0x680 fs/xfs/xfs_super.c:497 5 locks held by syz-executor.2/4824: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.6.0-syzkaller-14263-gaea6bf908d73 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/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+0xfa9/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/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: 23745 Comm: kworker/u4:12 Not tainted 6.6.0-syzkaller-14263-gaea6bf908d73 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Workqueue: events_unbound cfg80211_wiphy_work RIP: 0010:hlock_class kernel/locking/lockdep.c:223 [inline] RIP: 0010:mark_lock+0x71/0x340 kernel/locking/lockdep.c:4655 Code: f5 09 eb 0b 89 d5 83 fa 20 0f 83 d1 02 00 00 41 be 01 00 00 00 89 e9 41 d3 e6 49 8d 5f 20 48 89 d8 48 c1 e8 03 42 0f b6 04 28 <84> c0 0f 85 28 02 00 00 8b 1b 81 e3 ff 1f 00 00 48 89 d8 48 c1 e8 RSP: 0018:ffffc900036f7758 EFLAGS: 00000806 RAX: 0000000000000000 RBX: ffff88802396e420 RCX: 0000000000000002 RDX: 0000000000000002 RSI: ffff88802396e400 RDI: ffff88802396d940 RBP: 0000000000000002 R08: dffffc0000000000 R09: 1ffffffff21b946e R10: dffffc0000000000 R11: fffffbfff21b946f R12: ffff88802396e3f8 R13: dffffc0000000000 R14: 0000000000000004 R15: ffff88802396e400 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f78e24d1000 CR3: 00000000a7533000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_usage kernel/locking/lockdep.c:4586 [inline] __lock_acquire+0x1160/0x7f70 kernel/locking/lockdep.c:5090 lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5753 process_one_work kernel/workqueue.c:2605 [inline] process_scheduled_works+0x83b/0x1400 kernel/workqueue.c:2703 worker_thread+0xa5f/0xff0 kernel/workqueue.c:2784 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242