syzbot


INFO: task hung in bfs_write_inode

Status: auto-obsoleted due to no activity on 2023/01/16 09:54
Subsystems: bfs
[Documentation on labels]
First crash: 560d, last: 560d

Sample crash report:
INFO: task kworker/u4:33:17377 blocked for more than 143 seconds.
      Not tainted 6.0.0-syzkaller-09589-g55be6084c8e0 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:33   state:D stack:26104 pid:17377 ppid:2      flags:0x00004000
Workqueue: writeback wb_workfn (flush-7:4)
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5178 [inline]
 __schedule+0x8f3/0xd90 kernel/sched/core.c:6490
 schedule+0xcb/0x190 kernel/sched/core.c:6566
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6625
 __mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679
 __mutex_lock kernel/locking/mutex.c:747 [inline]
 mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799
 bfs_write_inode+0x1cf/0x810 fs/bfs/inode.c:132
 write_inode fs/fs-writeback.c:1440 [inline]
 __writeback_single_inode+0x4d6/0x670 fs/fs-writeback.c:1652
 writeback_sb_inodes+0xb45/0x18c0 fs/fs-writeback.c:1870
 __writeback_inodes_wb+0x125/0x420 fs/fs-writeback.c:1941
 wb_writeback+0x450/0x7a0 fs/fs-writeback.c:2046
 wb_check_old_data_flush fs/fs-writeback.c:2146 [inline]
 wb_do_writeback fs/fs-writeback.c:2199 [inline]
 wb_workfn+0xa90/0xf10 fs/fs-writeback.c:2227
 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
 kthread+0x266/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
INFO: lockdep is turned off.
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.0.0-syzkaller-09589-g55be6084c8e0 #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+0x1e3/0x2cb lib/dump_stack.c:106
 nmi_cpu_backtrace+0x47c/0x4b0 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x169/0x280 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
 watchdog+0xcd5/0xd20 kernel/hung_task.c:377
 kthread+0x266/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 29791 Comm: kworker/u4:28 Not tainted 6.0.0-syzkaller-09589-g55be6084c8e0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:native_apic_mem_read arch/x86/include/asm/apic.h:112 [inline]
RIP: 0010:__xapic_wait_icr_idle arch/x86/kernel/apic/ipi.c:107 [inline]
RIP: 0010:__default_send_IPI_dest_field+0x20/0xe0 arch/x86/kernel/apic/ipi.c:156
Code: bd 00 04 00 00 eb a0 0f 1f 00 55 41 57 41 56 53 41 89 d6 41 89 ff 83 fe 02 74 79 89 f3 48 bd 60 f8 eb ff ff fb ff ff 8a 45 00 <84> c0 74 3c 3c 03 7f 38 48 c7 c7 00 c3 5f ff e8 0c 8f a3 00 eb 2a
RSP: 0018:ffffc90017e3f5d8 EFLAGS: 00000006
RAX: 0000000080000000 RBX: 00000000000000fb RCX: dffffc0000000000
RDX: 0000000000000800 RSI: 00000000000000fb RDI: 0000000000000001
RBP: fffffbffffebf860 R08: ffffffff817d6e34 R09: ffffed10173675a3
R10: ffffed10173675a3 R11: 1ffff110173675a2 R12: 1ffff92002fc7ec4
R13: dffffc0000000000 R14: 0000000000000800 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4e7a17f1b8 CR3: 000000000ca8e000 CR4: 00000000003526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 _flat_send_IPI_mask+0xed/0x190 arch/x86/kernel/apic/apic_flat_64.c:56
 arch_send_call_function_single_ipi arch/x86/include/asm/smp.h:109 [inline]
 send_call_function_single_ipi+0x17f/0x1e0 kernel/sched/core.c:3752
 smp_call_function_many_cond+0xd81/0x16c0 kernel/smp.c:967
 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1153
 on_each_cpu include/linux/smp.h:71 [inline]
 text_poke_sync arch/x86/kernel/alternative.c:1311 [inline]
 text_poke_bp_batch+0x5f1/0x850 arch/x86/kernel/alternative.c:1555
 text_poke_flush arch/x86/kernel/alternative.c:1670 [inline]
 text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1677
 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
 static_key_enable_cpuslocked+0x129/0x250 kernel/jump_label.c:177
 static_key_enable+0x16/0x20 kernel/jump_label.c:190
 toggle_allocation_gate+0xbf/0x470 mm/kfence/core.c:811
 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
 kthread+0x266/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/13 16:24 upstream 55be6084c8e0 adf90437 .config console log report info [disk image] [vmlinux] ci-upstream-kasan-gce-smack-root INFO: task hung in bfs_write_inode
* Struck through repros no longer work on HEAD.