WARNING in __xfs_healthmon_insert

Status: upstream: reported C repro on 2026/09/04 14:03
Subsystems: xfs
[Documentation on labels]
Reported-by: syzbot+ccdf3469f5f653bff7ac@syzkaller.appspotmail.com
First crash: 16h29m, last: 7h34m
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [xfs?] WARNING in __xfs_healthmon_insert 0 (1) 2026/09/04 14:03

Sample crash report:
XFS (loop0): Quotacheck needed: Please wait.
XFS (loop0): Quotacheck: 
XFS (loop0): Quotacheck: Done.
------------[ cut here ]------------
debug_locks && !(lock_is_held(&(&hm->lock)->dep_map) != 0)
WARNING: fs/xfs/xfs_healthmon.c:275 at __xfs_healthmon_insert+0x32b/0x4e0 fs/xfs/xfs_healthmon.c:275, CPU#0: syz-executor227/5634
Modules linked in:
CPU: 0 UID: 0 PID: 5634 Comm: syz-executor227 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:__xfs_healthmon_insert+0x32b/0x4e0 fs/xfs/xfs_healthmon.c:275
Code: 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc e8 84 1f 29 fe 90 0f 0b 90 e9 51 ff ff ff e8 76 1f 29 fe 90 <0f> 0b 90 e9 a9 fd ff ff e8 68 1f 29 fe 48 8d 3d 41 df e3 0c 67 48
RSP: 0018:ffffc90003c0fbe0 EFLAGS: 00010293
RAX: ffffffff839eb57a RBX: dffffc0000000000 RCX: ffff88807f2c9f40
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003c0fc90 R08: ffffffff907a6a7f R09: 1ffffffff20f4d4f
R10: dffffc0000000000 R11: fffffbfff20f4d50 R12: 0000000000000000
R13: 1ffff92000781f80 R14: ffff8880342dec00 R15: ffffc90003c0fc20
FS:  0000555577e8a400(0000) GS:ffff888124cc0000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000006a9ee0 CR3: 0000000075370000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 xfs_ioc_health_monitor+0x4ac/0x760 fs/xfs/xfs_healthmon.c:1222
 xfs_file_ioctl+0x9fb/0xf40 fs/xfs/xfs_ioctl.c:1534
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa707f17349
Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 d8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc0c2721a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ffc0c2722d8 RCX: 00007fa707f17349
RDX: 0000200000000080 RSI: 0000000040205844 RDI: 0000000000000004
RBP: 0000000000000001 R08: 0000000000000000 R09: 00007ffc0c2722d8
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc0c2722c8
R13: 0000000000000002 R14: 00007fa707fa9c80 R15: 0000000000000002
 </TASK>

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/04 11:31 linux-next 9d80aa4617b3 801f0966 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci-upstream-linux-next-kasan-gce-root WARNING in __xfs_healthmon_insert
2026/09/04 07:26 linux-next 9d80aa4617b3 801f0966 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in __xfs_healthmon_insert
2026/09/04 05:55 linux-next 9d80aa4617b3 801f0966 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in __xfs_healthmon_insert
2026/09/04 05:25 linux-next 9d80aa4617b3 801f0966 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in __xfs_healthmon_insert
2026/09/04 05:25 linux-next 9d80aa4617b3 801f0966 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in __xfs_healthmon_insert
2026/09/04 05:23 linux-next 9d80aa4617b3 801f0966 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in __xfs_healthmon_insert
2026/09/04 05:22 linux-next 9d80aa4617b3 801f0966 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in __xfs_healthmon_insert
2026/09/04 02:39 linux-next 9d80aa4617b3 801f0966 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in __xfs_healthmon_insert
2026/09/04 02:38 linux-next 9d80aa4617b3 801f0966 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in __xfs_healthmon_insert
2026/09/04 02:35 linux-next 9d80aa4617b3 801f0966 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in __xfs_healthmon_insert
* Struck through repros no longer work on HEAD.