syzbot


INFO: task hung in sync_inodes_sb (4)

Status: upstream: reported C repro on 2020/11/21 04:55
Reported-by: syzbot+7d50f1e54a12ba3aeae2@syzkaller.appspotmail.com
First crash: 743d, last: 2d15h

Cause bisection: introduced by (bisect log) :
commit c68df2e7be0c1238ea3c281fd744a204ef3b15a0
Author: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Date: Thu Sep 15 13:30:02 2016 +0000

  mac80211: allow using AP_LINK_PS with mac80211-generated TIM IE

Crash: general protection fault in batadv_iv_ogm_queue_add (log)
Repro: C syz .config

Fix bisection: the fix commit could be any of (bisect log):
  34816d20f173 Merge tag 'gfs2-v5.10-rc5-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2
  f55966571d5e Merge tag 'drm-next-2021-07-08-1' of git://anongit.freedesktop.org/drm/drm
similar bugs (8):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in sync_inodes_sb (2) 4 1318d 1336d 0/24 auto-closed as invalid on 2019/10/19 16:22
upstream INFO: task hung in sync_inodes_sb (3) C done 6 1061d 1070d 16/24 fixed on 2020/02/14 01:19
upstream INFO: task hung in sync_inodes_sb 58 1416d 1654d 0/24 closed as dup on 2018/09/08 15:37
linux-4.14 INFO: task hung in sync_inodes_sb 1 1031d 1031d 0/1 auto-closed as invalid on 2020/06/02 17:26
android-49 INFO: task hung in sync_inodes_sb 11 1555d 1634d 0/3 auto-closed as invalid on 2019/02/24 06:19
android-49 INFO: task hung in sync_inodes_sb (2) 2 1144d 1306d 0/3 auto-closed as invalid on 2020/02/10 00:14
linux-4.14 INFO: task hung in sync_inodes_sb (2) C 8 31d 692d 0/1 upstream: reported C repro on 2021/01/07 19:48
linux-4.19 INFO: task hung in sync_inodes_sb C error 7 25d 782d 0/1 upstream: reported C repro on 2020/10/09 07:19
Patch testing requests:
Created Duration User Patch Repo Result
2021/04/20 03:11 11m ducheng2@gmail.com upstream report log

Sample crash report:
INFO: task syz-executor967:3604 blocked for more than 143 seconds.
      Not tainted 6.0.0-syzkaller-09039-ga6afa4199d3d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor967 state:D stack:25592 pid: 3604 ppid:  3601 flags:0x00004002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5183 [inline]
 __schedule+0xadf/0x52b0 kernel/sched/core.c:6495
 schedule+0xda/0x1b0 kernel/sched/core.c:6571
 wb_wait_for_completion+0x17e/0x240 fs/fs-writeback.c:191
 sync_inodes_sb+0x1a6/0x9e0 fs/fs-writeback.c:2706
 sync_filesystem.part.0+0xe6/0x1d0 fs/sync.c:64
 sync_filesystem+0x8b/0xc0 fs/sync.c:43
 generic_shutdown_super+0x70/0x410 fs/super.c:473
 kill_block_super+0x97/0xf0 fs/super.c:1427
 deactivate_locked_super+0x94/0x160 fs/super.c:331
 deactivate_super+0xad/0xd0 fs/super.c:362
 cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1186
 task_work_run+0xdd/0x1a0 kernel/task_work.c:177
 ptrace_notify+0x114/0x140 kernel/signal.c:2353
 ptrace_report_syscall include/linux/ptrace.h:420 [inline]
 ptrace_report_syscall_exit include/linux/ptrace.h:482 [inline]
 syscall_exit_work kernel/entry/common.c:249 [inline]
 syscall_exit_to_user_mode_prepare+0x129/0x280 kernel/entry/common.c:276
 __syscall_exit_to_user_mode_work kernel/entry/common.c:281 [inline]
 syscall_exit_to_user_mode+0x9/0x50 kernel/entry/common.c:294
 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f5abb4903e7
RSP: 002b:00007ffee7c5b8b8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f5abb4903e7
RDX: 00007ffee7c5b97b RSI: 000000000000000a RDI: 00007ffee7c5b970
RBP: 00007ffee7c5b970 R08: 00000000ffffffff R09: 00007ffee7c5b750
R10: 000055555753c653 R11: 0000000000000206 R12: 00007ffee7c5ca30
R13: 000055555753c5f0 R14: 00007ffee7c5b8e0 R15: 00007ffee7c5ca50
 </TASK>
INFO: lockdep is turned off.
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.0.0-syzkaller-09039-ga6afa4199d3d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
 nmi_cpu_backtrace.cold+0x46/0x14f lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x206/0x250 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
 watchdog+0xc18/0xf50 kernel/hung_task.c:369
 kthread+0x2e4/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4210 Comm: segctord Not tainted 6.0.0-syzkaller-09039-ga6afa4199d3d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x4/0x20 kernel/kcov.c:303
Code: 00 00 00 00 00 90 48 8b 0c 24 89 f2 89 fe bf 05 00 00 00 e9 9e fe ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 8b 0c 24 <48> 89 f2 48 89 fe bf 07 00 00 00 e9 7c fe ff ff 66 66 2e 0f 1f 84
RSP: 0018:ffffc90004bd7870 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000002 RCX: ffffffff8426120a
RDX: ffff888026ab1d80 RSI: ffff888073534582 RDI: 0000000000001000
RBP: ffffc90004bd7910 R08: 0000000000000007 R09: 0000000000000002
R10: 0000000000000002 R11: 000000000008c07c R12: ffff888073534582
R13: dffffc0000000000 R14: 0000000000000000 R15: 000000000000003c
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000560a8c03f530 CR3: 000000000bc8e000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 xa_is_node include/linux/xarray.h:1242 [inline]
 xas_load+0x8a/0x140 lib/xarray.c:237
 mapping_get_entry mm/filemap.c:1858 [inline]
 __filemap_get_folio+0x14e/0xed0 mm/filemap.c:1920
 pagecache_get_page+0x2e/0x290 mm/folio-compat.c:104
 find_get_page_flags include/linux/pagemap.h:569 [inline]
 __find_get_block_slow fs/buffer.c:202 [inline]
 __find_get_block fs/buffer.c:1307 [inline]
 __find_get_block+0x4b5/0xe20 fs/buffer.c:1301
 __getblk_gfp+0x28/0x80 fs/buffer.c:1329
 sb_getblk include/linux/buffer_head.h:363 [inline]
 nilfs_segbuf_extend_segsum+0xda/0x310 fs/nilfs2/segbuf.c:99
 nilfs_segbuf_reset+0x6f/0x1c0 fs/nilfs2/segbuf.c:129
 nilfs_segctor_reset_segment_buffer+0x11d/0x390 fs/nilfs2/segment.c:421
 nilfs_segctor_collect fs/nilfs2/segment.c:1493 [inline]
 nilfs_segctor_do_construct+0x1193/0x6970 fs/nilfs2/segment.c:2039
 nilfs_segctor_construct+0x8e3/0xb30 fs/nilfs2/segment.c:2375
 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2483 [inline]
 nilfs_segctor_thread+0x3c3/0xfe0 fs/nilfs2/segment.c:2566
 kthread+0x2e4/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>

Crashes (61):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2022/10/09 11:55 upstream a6afa4199d3d aea5da89 .config log report syz C INFO: task hung in sync_inodes_sb
ci-upstream-linux-next-kasan-gce-root 2022/11/05 02:43 linux-next 0cdb3579f1ee 6d752409 .config log report syz C INFO: task hung in sync_inodes_sb
ci-upstream-gce-arm64 2022/10/31 04:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 2a71366b .config log report syz C INFO: task hung in sync_inodes_sb
ci-upstream-kasan-gce-root 2020/12/04 02:11 upstream 34816d20f173 e6b0d314 .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/11/17 04:47 linux-next 034307507118 1bf9a662 .config log report syz C
ci-upstream-kasan-gce-root 2022/11/28 08:24 upstream bf82d38c91f8 74a66371 .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/11/27 19:11 upstream faf68e3523c2 f4470a7b .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/11/24 11:07 upstream 4312098baf37 ff68ff8f .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-kasan-gce-root 2022/11/22 06:37 upstream eb7081409f94 1c576c23 .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-kasan-gce-selinux-root 2022/11/20 16:01 upstream b6e7fdfd6f6a 5bb70014 .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/11/15 16:13 upstream e01d50cbd6ee 97de9cfc .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/11/15 08:59 upstream e01d50cbd6ee 97de9cfc .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/11/03 01:45 upstream b229b6ca5abb 08977f5d .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/11/03 00:26 upstream b229b6ca5abb 08977f5d .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/11/02 16:10 upstream b229b6ca5abb 08977f5d .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/11/02 03:21 upstream b229b6ca5abb 08977f5d .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/11/01 13:44 upstream b229b6ca5abb a1d8560a .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/11/01 04:50 upstream b229b6ca5abb a1d8560a .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/10/31 13:08 upstream b229b6ca5abb 2a71366b .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/10/30 14:15 upstream b229b6ca5abb 2a71366b .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/10/30 08:24 upstream b229b6ca5abb 2a71366b .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/10/29 23:15 upstream b229b6ca5abb 2a71366b .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/10/29 18:35 upstream b229b6ca5abb 2a71366b .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/10/29 15:08 upstream b229b6ca5abb 2a71366b .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/10/29 11:11 upstream b229b6ca5abb 899d812a .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/10/29 09:08 upstream b229b6ca5abb 899d812a .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/10/29 06:09 upstream b229b6ca5abb 899d812a .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/10/29 00:29 upstream b229b6ca5abb 8168b69e .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/10/28 04:43 upstream b229b6ca5abb 5c716ff6 .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/10/27 07:42 upstream 4dc12f37a8e9 86777b7f .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/10/27 05:43 upstream 4dc12f37a8e9 86777b7f .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/10/26 01:22 upstream 1a2dcbdde82e 2159e4d2 .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-kasan-gce-selinux-root 2022/10/24 01:59 upstream d47136c28015 23bf86af .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/10/22 10:30 upstream 440b7895c990 c0b80a55 .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/10/21 07:42 upstream 493ffd6605b2 a0fd4dab .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/10/16 04:35 upstream 493ffd6605b2 67cb024c .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-kasan-gce-root 2022/10/15 22:22 upstream 55be6084c8e0 67cb024c .config log report info INFO: task hung in sync_inodes_sb
ci2-upstream-fs 2022/10/14 16:36 upstream 493ffd6605b2 4954e4b2 .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-kasan-gce-root 2022/10/09 08:59 upstream a6afa4199d3d aea5da89 .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-kasan-gce-selinux-root 2022/04/12 16:55 upstream ce522ba9ef7e af01ee7d .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-kasan-gce-smack-root 2021/11/18 02:00 upstream ee1703cda8dc cafff8b6 .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-kasan-gce-selinux-root 2021/02/06 20:50 upstream 1e0d27fce010 0655e081 .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-linux-next-kasan-gce-root 2022/10/24 02:00 linux-next 4d48f589d294 23bf86af .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-linux-next-kasan-gce-root 2022/10/16 20:12 linux-next aaa11ce2ffc8 67cb024c .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-linux-next-kasan-gce-root 2022/10/05 01:46 linux-next aaa11ce2ffc8 eab8f949 .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-linux-next-kasan-gce-root 2021/08/01 21:48 linux-next 8d4b477da1a8 6c236867 .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-gce-arm64 2022/11/11 03:51 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-gce-arm64 2022/11/07 09:22 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 6d752409 .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-gce-arm64 2022/11/04 19:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 6d752409 .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-gce-arm64 2022/10/29 15:28 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 899d812a .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-gce-arm64 2022/10/29 15:24 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 899d812a .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-gce-arm64 2022/10/23 15:56 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 23bf86af .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-gce-arm64 2022/10/20 06:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 b31320fc .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-gce-arm64 2022/10/14 03:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 adf90437 .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-gce-arm64 2022/09/25 18:34 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c194837ebb57 0042f2b4 .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-gce-arm64 2022/09/22 14:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci aa49f95768a9 60af5050 .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-gce-arm64 2022/09/21 07:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5aa266bb455b c4b8ccfd .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-gce-arm64 2022/09/17 22:07 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a6b443748715 dd9a85ff .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-gce-arm64 2022/09/09 12:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 25050c56fa3c f3027468 .config log report info INFO: task hung in sync_inodes_sb
ci-upstream-gce-arm64 2022/09/05 03:41 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 85413d1e802e 28811d0a .config log report info INFO: task hung in sync_inodes_sb
* Struck through repros no longer work on HEAD.