syzbot


INFO: task hung in io_wq_destroy_manager

Status: auto-closed as invalid on 2021/07/05 21:39
Subsystems: fs
[Documentation on labels]
First crash: 1114d, last: 1114d

Sample crash report:
INFO: task syz-executor.4:26019 blocked for more than 143 seconds.
      Not tainted 5.12.0-rc6-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:28608 pid:26019 ppid:  8400 flags:0x00004004
Call Trace:
 context_switch kernel/sched/core.c:4322 [inline]
 __schedule+0x999/0xe70 kernel/sched/core.c:5073
 schedule+0x14b/0x200 kernel/sched/core.c:5152
 schedule_timeout+0x43/0x250 kernel/time/timer.c:1868
 do_wait_for_common+0x266/0x3a0 kernel/sched/completion.c:85
 __wait_for_common kernel/sched/completion.c:106 [inline]
 wait_for_common kernel/sched/completion.c:117 [inline]
 wait_for_completion+0x48/0x60 kernel/sched/completion.c:138
 io_wq_destroy_manager+0x50/0x110 fs/io-wq.c:1057
 io_wq_put_and_exit+0x24/0x30 fs/io-wq.c:1095
 io_uring_clean_tctx fs/io_uring.c:8907 [inline]
 __io_uring_files_cancel+0xd52/0xda0 fs/io_uring.c:8972
 io_uring_files_cancel include/linux/io_uring.h:22 [inline]
 do_exit+0x253/0x2290 kernel/exit.c:780
 do_group_exit+0x168/0x2d0 kernel/exit.c:922
 get_signal+0x186f/0x2030 kernel/signal.c:2781
 arch_do_signal_or_restart+0x41/0x620 arch/x86/kernel/signal.c:789
 handle_signal_work kernel/entry/common.c:147 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
 exit_to_user_mode_prepare+0xac/0x1e0 kernel/entry/common.c:208
 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
 syscall_exit_to_user_mode+0x26/0x70 kernel/entry/common.c:301
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x466459
RSP: 002b:00007f52cc33f218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 000000000056bf68 RCX: 0000000000466459
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000056bf68
RBP: 000000000056bf60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf6c
R13: 00007fff17d4e14f R14: 00007f52cc33f300 R15: 0000000000022000
INFO: task iou-mgr-26019:26023 blocked for more than 143 seconds.
      Not tainted 5.12.0-rc6-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:iou-mgr-26019   state:D stack:29696 pid:26023 ppid:  8400 flags:0x00004000
Call Trace:
 context_switch kernel/sched/core.c:4322 [inline]
 __schedule+0x999/0xe70 kernel/sched/core.c:5073
 schedule+0x14b/0x200 kernel/sched/core.c:5152
 schedule_timeout+0x43/0x250 kernel/time/timer.c:1868
 do_wait_for_common+0x266/0x3a0 kernel/sched/completion.c:85
 __wait_for_common kernel/sched/completion.c:106 [inline]
 wait_for_common kernel/sched/completion.c:117 [inline]
 wait_for_completion+0x48/0x60 kernel/sched/completion.c:138
 io_wq_manager+0x686/0x8e0 fs/io-wq.c:739
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Showing all locks held in the system:
1 lock held by khungtaskd/1621:
 #0: ffffffff8c710280 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151

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

NMI backtrace for cpu 1
CPU: 1 PID: 1621 Comm: khungtaskd Not tainted 5.12.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:79 [inline]
 dump_stack+0x176/0x24e lib/dump_stack.c:120
 nmi_cpu_backtrace+0x16c/0x190 lib/nmi_backtrace.c:105
 nmi_trigger_cpumask_backtrace+0x191/0x2f0 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline]
 watchdog+0xcfb/0xd40 kernel/hung_task.c:294
 kthread+0x39a/0x3c0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4819 Comm: systemd-journal Not tainted 5.12.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:kasan_get_free_meta+0x7/0x20 mm/kasan/common.c:241
Code: 00 00 90 48 63 8f bc 00 00 00 48 8d 04 0e 48 85 c9 48 0f 44 c1 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 63 8f c0 00 00 00 <48> 8d 14 0e 31 c0 48 81 f9 ff ff ff 7f 48 0f 45 c2 c3 0f 1f 80 00
RSP: 0018:ffffc900015afca0 EFLAGS: 00000a06
RAX: dffffc0000000000 RBX: ffff8880134a3300 RCX: 0000000000000000
RDX: 0000000000000800 RSI: ffff8880134a3300 RDI: ffff8880109bd280
RBP: ffff8880134a3300 R08: 0000000000000003 R09: ffffffff89600dd0
R10: ffffffff89800000 R11: ffffffff89800714 R12: 0000000000000292
R13: ffff8880109bd280 R14: ffff8880109bd280 R15: ffffc900015afd38
FS:  00007f3a507f68c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3a4ddb8000 CR3: 0000000011ab5000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 kasan_quarantine_put+0x12/0x210 mm/kasan/quarantine.c:176
 kasan_slab_free include/linux/kasan.h:199 [inline]
 slab_free_hook mm/slub.c:1562 [inline]
 slab_free_freelist_hook+0x171/0x270 mm/slub.c:1600
 slab_free mm/slub.c:3161 [inline]
 kmem_cache_free+0x85/0x170 mm/slub.c:3177
 putname fs/namei.c:259 [inline]
 filename_lookup+0x42f/0x5e0 fs/namei.c:2463
 user_path_at include/linux/namei.h:60 [inline]
 do_faccessat+0x39d/0x890 fs/open.c:425
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f3a4fab19c7
Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48
RSP: 002b:00007ffe2c0d3838 EFLAGS: 00000246 ORIG_RAX: 0000000000000015
RAX: ffffffffffffffda RBX: 00007ffe2c0d6860 RCX: 00007f3a4fab19c7
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00005584468999a3
RBP: 00007ffe2c0d3980 R08: 000055844688f3e5 R09: 0000000000000018
R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000558447c8c8a0 R15: 00007ffe2c0d3e70

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/06 21:31 upstream 0a50438c8436 6a81331a .config console log report info ci-upstream-kasan-gce-smack-root INFO: task hung in io_wq_destroy_manager
* Struck through repros no longer work on HEAD.