syzbot


WARNING in check_flush_dependency

Status: upstream: reported C repro on 2024/06/20 05:34
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+dee9d52c765413453d47@syzkaller.appspotmail.com
First crash: 239d, last: 2d01h
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2024/06/21 upstream (ToT) 4545981f33be C [report] possible deadlock in console_flush_all
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in check_flush_dependency 2 238d 238d 0/3 auto-obsoleted due to no activity on 2024/09/28 08:40
linux-6.1 WARNING in check_flush_dependency (2) origin:upstream C 8 15d 40d 0/3 upstream: reported C repro on 2025/01/04 18:53
upstream WARNING in check_flush_dependency (2) hfs 1 674d 670d 0/28 auto-obsoleted due to no activity on 2023/08/09 09:29
upstream WARNING in check_flush_dependency wireless C 2205 2546d 2579d 4/28 fixed on 2018/02/26 20:04
upstream WARNING in check_flush_dependency (3) hfs 1 45d 41d 0/28 upstream: reported on 2025/01/04 02:25
Last patch testing requests (2)
Created Duration User Patch Repo Result
2025/02/12 05:36 12m retest repro linux-5.15.y report log
2024/12/25 10:35 9m retest repro linux-5.15.y report log
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2024/10/15 00:25 0m bisect fix linux-5.15.y error job log
2024/09/03 09:23 3h10m bisect fix linux-5.15.y OK (0) job log log
2024/07/30 08:46 1h01m bisect fix linux-5.15.y OK (0) job log log

Sample crash report:
------------[ cut here ]------------
workqueue: WQ_MEM_RECLAIM dio/loop1:dio_aio_complete_work is flushing !WQ_MEM_RECLAIM events_long:flush_mdb
WARNING: CPU: 0 PID: 4201 at kernel/workqueue.c:2653 check_flush_dependency+0x2a6/0x340 kernel/workqueue.c:2649
Modules linked in:
CPU: 0 PID: 4201 Comm: kworker/0:5 Not tainted 5.15.177-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
Workqueue: dio/loop1 dio_aio_complete_work
RIP: 0010:check_flush_dependency+0x2a6/0x340 kernel/workqueue.c:2649
Code: 08 4c 89 e7 e8 8b 58 77 00 49 8b 14 24 49 81 c7 60 01 00 00 48 c7 c7 c0 67 aa 8a 4c 89 ee 4c 89 f9 4c 8b 04 24 e8 aa 09 f9 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:ffffc90002f5f8f8 EFLAGS: 00010046
RAX: 08f17e6660730000 RBX: ffff88807cd819c0 RCX: ffff888079299dc0
RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000
RBP: 0000000000000008 R08: ffffffff8166aa8c R09: ffffed10171c4f24
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801bbb1318
R13: ffff88807cd81960 R14: dffffc0000000000 R15: ffff888017471160
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000002a34a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 start_flush_work+0x1a0/0x820 kernel/workqueue.c:3053
 __flush_work+0x112/0x1a0 kernel/workqueue.c:3093
 flush_work kernel/workqueue.c:3115 [inline]
 flush_delayed_work+0x14b/0x1a0 kernel/workqueue.c:3239
 hfs_file_fsync+0xe9/0x140 fs/hfs/inode.c:684
 generic_write_sync include/linux/fs.h:2991 [inline]
 dio_complete+0x57e/0x6e0 fs/direct-io.c:310
 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
 kthread+0x3f6/0x4f0 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/25 01:17 linux-5.15.y 003148680b79 1293872d .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in check_flush_dependency
2024/06/20 06:03 linux-5.15.y 4878aadf2d15 41b7e219 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in check_flush_dependency
2025/01/29 05:33 linux-5.15.y 003148680b79 865ef71e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in check_flush_dependency
2025/01/28 03:31 linux-5.15.y 003148680b79 18070896 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in check_flush_dependency
2025/01/27 13:47 linux-5.15.y 003148680b79 d99a33ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in check_flush_dependency
2025/01/25 08:06 linux-5.15.y 003148680b79 9fbd772e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in check_flush_dependency
2025/01/24 17:49 linux-5.15.y 003148680b79 1293872d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in check_flush_dependency
2025/01/14 19:56 linux-5.15.y 4735586da88e f310a27d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in check_flush_dependency
2024/06/20 05:35 linux-5.15.y 4878aadf2d15 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in check_flush_dependency
2024/06/20 05:33 linux-5.15.y 4878aadf2d15 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in check_flush_dependency
* Struck through repros no longer work on HEAD.