syzbot


WARNING in check_flush_dependency (3)

Status: upstream: reported on 2025/01/04 02:25
Subsystems: hfs
[Documentation on labels]
Reported-by: syzbot+3d1442173e1be9889481@syzkaller.appspotmail.com
First crash: 9d08h, last: 9d08h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [hfs?] WARNING in check_flush_dependency (3) 0 (1) 2025/01/04 02:25
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in check_flush_dependency 2 203d 203d 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 5 1d19h 4d16h 0/3 upstream: reported C repro on 2025/01/04 18:53
linux-5.15 WARNING in check_flush_dependency origin:upstream C error 3 15d 203d 0/3 upstream: reported C repro on 2024/06/20 05:34
upstream WARNING in check_flush_dependency (2) hfs 1 639d 635d 0/28 auto-obsoleted due to no activity on 2023/08/09 09:29
upstream WARNING in check_flush_dependency wireless C 2205 2510d 2543d 4/28 fixed on 2018/02/26 20:04

Sample crash report:
------------[ cut here ]------------
workqueue: WQ_MEM_RECLAIM dio/loop6:dio_aio_complete_work is flushing !WQ_MEM_RECLAIM events_long:flush_mdb
WARNING: CPU: 1 PID: 51 at kernel/workqueue.c:3712 check_flush_dependency+0x329/0x3c0 kernel/workqueue.c:3708
Modules linked in:
CPU: 1 UID: 0 PID: 51 Comm: kworker/1:1 Not tainted 6.13.0-rc3-next-20241220-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: dio/loop6 dio_aio_complete_work
RIP: 0010:check_flush_dependency+0x329/0x3c0 kernel/workqueue.c:3708
Code: 08 4c 89 f7 e8 e8 f6 9d 00 49 8b 16 49 81 c4 78 01 00 00 48 c7 c7 20 d6 09 8c 4c 89 ee 4c 89 e1 4c 8b 04 24 e8 38 3f f8 ff 90 <0f> 0b 90 90 e9 4a ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 09
RSP: 0018:ffffc90000bb77c0 EFLAGS: 00010046
RAX: 5c710a1b8e2d3500 RBX: ffff88802f455808 RCX: ffff88801e6a5a00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000008 R08: ffffffff817feaa2 R09: 1ffffffff1d026d4
R10: dffffc0000000000 R11: fffffbfff1d026d5 R12: ffff88801ac81578
R13: ffff88807c52d178 R14: ffff888020699018 R15: ffff888020699020
FS:  0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000005632e000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 start_flush_work kernel/workqueue.c:4162 [inline]
 __flush_work+0x286/0xc60 kernel/workqueue.c:4199
 flush_work kernel/workqueue.c:4256 [inline]
 flush_delayed_work+0x169/0x1c0 kernel/workqueue.c:4278
 hfs_file_fsync+0xea/0x140 fs/hfs/inode.c:680
 generic_write_sync include/linux/fs.h:2952 [inline]
 dio_complete+0x55c/0x6b0 fs/direct-io.c:313
 process_one_work kernel/workqueue.c:3229 [inline]
 process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310
 worker_thread+0x870/0xd30 kernel/workqueue.c:3391
 kthread+0x7a9/0x920 kernel/kthread.c:464
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/31 02:13 linux-next 8155b4ef3466 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in check_flush_dependency
* Struck through repros no longer work on HEAD.