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: 502d, last: 10d
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 161d 256d 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 50d 176d 0/3 upstream: reported on 2023/10/27 20:30

Sample crash report:
INFO: task syz-executor.2:5505 blocked for more than 143 seconds.
      Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2  state:D stack:24888 pid:5505  tgid:5501  ppid:5087   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5409 [inline]
 __schedule+0x1781/0x49d0 kernel/sched/core.c:6736
 __schedule_loop kernel/sched/core.c:6813 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6828
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6885
 __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_64+0xfb/0x240
 entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7f2b5607de69
RSP: 002b:00007f2b56e8b0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2
RAX: ffffffffffffffda RBX: 00007f2b561ac050 RCX: 00007f2b5607de69
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f2b560ca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f2b561ac050 R15: 00007ffeac81f368
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/29:
 #0: ffffffff8e132020 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
 #0: ffffffff8e132020 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
 #0: ffffffff8e132020 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
2 locks held by getty/4812:
 #0: ffff88802ade60a0 (&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+0x6b5/0x1e10 drivers/tty/n_tty.c:2201
3 locks held by syz-executor.4/5080:
2 locks held by syz-executor.2/5505:
 #0: ffff88807b7f00e0 (&type->s_umount_key#101){.+.+}-{3:3}, at: __super_lock fs/super.c:58 [inline]
 #0: ffff88807b7f00e0 (&type->s_umount_key#101){.+.+}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
 #1: ffff88807b7f20e0 (&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.8.0-syzkaller-08951-gfe46a7dd189e #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:222 [inline]
 watchdog+0xfb0/0xff0 kernel/hung_task.c:379
 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:243
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 11 Comm: kworker/u8:1 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: events_unbound cfg80211_wiphy_work
RIP: 0010:unwind_get_return_address+0x5d/0xc0 arch/x86/kernel/unwind_orc.c:369
Code: a9 6a 54 00 85 ed 74 4a 48 83 c3 48 49 89 df 49 c1 ef 03 43 80 3c 37 00 74 08 48 89 df e8 4b 67 b4 00 48 8b 3b e8 b3 03 21 00 <89> c5 31 ff 89 c6 e8 78 6a 54 00 85 ed 74 20 e8 2f 66 54 00 43 80
RSP: 0018:ffffc90000107598 EFLAGS: 00000202
RAX: 0000000000000001 RBX: ffffc90000107608 RCX: ffffffff90d8b000
RDX: ffffffff90f13d01 RSI: 0000000000000001 RDI: ffffffff81e9a242
RBP: 0000000000000001 R08: ffffffff81408de7 R09: ffffffff8140a8df
R10: 0000000000000003 R11: ffff88801729bc00 R12: ffff88801729bc00
R13: ffffffff8180dfa0 R14: dffffc0000000000 R15: 1ffff92000020ec1
FS:  0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055be8c529600 CR3: 000000000df32000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 arch_stack_walk+0x125/0x1b0 arch/x86/kernel/stacktrace.c:26
 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:47 [inline]
 kasan_save_track+0x3f/0x80 mm/kasan/common.c:68
 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579
 poison_slab_object+0xa6/0xe0 mm/kasan/common.c:240
 __kasan_slab_free+0x37/0x60 mm/kasan/common.c:256
 kasan_slab_free include/linux/kasan.h:184 [inline]
 slab_free_hook mm/slub.c:2106 [inline]
 slab_free mm/slub.c:4280 [inline]
 kmem_cache_free+0x102/0x2b0 mm/slub.c:4344
 skb_kfree_head net/core/skbuff.c:1094 [inline]
 skb_free_head net/core/skbuff.c:1108 [inline]
 skb_release_data+0x556/0x870 net/core/skbuff.c:1136
 skb_release_all net/core/skbuff.c:1202 [inline]
 __kfree_skb net/core/skbuff.c:1216 [inline]
 kfree_skb_reason+0x195/0x390 net/core/skbuff.c:1252
 kfree_skb include/linux/skbuff.h:1267 [inline]
 ieee80211_iface_work+0x270/0xf10 net/mac80211/iface.c:1661
 cfg80211_wiphy_work+0x221/0x260 net/wireless/core.c:437
 process_one_work kernel/workqueue.c:3254 [inline]
 process_scheduled_works+0xa00/0x1770 kernel/workqueue.c:3335
 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416
 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:243
 </TASK>

Crashes (391):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
2024/02/29 23:40 upstream 805d849d7c3c 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/02/29 22:15 upstream 805d849d7c3c 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/02/29 16:17 upstream 805d849d7c3c 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in exfat_sync_fs
2024/02/29 15:13 upstream 805d849d7c3c 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/02/29 14:09 upstream e326df53af00 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in exfat_sync_fs
2024/02/29 01:50 upstream e326df53af00 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in exfat_sync_fs
2024/02/29 00:12 upstream e326df53af00 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in exfat_sync_fs
2024/02/28 15:07 upstream cf1182944c7c 55d6f11d .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.