syzbot


WARNING in check_flush_dependency (4)

Status: auto-obsoleted due to no activity on 2025/09/05 21:06
Subsystems: hfs
[Documentation on labels]
Reported-by: syzbot+09455b3f0a89d685a9d3@syzkaller.appspotmail.com
First crash: 153d, last: 80d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [hfs?] WARNING in check_flush_dependency (4) 0 (2) 2025/05/07 12:14
Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in check_flush_dependency -1 2 452d 452d 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 -1 C 8 20h30m 254d 0/3 upstream: reported C repro on 2025/01/04 18:53
linux-5.15 WARNING in check_flush_dependency origin:upstream -1 C error 18 41d 452d 0/3 upstream: reported C repro on 2024/06/20 05:34
upstream WARNING in check_flush_dependency (2) hfs -1 1 888d 884d 0/29 auto-obsoleted due to no activity on 2023/08/09 09:29
upstream WARNING in check_flush_dependency wireless -1 C 2205 2760d 2792d 4/29 fixed on 2018/02/26 20:04
upstream WARNING in check_flush_dependency (3) hfs -1 1 259d 255d 0/29 auto-obsoleted due to no activity on 2025/03/01 02:14
Last patch testing requests (2)
Created Duration User Patch Repo Result
2025/09/05 20:38 26m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2025/06/27 19:21 18m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log

Sample crash report:
------------[ cut here ]------------
workqueue: WQ_MEM_RECLAIM dio/loop5:dio_aio_complete_work is flushing !WQ_MEM_RECLAIM events_long:flush_mdb
WARNING: CPU: 1 PID: 6549 at kernel/workqueue.c:3723 check_flush_dependency+0x288/0x33c kernel/workqueue.c:3719
Modules linked in:
CPU: 1 UID: 0 PID: 6549 Comm: kworker/1:4 Not tainted 6.16.0-rc1-syzkaller-g19272b37aa4f #0 PREEMPT 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: dio/loop5 dio_aio_complete_work
pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : check_flush_dependency+0x288/0x33c kernel/workqueue.c:3719
lr : check_flush_dependency+0x288/0x33c kernel/workqueue.c:3719
sp : ffff8000a3ce7730
x29: ffff8000a3ce7740 x28: dfff800000000000 x27: ffff70001479cef4
x26: ffff0000c1081408 x25: 0000000000000000 x24: ffff0000cf84a800
x23: dfff800000000000 x22: ffff8000812cd2a4 x21: ffff800092b05000
x20: ffff0000d1055418 x19: ffff0000c0029400 x18: 00000000ffffffff
x17: ffff800093215000 x16: ffff80008ae5617c x15: 0000000000000001
x14: 1fffe000338078e2 x13: 0000000000000000 x12: 0000000000000000
x11: ffff6000338078e3 x10: 0000000000ff0100 x9 : f5cc008a8f122000
x8 : f5cc008a8f122000 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff8000a3ce7078 x4 : ffff80008f657060 x3 : ffff8000807bb518
x2 : 0000000000000001 x1 : 0000000100000001 x0 : 0000000000000000
Call trace:
 check_flush_dependency+0x288/0x33c kernel/workqueue.c:3719 (P)
 start_flush_work kernel/workqueue.c:4173 [inline]
 __flush_work+0x220/0x8c0 kernel/workqueue.c:4210
 flush_work kernel/workqueue.c:4267 [inline]
 flush_delayed_work+0xcc/0xf8 kernel/workqueue.c:4289
 hfs_file_fsync+0xe8/0x144 fs/hfs/inode.c:680
 vfs_fsync_range+0x160/0x19c fs/sync.c:187
 generic_write_sync include/linux/fs.h:3027 [inline]
 dio_complete+0x510/0x6bc fs/direct-io.c:313
 dio_aio_complete_work+0x28/0x38 fs/direct-io.c:325
 process_one_work+0x7e8/0x155c kernel/workqueue.c:3238
 process_scheduled_works kernel/workqueue.c:3321 [inline]
 worker_thread+0x958/0xed8 kernel/workqueue.c:3402
 kthread+0x5fc/0x75c kernel/kthread.c:464
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:847
irq event stamp: 151162
hardirqs last  enabled at (151161): [<ffff80008041a758>] flush_delayed_work+0xac/0xf8 kernel/workqueue.c:4288
hardirqs last disabled at (151162): [<ffff80008ae7767c>] __raw_spin_lock_irq include/linux/spinlock_api_smp.h:117 [inline]
hardirqs last disabled at (151162): [<ffff80008ae7767c>] _raw_spin_lock_irq+0x28/0x70 kernel/locking/spinlock.c:170
softirqs last  enabled at (151102): [<ffff800085356aa8>] spin_unlock_bh include/linux/spinlock.h:396 [inline]
softirqs last  enabled at (151102): [<ffff800085356aa8>] ptr_ring_consume_bh include/linux/ptr_ring.h:367 [inline]
softirqs last  enabled at (151102): [<ffff800085356aa8>] wg_packet_decrypt_worker+0x90c/0x994 drivers/net/wireguard/receive.c:499
softirqs last disabled at (151100): [<ffff800085356784>] spin_lock_bh include/linux/spinlock.h:356 [inline]
softirqs last disabled at (151100): [<ffff800085356784>] ptr_ring_consume_bh include/linux/ptr_ring.h:365 [inline]
softirqs last disabled at (151100): [<ffff800085356784>] wg_packet_decrypt_worker+0x5e8/0x994 drivers/net/wireguard/receive.c:499
---[ end trace 0000000000000000 ]---

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/13 10:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 19272b37aa4f 98683f8f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in check_flush_dependency
2025/06/09 12:38 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d7fa1af5b33e 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in check_flush_dependency
2025/06/07 17:25 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d7fa1af5b33e 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in check_flush_dependency
2025/06/06 01:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d7fa1af5b33e 6b6b5f21 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in check_flush_dependency
2025/05/27 03:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d7fa1af5b33e 874a1386 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in check_flush_dependency
2025/05/24 20:57 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d7fa1af5b33e ed351ea7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in check_flush_dependency
2025/05/20 20:16 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 187899f4124a 8f9cf946 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in check_flush_dependency
2025/05/16 15:11 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c919f08732cc cfde8269 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in check_flush_dependency
2025/05/16 05:31 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c919f08732cc cfde8269 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in check_flush_dependency
2025/05/14 08:41 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c32f8dc5aaf9 7344edeb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in check_flush_dependency
2025/05/11 09:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c32f8dc5aaf9 77908e5f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in check_flush_dependency
2025/05/07 12:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e0f4c8dd9d2d 350f4ffc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in check_flush_dependency
2025/05/07 12:14 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e0f4c8dd9d2d 350f4ffc .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in check_flush_dependency
2025/05/07 10:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e0f4c8dd9d2d 350f4ffc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in check_flush_dependency
2025/04/27 15:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c72692105976 c6b4fb39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in check_flush_dependency
2025/04/27 05:22 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c72692105976 c6b4fb39 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in check_flush_dependency
2025/04/23 01:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c72692105976 53a8b9bd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in check_flush_dependency
2025/04/15 04:29 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c72692105976 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in check_flush_dependency
* Struck through repros no longer work on HEAD.