syzbot


WARNING in check_flush_dependency

Status: upstream: reported on 2024/06/20 08:39
Reported-by: syzbot+f89d1558b6d2cf1832ce@syzkaller.appspotmail.com
First crash: 79d, last: 79d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in check_flush_dependency origin:upstream C 3 4d11h 79d 0/3 upstream: reported C repro on 2024/06/20 05:34
upstream WARNING in check_flush_dependency (2) hfs 1 515d 511d 0/27 auto-obsoleted due to no activity on 2023/08/09 09:29
upstream WARNING in check_flush_dependency wireless C 2205 2387d 2419d 4/27 fixed on 2018/02/26 20:04

Sample crash report:
------------[ cut here ]------------
workqueue: WQ_MEM_RECLAIM dio/loop2:dio_aio_complete_work is flushing !WQ_MEM_RECLAIM events_long:flush_mdb
WARNING: CPU: 1 PID: 41 at kernel/workqueue.c:2635 check_flush_dependency+0x2a6/0x340 kernel/workqueue.c:2631
Modules linked in:
CPU: 1 PID: 41 Comm: kworker/1:1 Not tainted 6.1.94-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Workqueue: dio/loop2 dio_aio_complete_work
RIP: 0010:check_flush_dependency+0x2a6/0x340 kernel/workqueue.c:2631
Code: 08 4c 89 e7 e8 db 5f 88 00 49 8b 14 24 49 81 c7 60 01 00 00 48 c7 c7 20 42 eb 8a 4c 89 ee 4c 89 f9 4c 8b 04 24 e8 aa dc f8 ff <0f> 0b eb 9f 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c b1 fd ff ff 48 89
RSP: 0018:ffffc90000b27900 EFLAGS: 00010046
RAX: fa5665c362c21f00 RBX: ffff88807c045dc0 RCX: ffff888015690000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000008 R08: ffffffff8152931e R09: ffffed1017324f1c
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880152a6918
R13: ffff88807c045d60 R14: dffffc0000000000 R15: ffff888012471160
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000027c20000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 start_flush_work kernel/workqueue.c:3035 [inline]
 __flush_work+0x2c7/0xad0 kernel/workqueue.c:3075
 flush_work kernel/workqueue.c:3097 [inline]
 flush_delayed_work+0x14b/0x1a0 kernel/workqueue.c:3221
 hfs_file_fsync+0xe9/0x140 fs/hfs/inode.c:683
 generic_write_sync include/linux/fs.h:2957 [inline]
 dio_complete+0x66e/0x7b0 fs/direct-io.c:309
 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292
 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/20 08:39 linux-6.1.y eb44d83053d6 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in check_flush_dependency
2024/06/20 08:38 linux-6.1.y eb44d83053d6 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in check_flush_dependency
* Struck through repros no longer work on HEAD.