syzbot


INFO: task hung in sync_inodes_sb (5)

Status: upstream: reported C repro on 2023/07/18 04:00
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+30476ec1b6dc84471133@syzkaller.appspotmail.com
First crash: 279d, last: 9d07h
Cause bisection: failed (error log, bisect log)
  
Fix bisection: the issue occurs on the latest tested release (bisect log)
  
Discussions (10)
Title Replies (including bot) Last reply
[syzbot] Monthly ext4 report (Apr 2024) 0 (1) 2024/04/12 13:18
[syzbot] Monthly ext4 report (Feb 2024) 0 (1) 2024/02/09 20:57
[syzbot] Monthly ext4 report (Jan 2024) 0 (1) 2024/01/09 18:20
[syzbot] Monthly ext4 report (Dec 2023) 0 (1) 2023/12/10 10:05
[syzbot] Monthly xfs report (Nov 2023) 0 (1) 2023/11/08 23:44
[syzbot] Monthly ext4 report (Nov 2023) 0 (1) 2023/11/08 23:44
[syzbot] Monthly ext4 report (Oct 2023) 0 (1) 2023/10/09 09:23
[syzbot] Monthly ext4 report (Sep 2023) 0 (1) 2023/09/07 09:25
[syzbot] Monthly ext4 report (Aug 2023) 0 (1) 2023/08/07 07:27
[syzbot] [ext4?] INFO: task hung in sync_inodes_sb (5) 0 (1) 2023/07/18 04:00
Similar bugs (11)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: task hung in sync_inodes_sb origin:upstream missing-backport C error 66 8d03h 402d 0/3 upstream: reported C repro on 2023/03/10 02:13
upstream INFO: task hung in sync_inodes_sb (2) fs 4 1820d 1837d 0/26 auto-closed as invalid on 2019/10/19 16:22
upstream INFO: task hung in sync_inodes_sb (3) fs mm C done 6 1563d 1571d 15/26 fixed on 2020/02/14 01:19
upstream INFO: task hung in sync_inodes_sb fs 58 1917d 2156d 0/26 closed as dup on 2018/09/08 15:37
linux-4.14 INFO: task hung in sync_inodes_sb 1 1533d 1533d 0/1 auto-closed as invalid on 2020/06/02 17:26
android-49 INFO: task hung in sync_inodes_sb 11 2057d 2136d 0/3 auto-closed as invalid on 2019/02/24 06:19
android-49 INFO: task hung in sync_inodes_sb (2) 2 1646d 1808d 0/3 auto-closed as invalid on 2020/02/10 00:14
upstream INFO: task hung in sync_inodes_sb (4) nilfs C done inconclusive 345 286d 1241d 23/26 fixed on 2023/07/04 09:17
linux-6.1 INFO: task hung in sync_inodes_sb origin:upstream missing-backport C 53 4d22h 402d 0/3 upstream: reported C repro on 2023/03/10 02:07
linux-4.14 INFO: task hung in sync_inodes_sb (2) vfs C 11 426d 1193d 0/1 upstream: reported C repro on 2021/01/07 19:48
linux-4.19 INFO: task hung in sync_inodes_sb xfs C error 13 444d 1284d 0/1 upstream: reported C repro on 2020/10/09 07:19
Last patch testing requests (7)
Created Duration User Patch Repo Result
2024/03/03 18:09 23m retest repro upstream OK log
2024/03/03 18:09 23m retest repro upstream OK log
2024/03/03 18:09 23m retest repro upstream OK log
2024/03/03 18:09 23m retest repro upstream OK log
2024/03/03 18:09 2h41m retest repro linux-next error OK
2024/03/03 16:03 20m retest repro upstream OK log
2024/03/03 16:03 19m retest repro upstream OK log

Sample crash report:
INFO: task syz-executor171:5042 blocked for more than 143 seconds.
      Not tainted 6.5.0-next-20230828-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor171 state:D stack:27528 pid:5042  ppid:5039   flags:0x00004002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0xee1/0x59f0 kernel/sched/core.c:6695
 schedule+0xe7/0x1b0 kernel/sched/core.c:6771
 wb_wait_for_completion+0x1ae/0x270 fs/fs-writeback.c:192
 sync_inodes_sb+0x1b7/0xa50 fs/fs-writeback.c:2736
 sync_filesystem fs/sync.c:64 [inline]
 sync_filesystem+0x16f/0x280 fs/sync.c:30
 generic_shutdown_super+0x7e/0x3c0 fs/super.c:656
 kill_block_super+0x3b/0x70 fs/super.c:1609
 ext4_kill_sb+0x6a/0xb0 fs/ext4/super.c:7305
 deactivate_locked_super+0xa0/0x2d0 fs/super.c:454
 deactivate_super+0xde/0x100 fs/super.c:504
 cleanup_mnt+0x222/0x3d0 fs/namespace.c:1254
 task_work_run+0x14d/0x240 kernel/task_work.c:179
 ptrace_notify+0x10c/0x130 kernel/signal.c:2387
 ptrace_report_syscall include/linux/ptrace.h:411 [inline]
 ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline]
 syscall_exit_work kernel/entry/common.c:251 [inline]
 syscall_exit_to_user_mode_prepare+0x120/0x220 kernel/entry/common.c:278
 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
 syscall_exit_to_user_mode+0xd/0x60 kernel/entry/common.c:296
 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f6d3564e587
RSP: 002b:00007ffdfa71f368 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f6d3564e587
RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffdfa71f420
RBP: 00007ffdfa71f420 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000202 R12: 00007ffdfa720490
R13: 00005555574346c0 R14: 431bde82d7b634db R15: 00007ffdfa7204b0
 </TASK>
INFO: lockdep is turned off.
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.5.0-next-20230828-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x299/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+0xfac/0x1230 kernel/hung_task.c:379
 kthread+0x33a/0x430 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4483 Comm: klogd Not tainted 6.5.0-next-20230828-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
RIP: 0010:__orc_find+0x2/0x130 arch/x86/kernel/unwind_orc.c:85
Code: e8 03 2e 1b 03 e9 08 fb ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 53 48 89 fb e8 97 95 4d 00 48 8b 03 5b c3 66 90 41 57 <41> 56 49 89 fe 41 55 41 54 49 89 cc 55 53 89 d3 48 83 ec 18 48 89
RSP: 0018:ffffc9000311f6f8 EFLAGS: 00000202
RAX: 000000000000e136 RBX: ffffc9000311f7e0 RCX: ffffffff813a71b3
RDX: 0000000000000001 RSI: ffffffff8f55471c RDI: ffffffff8edd1ec0
RBP: 0000000000000001 R08: 0000000000000004 R09: 0000000000003a71
R10: 0000000000098000 R11: 0000000000000000 R12: ffffffff813a71b3
R13: ffffffff8f55471c R14: 000000000000e136 R15: ffffc9000311f815
FS:  00007f58e4ab7380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055b731cb4600 CR3: 0000000029304000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 orc_find arch/x86/kernel/unwind_orc.c:227 [inline]
 unwind_next_frame+0x329/0x2390 arch/x86/kernel/unwind_orc.c:494
 __unwind_start+0x5a4/0x880 arch/x86/kernel/unwind_orc.c:760
 unwind_start arch/x86/include/asm/unwind.h:64 [inline]
 arch_stack_walk+0xaf/0x170 arch/x86/kernel/stacktrace.c:24
 stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122
 kasan_save_stack+0x33/0x50 mm/kasan/common.c:45
 kasan_set_track+0x25/0x30 mm/kasan/common.c:52
 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:522
 ____kasan_slab_free mm/kasan/common.c:236 [inline]
 ____kasan_slab_free+0x15b/0x1b0 mm/kasan/common.c:200
 kasan_slab_free include/linux/kasan.h:164 [inline]
 slab_free_hook mm/slub.c:1800 [inline]
 slab_free_freelist_hook+0x114/0x1e0 mm/slub.c:1826
 slab_free mm/slub.c:3809 [inline]
 __kmem_cache_free+0xb8/0x2f0 mm/slub.c:3822
 syslog_print+0x2bb/0x5d0 kernel/printk/printk.c:1645
 do_syslog+0x2d4/0x580 kernel/printk/printk.c:1732
 __do_sys_syslog kernel/printk/printk.c:1824 [inline]
 __se_sys_syslog kernel/printk/printk.c:1822 [inline]
 __x64_sys_syslog+0x74/0xb0 kernel/printk/printk.c:1822
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f58e4c18fa7
Code: 73 01 c3 48 8b 0d 81 ce 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 67 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 51 ce 0c 00 f7 d8 64 89 01 48
RSP: 002b:00007ffe74d98468 EFLAGS: 00000206 ORIG_RAX: 0000000000000067
RAX: ffffffffffffffda RBX: 00007f58e4db74a0 RCX: 00007f58e4c18fa7
RDX: 00000000000003ff RSI: 00007f58e4db74a0 RDI: 0000000000000002
RBP: 0000000000000000 R08: 0000000000000007 R09: 8779c1a6297cdc12
R10: 0000000000004000 R11: 0000000000000206 R12: 00007f58e4db74a0
R13: 00007f58e4da7212 R14: 00007f58e4db789c R15: 00007f58e4db789c
 </TASK>
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 2.280 msecs

Crashes (151):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/29 01:31 linux-next 2ee82481c392 7ba13a15 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root INFO: task hung in sync_inodes_sb
2023/11/21 06:01 upstream 98b1cc82c4af cb976f63 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root INFO: task hung in sync_inodes_sb
2023/11/10 20:40 upstream 89cdf9d55601 45e9b83e .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root INFO: task hung in sync_inodes_sb
2023/10/01 04:51 upstream 3b517966c561 8e26a358 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2023/08/29 22:42 upstream 1c59d383390f 7ba13a15 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root INFO: task hung in sync_inodes_sb
2023/08/24 05:31 upstream a5e505a99ca7 4d7ae7ab .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root INFO: task hung in sync_inodes_sb
2023/07/14 03:54 upstream eb26cbb1a754 55eda22f .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2024/02/18 16:00 upstream c02197fc9076 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2024/02/06 09:53 upstream 99bd3cb0d12e 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2024/01/31 16:29 upstream 2a6526c4f389 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in sync_inodes_sb
2024/01/27 14:31 upstream 3a5879d495b2 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2024/01/24 06:13 upstream 7ed2632ec7d7 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2024/01/16 20:39 upstream 052d534373b7 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2024/01/15 21:19 upstream 052d534373b7 2a7bcc7f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2024/01/14 19:55 upstream 052d534373b7 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in sync_inodes_sb
2024/01/14 04:21 upstream 052d534373b7 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2024/01/13 17:29 upstream 052d534373b7 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2024/01/07 16:40 upstream 52b1853b080a d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2024/01/07 13:11 upstream 52b1853b080a d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2024/01/04 21:16 upstream 5eff55d725a4 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2024/01/02 05:34 upstream 610a9b8f49fb fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2023/12/31 10:52 upstream 453f5db0619e fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in sync_inodes_sb
2023/12/30 07:36 upstream f016f7547aee fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2023/12/27 00:54 upstream fbafc3e621c3 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2023/12/24 16:21 upstream 861deac3b092 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2023/12/21 10:08 upstream a4aebe936554 4f9530a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2023/12/19 20:36 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2023/12/19 04:38 upstream 2cf4f94d8e86 924661f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2023/12/18 16:21 upstream ceb6a6f023fd 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2023/12/17 12:58 upstream 3b8a9b2e6809 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2023/12/16 20:37 upstream c8e97fc6b4c0 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2023/12/13 17:23 upstream 88035e5694a8 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2023/12/11 09:51 upstream a39b6ac3781d 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2023/12/11 08:15 upstream a39b6ac3781d 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2023/12/09 04:55 upstream f2e8a57ee903 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2023/12/02 12:59 upstream 815fb87b7530 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2023/12/02 08:31 upstream 815fb87b7530 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2023/11/30 23:31 upstream 3b47bc037bd4 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2023/11/30 16:24 upstream 3b47bc037bd4 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in sync_inodes_sb
2023/11/26 16:26 upstream 090472ed9c92 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2023/11/25 16:56 upstream 0f5cc96c367f 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in sync_inodes_sb
2023/11/25 15:49 upstream 0f5cc96c367f 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2023/11/24 13:45 upstream d3fa86b1a7b4 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in sync_inodes_sb
2023/11/18 10:38 upstream 791c8ab095f7 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in sync_inodes_sb
2023/11/17 04:50 upstream 7475e51b8796 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2023/11/13 04:53 upstream b57b17e88bf5 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in sync_inodes_sb
2023/11/07 12:35 upstream be3ca57cfb77 83211397 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2024/01/13 21:31 upstream 052d534373b7 551587c1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat INFO: task hung in sync_inodes_sb
2024/01/13 10:47 upstream 38814330fedd 551587c1 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat INFO: task hung in sync_inodes_sb
2024/01/12 22:44 upstream 70d201a40823 f6fa7c28 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat INFO: task hung in sync_inodes_sb
2024/01/12 16:07 upstream 70d201a40823 f6fa7c28 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat INFO: task hung in sync_inodes_sb
2023/07/10 21:16 upstream 3f01e9fed845 d47e94ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in sync_inodes_sb
2024/04/06 12:03 linux-next 8568bb2ccc27 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in sync_inodes_sb
2024/02/09 23:00 linux-next 445a555e0623 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in sync_inodes_sb
2024/01/21 21:17 linux-next ad5c60d66016 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in sync_inodes_sb
2024/02/05 04:07 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 41bccc98fb79 a67b2c42 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in sync_inodes_sb
* Struck through repros no longer work on HEAD.