syzbot


WARNING in gfs2_ri_update (2)

Status: upstream: reported C repro on 2024/05/09 14:45
Subsystems: gfs2
[Documentation on labels]
Reported-by: syzbot+7567dc5c8aa8f68bde74@syzkaller.appspotmail.com
First crash: 574d, last: 6d01h
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in read_rindex_entry (log)
Repro: C syz .config
  
Discussions (14)
Title Replies (including bot) Last reply
[PATCH] gfs2: add bounds check for rd_length in compute_bitstructs() 2 (2) 2025/09/22 11:34
[syzbot] [gfs2?] WARNING in gfs2_ri_update (2) 0 (3) 2025/09/18 19:59
[syzbot] Monthly gfs2 report (Aug 2025) 0 (1) 2025/08/14 12:42
[syzbot] Monthly gfs2 report (Jul 2025) 0 (1) 2025/07/14 07:23
[syzbot] Monthly gfs2 report (Jun 2025) 0 (1) 2025/06/13 12:25
[syzbot] Monthly gfs2 report (May 2025) 0 (1) 2025/05/12 13:34
[syzbot] Monthly gfs2 report (Apr 2025) 0 (1) 2025/04/09 07:11
[syzbot] Monthly gfs2 report (Mar 2025) 0 (1) 2025/03/08 22:16
[syzbot] Monthly gfs2 report (Feb 2025) 0 (1) 2025/02/05 12:43
[syzbot] Monthly gfs2 report (Jan 2025) 0 (1) 2025/01/06 10:01
[syzbot] Monthly gfs2 report (Dec 2024) 0 (1) 2024/12/05 09:04
[syzbot] Monthly gfs2 report (Nov 2024) 0 (1) 2024/11/04 11:34
[syzbot] Monthly gfs2 report (Oct 2024) 0 (1) 2024/10/03 09:03
[syzbot] Monthly gfs2 report (May 2024) 0 (1) 2024/05/31 06:48
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in gfs2_ri_update gfs2 -1 C error inconclusive 5 736d 1171d 0/29 auto-obsoleted due to no activity on 2024/03/03 22:38
linux-6.1 WARNING in gfs2_ri_update origin:upstream -1 C 11 4d09h 250d 0/3 upstream: reported C repro on 2025/03/25 05:48
linux-5.15 WARNING in gfs2_ri_update origin:upstream -1 C 4 31d 250d 0/3 upstream: reported C repro on 2025/03/25 08:09
Last patch testing requests (12)
Created Duration User Patch Repo Result
2025/11/24 15:04 31m retest repro upstream report log
2025/11/10 06:37 14m retest repro upstream report log
2025/10/27 06:13 14m retest repro upstream report log
2025/10/01 17:37 13m retest repro upstream report log
2025/09/18 19:59 24m kriish.sharma2006@gmail.com patch upstream OK log
2025/09/18 19:46 19m kriish.sharma2006@gmail.com patch upstream error
2025/09/17 16:52 13m retest repro upstream report log
2025/09/03 11:40 18m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2025/08/19 20:25 14m retest repro upstream report log
2025/08/05 20:05 15m retest repro upstream report log
2025/07/19 05:59 14m retest repro upstream report log
2025/05/30 13:24 24m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
Fix bisection attempts (6)
Created Duration User Patch Repo Result
2025/07/04 16:28 1h42m bisect fix upstream OK (0) job log log
2025/06/02 22:25 1h39m bisect fix upstream OK (0) job log log
2025/05/01 23:16 1h33m bisect fix upstream OK (0) job log log
2025/03/31 00:44 2h37m bisect fix upstream OK (0) job log log
2025/02/26 13:06 1h32m bisect fix upstream OK (0) job log log
2024/07/07 21:19 1h55m bisect fix upstream OK (0) job log log

Sample crash report:
gfs2: fsid=..0: first mount done, others may mount
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5998 at mm/page_alloc.c:5159 __alloc_frozen_pages_noprof+0x2c8/0x370 mm/page_alloc.c:5159
Modules linked in:
CPU: 1 UID: 0 PID: 5998 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:__alloc_frozen_pages_noprof+0x2c8/0x370 mm/page_alloc.c:5159
Code: 74 10 4c 89 e7 89 54 24 0c e8 14 bd 0d 00 8b 54 24 0c 49 83 3c 24 00 0f 85 a5 fe ff ff e9 a6 fe ff ff c6 05 f2 e2 4e 0d 01 90 <0f> 0b 90 e9 18 ff ff ff a9 00 00 08 00 48 8b 4c 24 10 4c 8d 44 24
RSP: 0018:ffffc900030f7440 EFLAGS: 00010246
RAX: ffffc900030f7400 RBX: 000000000000000b RCX: 0000000000000000
RDX: 0000000000000028 RSI: 0000000000000000 RDI: ffffc900030f74a8
RBP: ffffc900030f7538 R08: ffffc900030f74a7 R09: ffffc900030f7480
R10: dffffc0000000000 R11: fffff5200061ee95 R12: 0000000000000000
R13: 1ffff9200061ee8c R14: 0000000000040d40 R15: dffffc0000000000
FS:  0000555560664500(0000) GS:ffff88812623b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055857a8e3950 CR3: 0000000074747000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2416
 ___kmalloc_large_node+0x5f/0x1b0 mm/slub.c:5587
 __kmalloc_large_node_noprof+0x18/0x90 mm/slub.c:5618
 __do_kmalloc_node mm/slub.c:5634 [inline]
 __kmalloc_noprof+0x4bd/0x7f0 mm/slub.c:5658
 kmalloc_noprof include/linux/slab.h:961 [inline]
 kmalloc_array_noprof include/linux/slab.h:1003 [inline]
 compute_bitstructs fs/gfs2/rgrp.c:766 [inline]
 read_rindex_entry fs/gfs2/rgrp.c:931 [inline]
 gfs2_ri_update+0x46a/0x1650 fs/gfs2/rgrp.c:1001
 gfs2_rindex_update+0x2cd/0x370 fs/gfs2/rgrp.c:1051
 init_inodes+0x24e/0x320 fs/gfs2/ops_fstype.c:879
 gfs2_fill_super+0x1923/0x20d0 fs/gfs2/ops_fstype.c:1255
 get_tree_bdev_flags+0x40e/0x4d0 fs/super.c:1691
 gfs2_get_tree+0x51/0x1e0 fs/gfs2/ops_fstype.c:1337
 vfs_get_tree+0x92/0x2b0 fs/super.c:1751
 fc_mount fs/namespace.c:1208 [inline]
 do_new_mount_fc fs/namespace.c:3651 [inline]
 do_new_mount+0x302/0xa10 fs/namespace.c:3727
 do_mount fs/namespace.c:4050 [inline]
 __do_sys_mount fs/namespace.c:4238 [inline]
 __se_sys_mount+0x313/0x410 fs/namespace.c:4215
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f128cf90e6a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffdd2051328 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffdd20513b0 RCX: 00007f128cf90e6a
RDX: 0000200000000040 RSI: 0000200000000100 RDI: 00007ffdd2051370
RBP: 0000200000000040 R08: 00007ffdd20513b0 R09: 0000000000008cd3
R10: 0000000000008cd3 R11: 0000000000000246 R12: 0000200000000100
R13: 00007ffdd2051370 R14: 00000000000127c4 R15: 0000200000000140
 </TASK>

Crashes (36):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/11/10 15:03 upstream e9a6fb0bcdd7 4e1406b4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci-upstream-kasan-gce-root WARNING in gfs2_ri_update
2024/05/05 20:59 upstream b9158815de52 610f2a54 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in gfs2_ri_update
2025/07/22 19:48 upstream 89be9a83ccf1 af30dea9 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2025/07/05 05:49 upstream c435a4f487e8 4f67c4ae .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/12/27 08:59 upstream d6ef8b40d075 d3ccff63 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/05/05 14:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 78186bd77b47 610f2a54 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in gfs2_ri_update
2024/07/09 00:10 upstream 4376e966ecb7 cde64f7d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_ri_update
2024/05/21 10:42 upstream 8f6a15f095a6 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_ri_update
2025/10/13 06:08 upstream 3a8660878839 ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2025/10/11 16:40 upstream 0739473694c4 ff1712fe .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2025/07/05 05:05 upstream c435a4f487e8 4f67c4ae .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/12/27 08:18 upstream d6ef8b40d075 d3ccff63 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/12/14 19:33 upstream a446e965a188 7cbfbb3a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/11/23 05:44 upstream 06afb0f36106 68da6d95 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/11/02 17:14 upstream 11066801dd4b f00eed24 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/10/31 22:29 upstream 0fc810ae3ae1 96eb609f .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/10/26 21:46 upstream 850925a8133c 65e8686b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/10/24 01:02 upstream c2ee9f594da8 15fa2979 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/10/08 05:00 upstream 87d6aab2389e 402f1df0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/10/07 10:57 upstream 2a130b7e1fcd d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/10/05 23:49 upstream fc20a3e57247 d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/10/05 15:10 upstream 27cc6fdf7201 d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/10/05 14:00 upstream 27cc6fdf7201 d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/10/04 17:15 upstream 0c559323bbaa d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/10/03 21:56 upstream 7ec462100ef9 d7906eff .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/10/02 07:57 upstream e32cde8d2bd7 ea2b66a6 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/09/29 05:48 upstream 3efc57369a0c ba29ff75 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/09/28 17:27 upstream ad46e8f95e93 ba29ff75 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/09/27 05:36 upstream 075dbe9f6e3c 9314348a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/09/27 03:26 upstream 075dbe9f6e3c 9314348a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/09/26 03:27 upstream 11a299a7933e 0d19f247 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/09/21 11:16 upstream 1868f9d0260e 6f888b75 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/09/18 21:54 upstream 4a39ac5b7d62 c673ca06 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/09/15 19:30 upstream d42f7708e27c 08d8a733 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/09/15 07:44 upstream 0babf683783d 08d8a733 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_ri_update
2024/05/05 14:39 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 78186bd77b47 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in gfs2_ri_update
* Struck through repros no longer work on HEAD.