INFO: task syz-executor.1:27470 blocked for more than 143 seconds. Not tainted 6.7.0-rc4-syzkaller-00384-gb10a3ccaf6e3 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:25680 pid:27470 tgid:27468 ppid:5095 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 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+0xeea/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:802 [inline] chown_common+0x3e0/0x850 fs/open.c:773 do_fchownat+0x16d/0x240 fs/open.c:814 __do_sys_lchown fs/open.c:839 [inline] __se_sys_lchown fs/open.c:837 [inline] __x64_sys_lchown+0x85/0x90 fs/open.c:837 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f916f07cba9 RSP: 002b:00007f916fd7d0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000005e RAX: ffffffffffffffda RBX: 00007f916f19c050 RCX: 00007f916f07cba9 RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000000020000140 RBP: 00007f916f0c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f916f19c050 R15: 00007ffcadce5d68 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d92d060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8d92d060 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8d92d060 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4809: #0: ffff88802b3800a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 3 locks held by syz-executor.1/27469: 2 locks held by syz-executor.1/27470: #0: ffff888071b08418 (sb_writers#22){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:404 #1: ffff88807979b030 (&sb->s_type->i_mutex_key#29){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff88807979b030 (&sb->s_type->i_mutex_key#29){++++}-{3:3}, at: chown_common+0x3e0/0x850 fs/open.c:773 4 locks held by syz-executor.2/29095: 2 locks held by syz-executor.2/29098: #0: ffff88802ea0e418 (sb_writers#22){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:404 #1: ffff888080dfbd30 (&sb->s_type->i_mutex_key#29){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff888080dfbd30 (&sb->s_type->i_mutex_key#29){++++}-{3:3}, at: chown_common+0x3e0/0x850 fs/open.c:773 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc4-syzkaller-00384-gb10a3ccaf6e3 #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+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+0xfaf/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: 27469 Comm: syz-executor.1 Not tainted 6.7.0-rc4-syzkaller-00384-gb10a3ccaf6e3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x10/0x60 kernel/kcov.c:207 Code: 89 fb e8 13 00 00 00 48 8b 3d e4 34 a6 0b 48 89 de 5b e9 e3 2a 5b 00 0f 1f 00 f3 0f 1e fa 48 8b 04 24 65 48 8b 0d 00 3c 75 7e <65> 8b 15 01 3c 75 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 RSP: 0018:ffffc9000502f388 EFLAGS: 00000206 RAX: ffffffff81c5e64d RBX: 00fff00000008124 RCX: ffff888014fe0000 RDX: 0000000000000000 RSI: 0000000000000100 RDI: 0000000000000000 RBP: 0000000000000100 R08: ffffffff81c5e4f0 R09: 1ffffd4000412160 R10: dffffc0000000000 R11: fffff94000412161 R12: 1ffffd4000412160 R13: ffffea0002090b00 R14: ffffea0002090b08 R15: 1ffffd4000412161 FS: 00007f916fd9e6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff444e51866 CR3: 0000000027da7000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: folio_mark_accessed+0x32d/0x11b0 mm/swap.c:473 __find_get_block+0x310/0x1150 fs/buffer.c:1405 bdev_getblk+0x3b/0x6d0 fs/buffer.c:1423 __bread_gfp+0xac/0x420 fs/buffer.c:1474 sb_bread include/linux/buffer_head.h:324 [inline] exfat_get_dentry+0x53b/0x730 fs/exfat/dir.c:770 exfat_readdir fs/exfat/dir.c:121 [inline] exfat_iterate+0xbd6/0x3400 fs/exfat/dir.c:261 wrap_directory_iterator+0x91/0xd0 fs/readdir.c:67 iterate_dir+0x1cd/0x540 fs/readdir.c:106 __do_sys_getdents64 fs/readdir.c:405 [inline] __se_sys_getdents64+0x20d/0x4f0 fs/readdir.c:390 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f916f07cba9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f916fd9e0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007f916f19bf80 RCX: 00007f916f07cba9 RDX: 00000000000000a3 RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00007f916f0c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f916f19bf80 R15: 00007ffcadce5d68