INFO: task syz-executor.0:5716 blocked for more than 143 seconds. Not tainted 6.5.0-syzkaller-04592-gd68b4b6f307d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24616 pid:5716 ppid:5377 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x1873/0x48f0 kernel/sched/core.c:6695 schedule+0xc3/0x180 kernel/sched/core.c:6771 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 inode_lock_nested include/linux/fs.h:837 [inline] filename_create+0x260/0x530 fs/namei.c:3889 do_mkdirat+0xb7/0x520 fs/namei.c:4135 __do_sys_mkdir fs/namei.c:4163 [inline] __se_sys_mkdir fs/namei.c:4161 [inline] __x64_sys_mkdir+0x6e/0x80 fs/namei.c:4161 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa77d67cb29 RSP: 002b:00007fa77e3d00c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007fa77d79bf80 RCX: 00007fa77d67cb29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007fa77d6c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fa77d79bf80 R15: 00007ffd54a6b888 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8d32c0e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by syslogd/4458: #0: ffff8880b993c058 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 2 locks held by getty/4775: #0: ffff888028bac098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1dc0 drivers/tty/n_tty.c:2187 2 locks held by syz-executor.0/5716: #0: ffff8880654b6410 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:403 #1: ffff888065803d30 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:837 [inline] #1: ffff888065803d30 (&sb->s_type->i_mutex_key#21/1){+.+.}-{3:3}, at: filename_create+0x260/0x530 fs/namei.c:3889 3 locks held by syz-executor.0/5722: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.5.0-syzkaller-04592-gd68b4b6f307d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/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+0xdf5/0xe40 kernel/hung_task.c:379 kthread+0x2b8/0x350 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5722 Comm: syz-executor.0 Not tainted 6.5.0-syzkaller-04592-gd68b4b6f307d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:kasan_check_range+0x1ba/0x290 mm/kasan/generic.c:187 Code: fb 48 8d 5d 07 48 85 ed 48 0f 49 dd 48 83 e3 f8 48 29 dd 74 12 41 80 3b 00 0f 85 a2 00 00 00 49 ff c3 48 ff cd 75 ee 5b 41 5c <41> 5e 41 5f 5d c3 40 84 ed 75 5f f7 c5 00 ff 00 00 75 5c f7 c5 00 RSP: 0018:ffffc9000588f678 EFLAGS: 00000256 RAX: ffff88806867f001 RBX: 0000000000000080 RCX: ffffffff8207bb87 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88806867f0e8 RBP: 0000000000000000 R08: ffff88806867f0ef R09: 1ffff1100d0cfe1d R10: dffffc0000000000 R11: ffffed100d0cfe1e R12: ffff88806867f0e8 R13: 0000000000000005 R14: dffffc0000000001 R15: ffffed100d0cfe1e FS: 00007fa77e3af6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb45d8c66e4 CR3: 00000000799cf000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit_acquire include/asm-generic/bitops/instrumented-non-atomic.h:153 [inline] buffer_uptodate include/linux/buffer_head.h:173 [inline] __bread_gfp+0x47/0x380 fs/buffer.c:1481 sb_bread include/linux/buffer_head.h:349 [inline] __exfat_ent_get fs/exfat/fatent.c:48 [inline] exfat_ent_get+0x14d/0x400 fs/exfat/fatent.c:97 exfat_readdir fs/exfat/dir.c:187 [inline] exfat_iterate+0x137e/0x3400 fs/exfat/dir.c:261 wrap_directory_iterator+0x91/0xd0 fs/readdir.c:67 iterate_dir+0x1cd/0x580 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:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa77d67cb29 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:00007fa77e3af0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007fa77d79c050 RCX: 00007fa77d67cb29 RDX: 0000000000000098 RSI: 0000000020000080 RDI: 0000000000000004 RBP: 00007fa77d6c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fa77d79c050 R15: 00007ffd54a6b888