INFO: task syz-executor.4:18302 blocked for more than 143 seconds. Not tainted 6.6.0-syzkaller-14142-g90b0c2b2edd1 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:25656 pid:18302 tgid:18295 ppid:5110 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_read_slowpath kernel/locking/rwsem.c:1086 [inline] __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x703/0xa40 kernel/locking/rwsem.c:1528 inode_lock_shared include/linux/fs.h:812 [inline] dir_relax_shared include/linux/fs.h:3437 [inline] ext4_readdir+0x1d55/0x37e0 fs/ext4/dir.c:302 iterate_dir+0x1cd/0x540 fs/readdir.c:106 __do_sys_getdents fs/readdir.c:322 [inline] __se_sys_getdents+0x1ef/0x4c0 fs/readdir.c:307 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:0x7fa89c07cae9 RSP: 002b:00007fa89cd1e0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007fa89c19c050 RCX: 00007fa89c07cae9 RDX: 00000000000000c2 RSI: 00000000200049c0 RDI: 0000000000000007 RBP: 00007fa89c0c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fa89c19c050 R15: 00007fff7f3dd1c8 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d92d360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8d92d360 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8d92d360 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6613 2 locks held by getty/4813: #0: ffff88814c3200a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.1/5086: 2 locks held by syz-executor.4/18302: #0: ffff88802736c0c8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x2b0/0x340 fs/file.c:1177 #1: ffff8880366fac00 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #1: ffff8880366fac00 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: dir_relax_shared include/linux/fs.h:3437 [inline] #1: ffff8880366fac00 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: ext4_readdir+0x1d55/0x37e0 fs/ext4/dir.c:302 6 locks held by syz-executor.4/18307: 1 lock held by syz-executor.0/19703: #0: ffff8880b993c358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-syzkaller-14142-g90b0c2b2edd1 #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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 19709 Comm: syz-executor.4 Not tainted 6.6.0-syzkaller-14142-g90b0c2b2edd1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:__sanitizer_cov_trace_pc+0x42/0x60 kernel/kcov.c:212 Code: c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 fc 15 00 00 00 74 2c 8b 91 d8 15 00 00 83 fa 02 75 21 48 8b 91 e0 15 00 00 <48> 8b 32 48 8d 7e 01 8b 89 dc 15 00 00 48 39 cf 73 08 48 89 3a 48 RSP: 0000:ffffc9000d16fa38 EFLAGS: 00000246 RAX: ffffffff81f66a66 RBX: 0000000000010785 RCX: ffff888025178000 RDX: ffffc9000e43a000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000d16faf0 R08: ffffffff81f669c5 R09: 1ffff1100f5b5a71 R10: dffffc0000000000 R11: ffffed100f5b5a72 R12: 0000000000000000 R13: ffff88801771eff8 R14: 8000000010785225 R15: 1ffff92001a2df4c FS: 00007fdff40466c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdfe99ff000 CR3: 0000000018b79000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: _static_cpu_has arch/x86/include/asm/cpufeature.h:171 [inline] pte_shstk arch/x86/include/asm/pgtable.h:135 [inline] pte_write arch/x86/include/asm/pgtable.h:178 [inline] __page_table_check_ptes_set+0x276/0x280 mm/page_table_check.c:196 page_table_check_ptes_set include/linux/page_table_check.h:74 [inline] set_ptes include/linux/pgtable.h:234 [inline] do_anonymous_page mm/memory.c:4217 [inline] do_pte_missing mm/memory.c:3728 [inline] handle_pte_fault mm/memory.c:5038 [inline] __handle_mm_fault mm/memory.c:5179 [inline] handle_mm_fault+0x62be/0x6650 mm/memory.c:5344 do_user_addr_fault arch/x86/mm/fault.c:1413 [inline] handle_page_fault arch/x86/mm/fault.c:1505 [inline] exc_page_fault+0x2ac/0x860 arch/x86/mm/fault.c:1561 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7fdff32286e6 Code: f0 72 6e 48 63 cd 48 01 c1 49 39 4f 08 72 4c 8d 4d ff 85 ed 74 33 66 0f 1f 44 00 00 48 39 f0 72 1b 4d 8b 07 49 89 c1 49 29 f1 <47> 0f b6 0c 08 45 84 c9 74 08 45 88 0c 00 49 8b 47 10 48 83 c0 01 RSP: 002b:00007fdff4045520 EFLAGS: 00010246 RAX: 0000000000000001 RBX: 00007fdff40455c0 RCX: 0000000000000101 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00007fdff4045660 RBP: 0000000000000102 R08: 00007fdfe99ff000 R09: 0000000000000000 R10: 0000000000000000 R11: 00007fdff40455d0 R12: 0000000000000001 R13: 00007fdff32ea520 R14: 0000000000000000 R15: 00007fdff4045660