INFO: task syz-executor.3:26418 blocked for more than 143 seconds.
Not tainted 6.5.0-rc1-syzkaller-00259-g831fe284d827 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:28232 pid:26418 ppid:5046 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0x1873/0x48f0 kernel/sched/core.c:6710
schedule+0xc3/0x180 kernel/sched/core.c:6786
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845
rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178
__down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306
inode_lock include/linux/fs.h:771 [inline]
__generic_file_fsync+0x9a/0x190 fs/libfs.c:1131
exfat_file_fsync+0x75/0x160 fs/exfat/file.c:371
vfs_fsync_range fs/sync.c:188 [inline]
vfs_fsync fs/sync.c:202 [inline]
do_fsync fs/sync.c:212 [inline]
__do_sys_fsync fs/sync.c:220 [inline]
__se_sys_fsync fs/sync.c:218 [inline]
__x64_sys_fsync+0x198/0x1e0 fs/sync.c:218
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:0x7f837d07cb29
RSP: 002b:00007f837de140c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004a
RAX: ffffffffffffffda RBX: 00007f837d19c050 RCX: 00007f837d07cb29
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005
RBP: 00007f837d0c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f837d19c050 R15: 00007fff36722f38
INFO: task syz-executor.3:26419 blocked for more than 143 seconds.
Not tainted 6.5.0-rc1-syzkaller-00259-g831fe284d827 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:27640 pid:26419 ppid:5046 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0x1873/0x48f0 kernel/sched/core.c:6710
schedule+0xc3/0x180 kernel/sched/core.c:6786
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845
rwsem_down_read_slowpath+0x5f4/0x950 kernel/locking/rwsem.c:1086
__down_read_common kernel/locking/rwsem.c:1250 [inline]
__down_read kernel/locking/rwsem.c:1263 [inline]
down_read+0x9c/0x2f0 kernel/locking/rwsem.c:1522
inode_lock_shared include/linux/fs.h:781 [inline]
open_last_lookups fs/namei.c:3559 [inline]
path_openat+0x7b3/0x3180 fs/namei.c:3790
do_filp_open+0x234/0x490 fs/namei.c:3820
do_sys_openat2+0x13e/0x1d0 fs/open.c:1407
do_sys_open fs/open.c:1422 [inline]
__do_sys_open fs/open.c:1430 [inline]
__se_sys_open fs/open.c:1426 [inline]
__x64_sys_open+0x225/0x270 fs/open.c:1426
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:0x7f837d07cb29
RSP: 002b:00007f837ddf30c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f837d19c120 RCX: 00007f837d07cb29
RDX: 0000000000000028 RSI: 0000000000000a01 RDI: 0000000020000000
RBP: 00007f837d0c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f837d19c120 R15: 00007fff36722f38
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8d328af0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:522
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8d328eb0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:522
1 lock held by khungtaskd/28:
#0: ffffffff8d328920 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/4764:
#0: ffff88802db3a098 (&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
3 locks held by syz-executor.3/26415:
1 lock held by syz-executor.3/26418:
#0: ffff888078f92330 (&sb->s_type->i_mutex_key#29){++++}-{3:3}, at: inode_lock include/linux/fs.h:771 [inline]
#0: ffff888078f92330 (&sb->s_type->i_mutex_key#29){++++}-{3:3}, at: __generic_file_fsync+0x9a/0x190 fs/libfs.c:1131
2 locks held by syz-executor.3/26419:
#0: ffff8880811a8410 (sb_writers#24){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:403
#1: ffff888078f92330 (&sb->s_type->i_mutex_key#29){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:781 [inline]
#1: ffff888078f92330 (&sb->s_type->i_mutex_key#29){++++}-{3:3}, at: open_last_lookups fs/namei.c:3559 [inline]
#1: ffff888078f92330 (&sb->s_type->i_mutex_key#29){++++}-{3:3}, at: path_openat+0x7b3/0x3180 fs/namei.c:3790
4 locks held by syz-executor.4/27441:
1 lock held by syz-executor.4/27446:
#0: ffff888078f91cb0 (&sb->s_type->i_mutex_key#29){++++}-{3:3}, at: inode_lock include/linux/fs.h:771 [inline]
#0: ffff888078f91cb0 (&sb->s_type->i_mutex_key#29){++++}-{3:3}, at: __generic_file_fsync+0x9a/0x190 fs/libfs.c:1131
2 locks held by syz-executor.4/27447:
#0: ffff88809412c410 (sb_writers#24){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:403
#1: ffff888078f91cb0 (&sb->s_type->i_mutex_key#29){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:781 [inline]
#1: ffff888078f91cb0 (&sb->s_type->i_mutex_key#29){++++}-{3:3}, at: open_last_lookups fs/namei.c:3559 [inline]
#1: ffff888078f91cb0 (&sb->s_type->i_mutex_key#29){++++}-{3:3}, at: path_openat+0x7b3/0x3180 fs/namei.c:3790
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.5.0-rc1-syzkaller-00259-g831fe284d827 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/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+0x187/0x300 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+0xec2/0xf00 kernel/hung_task.c:379
kthread+0x2b8/0x350 kernel/kthread.c:389
ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296
RIP: 0000:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 26415 Comm: syz-executor.3 Not tainted 6.5.0-rc1-syzkaller-00259-g831fe284d827 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023
RIP: 0010:folio_mark_accessed+0xb7/0xf00
Code: 89 ff e8 7c 8c 23 00 4d 8b 27 41 83 e4 02 31 ff 4c 89 e6 e8 ab d3 ca ff 48 b8 00 00 00 00 00 fc ff df 48 8b 0c 24 80 3c 01 00 <74> 08 4c 89 f7 e8 4f 8c 23 00 49 8b 1e 83 e3 01 31 ff 48 89 de e8
RSP: 0018:ffffc900150cf3d8 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffffd40004211d9
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: ffffc900150cf570 R08: ffffffff81c13435 R09: 1ffffd40004211d8
R10: dffffc0000000000 R11: fffff940004211d9 R12: 0000000000000002
R13: 1ffffd40004211d8 R14: ffffea0002108ec8 R15: ffffea0002108ec0
FS: 00007f837de356c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcca3704866 CR3: 000000002ca36000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__find_get_block+0x2d3/0x10e0 fs/buffer.c:1423
__getblk_gfp+0x2f/0x630 fs/buffer.c:1441
__bread_gfp+0x2e/0x380 fs/buffer.c:1479
sb_bread include/linux/buffer_head.h:351 [inline]
exfat_get_dentry+0x53b/0x730 fs/exfat/dir.c:768
exfat_readdir fs/exfat/dir.c:117 [inline]
exfat_iterate+0xbfa/0x3380 fs/exfat/dir.c:253
iterate_dir+0x231/0x5a0
__do_sys_getdents64 fs/readdir.c:369 [inline]
__se_sys_getdents64+0x20d/0x4f0 fs/readdir.c:354
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:0x7f837d07cb29
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:00007f837de350c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9
RAX: ffffffffffffffda RBX: 00007f837d19bf80 RCX: 00007f837d07cb29
RDX: 00000000000000c2 RSI: 00000000200004c0 RDI: 0000000000000005
RBP: 00007f837d0c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f837d19bf80 R15: 00007fff36722f38