syzbot


INFO: task hung in exfat_sync_fs

Status: upstream: reported on 2023/07/29 17:40
Subsystems: exfat
[Documentation on labels]
Reported-by: syzbot+205c2644abdff9d3f9fc@syzkaller.appspotmail.com
First crash: 508d, last: 13h20m
Discussions (6)
Title Replies (including bot) Last reply
[syzbot] Monthly exfat report (Mar 2024) 0 (1) 2024/03/06 22:08
[syzbot] Monthly exfat report (Nov 2023) 2 (3) 2023/11/29 15:48
[syzbot] Monthly exfat report (Oct 2023) 0 (1) 2023/10/25 13:11
[syzbot] Monthly exfat report (Sep 2023) 0 (1) 2023/09/11 08:39
[syzbot] Monthly exfat report (Aug 2023) 0 (1) 2023/08/09 12:33
[syzbot] [fat?] INFO: task hung in exfat_sync_fs 0 (1) 2023/07/29 17:40
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: task hung in exfat_sync_fs 3 167d 262d 0/3 auto-obsoleted due to no activity on 2024/02/20 04:29
linux-6.1 INFO: task hung in exfat_sync_fs 14 56d 182d 0/3 upstream: reported on 2023/10/27 20:30

Sample crash report:
INFO: task syz-executor.0:6912 blocked for more than 143 seconds.
      Not tainted 6.9.0-rc5-syzkaller-00159-gc942a0cd3603 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0  state:D stack:24248 pid:6912  tgid:6911  ppid:6472   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5409 [inline]
 __schedule+0x1796/0x4a00 kernel/sched/core.c:6746
 __schedule_loop kernel/sched/core.c:6823 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6838
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895
 __mutex_lock_common kernel/locking/mutex.c:684 [inline]
 __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
 exfat_sync_fs+0x6b/0x100 fs/exfat/super.c:53
 iterate_supers+0xc6/0x190 fs/super.c:922
 ksys_sync+0xdb/0x1c0 fs/sync.c:104
 __do_sys_sync+0xe/0x20 fs/sync.c:113
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fbc7527dea9
RSP: 002b:00007fbc74dff0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2
RAX: ffffffffffffffda RBX: 00007fbc753abf80 RCX: 00007fbc7527dea9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007fbc752ca4a4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fbc753abf80 R15: 00007ffcef4666b8
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/29:
 #0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
 #0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline]
 #0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
4 locks held by klogd/4514:
2 locks held by getty/4832:
 #0: ffff88802ac5a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc90002f0e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201
3 locks held by syz-executor.4/6239:
2 locks held by syz-executor.0/6912:
 #0: ffff88802eb360e0 (&type->s_umount_key#82){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
 #0: ffff88802eb360e0 (&type->s_umount_key#82){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
 #1: ffff888067a100e0 (&sbi->s_lock){+.+.}-{3:3}, at: exfat_sync_fs+0x6b/0x100 fs/exfat/super.c:53

=============================================

NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc5-syzkaller-00159-gc942a0cd3603 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
 watchdog+0xfde/0x1020 kernel/hung_task.c:380
 kthread+0x2f0/0x390 kernel/kthread.c:388
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 6239 Comm: syz-executor.4 Not tainted 6.9.0-rc5-syzkaller-00159-gc942a0cd3603 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:__lock_acquire+0xea6/0x1fd0 kernel/locking/lockdep.c:5132
Code: c1 c6 08 31 c6 01 ca 29 f1 89 f3 c1 c3 10 31 cb 01 d6 29 da 89 dd c1 c5 13 31 d5 01 f3 29 ee 01 eb c1 c5 04 31 f5 48 c1 e5 20 <48> c7 c0 f0 05 a8 8f 48 c1 e8 03 0f b6 04 38 84 c0 0f 85 24 0c 00
RSP: 0018:ffffc90004707270 EFLAGS: 00000006
RAX: 00000000b8441468 RBX: 000000006cc81028 RCX: 000000004047b21a
RDX: 00000000c0e512c6 RSI: 00000000f3c317ad RDI: dffffc0000000000
RBP: 41236fb500000000 R08: ffffffff92f00517 R09: 1ffffffff25e00a2
R10: dffffc0000000000 R11: fffffbfff25e00a3 R12: 0000000067057de0
R13: ffff88802ac15a00 R14: 0000000000000000 R15: ffff88802ac15a00
FS:  000055557b1fe480(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005623348c0600 CR3: 0000000073104000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754
 fs_reclaim_acquire+0xaf/0x140 mm/page_alloc.c:3715
 might_alloc include/linux/sched/mm.h:312 [inline]
 bdev_getblk+0x42/0x610 fs/buffer.c:1425
 __bread_gfp+0xac/0x430 fs/buffer.c:1474
 sb_bread include/linux/buffer_head.h:321 [inline]
 exfat_get_dentry+0x53b/0x730 fs/exfat/dir.c:689
 exfat_readdir fs/exfat/dir.c:121 [inline]
 exfat_iterate+0xbd7/0x33e0 fs/exfat/dir.c:261
 wrap_directory_iterator+0x94/0xe0 fs/readdir.c:67
 iterate_dir+0x539/0x6f0 fs/readdir.c:110
 __do_sys_getdents64 fs/readdir.c:409 [inline]
 __se_sys_getdents64+0x20d/0x4f0 fs/readdir.c:394
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fdb84aa93a3
Code: c1 66 0f 1f 44 00 00 48 83 c4 08 48 89 ef 5b 5d e9 52 8b fa ff 66 90 b8 ff ff ff 7f 48 39 c2 48 0f 47 d0 b8 d9 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 05 c3 0f 1f 40 00 48 c7 c2 b0 ff ff ff f7 d8
RSP: 002b:00007fffb0774388 EFLAGS: 00000293 ORIG_RAX: 00000000000000d9
RAX: ffffffffffffffda RBX: 000055557b207970 RCX: 00007fdb84aa93a3
RDX: 0000000000008000 RSI: 000055557b207970 RDI: 0000000000000005
RBP: 000055557b207944 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000001000 R11: 0000000000000293 R12: ffffffffffffffb0
R13: 0000000000000010 R14: 000055557b207940 R15: 0000000000000018
 </TASK>

Crashes (407):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/26 20:54 upstream c942a0cd3603 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/04/25 18:53 upstream e33c4963bf53 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/04/25 15:39 upstream e88c4cfcb7b8 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/04/25 09:32 upstream e88c4cfcb7b8 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/04/25 00:46 upstream e88c4cfcb7b8 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/04/24 11:58 upstream 9d1ddab261f3 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/04/24 07:08 upstream 9d1ddab261f3 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in exfat_sync_fs
2024/04/23 20:21 upstream 71b1543c83d6 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in exfat_sync_fs
2024/04/23 18:03 upstream 71b1543c83d6 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/04/23 03:26 upstream a2c63a3f3d68 36c961ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/04/23 02:25 upstream 4d2008430ce8 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in exfat_sync_fs
2024/04/22 10:40 upstream ed30a4a51bb1 36c961ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/04/21 16:44 upstream 977b1ef51866 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/04/21 11:05 upstream 977b1ef51866 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/04/11 02:56 upstream fe46a7dd189e 33b9e058 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/03/29 01:44 upstream fe46a7dd189e e91187ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/03/25 07:38 upstream fe46a7dd189e 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in exfat_sync_fs
2024/03/20 10:36 upstream fe46a7dd189e a485f239 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in exfat_sync_fs
2024/03/16 13:59 upstream fe46a7dd189e d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in exfat_sync_fs
2024/03/13 21:26 upstream 61387b8dcf1d f919f202 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in exfat_sync_fs
2024/03/13 06:18 upstream 9187210eee7d db5b7ff0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in exfat_sync_fs
2024/03/13 04:06 upstream 9187210eee7d c35c26ec .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in exfat_sync_fs
2024/03/11 11:10 upstream e8f897f4afef 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/03/11 08:20 upstream fa4b851b4ad6 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/03/11 05:18 upstream fa4b851b4ad6 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/03/10 21:11 upstream 137e0ec05aeb 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in exfat_sync_fs
2024/03/10 19:35 upstream 137e0ec05aeb 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in exfat_sync_fs
2024/03/10 15:34 upstream 005f6f34bd47 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/03/10 08:41 upstream 005f6f34bd47 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/03/10 06:36 upstream 09e5c48fea17 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/03/10 04:15 upstream 09e5c48fea17 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/03/10 02:27 upstream 09e5c48fea17 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/03/09 19:13 upstream 09e5c48fea17 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/03/09 18:00 upstream 10d48d70e82d 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/03/09 16:56 upstream 10d48d70e82d 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/03/09 12:32 upstream 10d48d70e82d 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/03/08 06:38 upstream 3aaa8ce7a335 cf82cde1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/03/08 02:01 upstream 135288b73cef 2b789849 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/03/07 11:58 upstream 67be068d31d4 f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/03/07 05:23 upstream 67be068d31d4 f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in exfat_sync_fs
2024/03/06 14:12 upstream 5847c9777c30 f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in exfat_sync_fs
2024/03/05 12:02 upstream 90d35da658da 5fc53669 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/03/05 02:59 upstream 90d35da658da 5fc53669 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in exfat_sync_fs
2024/03/03 23:57 upstream 58c806d867bf 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in exfat_sync_fs
2024/03/03 21:53 upstream 58c806d867bf 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in exfat_sync_fs
2024/03/03 02:28 upstream 04b8076df253 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in exfat_sync_fs
2024/03/02 20:56 upstream 5ad3cb0ed525 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/03/01 20:54 upstream 87adedeba51a 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in exfat_sync_fs
2024/03/01 13:14 upstream 87adedeba51a 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/03/01 08:54 upstream 87adedeba51a 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/03/01 03:40 upstream 87adedeba51a 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2023/07/28 15:49 upstream 57012c57536f 92476829 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2023/07/25 17:21 upstream 0b5547c51827 6756545c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2023/07/14 07:26 upstream 4b810bf037e5 d624500f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2022/12/05 16:54 upstream 76dcd734eca2 045cbb84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/03/09 00:26 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 707081b61156 96d142e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in exfat_sync_fs
2023/05/29 19:08 linux-next 715abedee4cd cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in exfat_sync_fs
* Struck through repros no longer work on HEAD.