syzbot


kernel BUG in gfs2_glock_nq

Status: upstream: reported C repro on 2023/03/12 01:31
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+d9b5bfddf84d608ebd95@syzkaller.appspotmail.com
First crash: 901d, last: 12h20m
Bug presence (1)
Date Name Commit Repro Result
2023/05/15 upstream (ToT) f1fcbaa18b28 C [report] kernel BUG in gfs2_glock_nq
Similar bugs (9)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 kernel BUG in gfs2_glock_nq -1 2 1319d 1363d 0/1 auto-closed as invalid on 2022/05/17 22:53
linux-4.19 kernel BUG in gfs2_glock_nq -1 1 1599d 1599d 0/1 auto-closed as invalid on 2021/08/11 04:31
linux-4.19 kernel BUG in gfs2_glock_nq (2) gfs2 -1 C error 52 906d 1445d 0/1 upstream: reported C repro on 2021/09/14 01:12
upstream kernel BUG in gfs2_glock_nq gfs2 -1 2 1374d 1364d 0/29 auto-closed as invalid on 2022/03/23 19:53
linux-6.6 kernel BUG in gfs2_glock_nq origin:lts-only -1 C done 62 17d 68d 0/2 upstream: reported C repro on 2025/06/22 16:51
linux-4.14 kernel BUG in gfs2_glock_nq (2) gfs2 -1 C 7 910d 1191d 0/1 upstream: reported C repro on 2022/05/26 14:43
upstream kernel BUG in gfs2_glock_nq (2) gfs2 -1 C error 1401 1d03h 1071d 0/29 upstream: reported C repro on 2022/09/23 06:12
linux-5.15 kernel BUG in gfs2_glock_nq origin:upstream -1 C error 459 4d07h 900d 0/3 upstream: reported C repro on 2023/03/12 21:28
linux-4.14 kernel BUG at fs/gfs2/glock.c:LINE! -1 3 1675d 1747d 0/1 auto-closed as invalid on 2021/05/27 07:56
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2023/12/13 21:00 1h01m bisect fix linux-6.1.y OK (0) job log log
2023/11/06 10:55 1h28m bisect fix linux-6.1.y OK (0) job log log
2023/05/26 21:40 45m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
gfs2: fsid=syz:syz.0: original: gfs2_quota_sync+0x32c/0x6f0 fs/gfs2/quota.c:1329
gfs2: fsid=syz:syz.0: pid: 4376
gfs2: fsid=syz:syz.0: lock type: 8 req lock state : 1
gfs2: fsid=syz:syz.0: new: gfs2_quota_sync+0x32c/0x6f0 fs/gfs2/quota.c:1329
gfs2: fsid=syz:syz.0: pid: 4376
gfs2: fsid=syz:syz.0: lock type: 8 req lock state : 1
gfs2: fsid=syz:syz.0: G:  s:EX n:8/1 f:qb t:EX d:EX/0 a:0 v:0 r:5 m:20 p:0
gfs2: fsid=syz:syz.0:  H: s:EX f:cH e:0 p:4376 [syz-executor] gfs2_quota_sync+0x32c/0x6f0 fs/gfs2/quota.c:1329
------------[ cut here ]------------
kernel BUG at fs/gfs2/glock.c:1560!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 4376 Comm: syz-executor Not tainted 6.1.148-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:add_to_queue fs/gfs2/glock.c:1560 [inline]
RIP: 0010:gfs2_glock_nq+0x1207/0x14e0 fs/gfs2/glock.c:1585
Code: 9f 7f 45 fe 41 0f b7 0e 48 c7 c7 a0 1a d2 8a 4c 89 fe 89 da e8 da ea 7f 06 31 ff 48 8b 74 24 08 ba 01 00 00 00 e8 c9 7d ff ff <0f> 0b 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 59 ef ff ff 4c 89 ff
RSP: 0018:ffffc90002eb79d8 EFLAGS: 00010246
RAX: efa1336b670dea00 RBX: 0000000000000008 RCX: ffff88807dca3b80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff88805d4862e0 R08: dffffc0000000000 R09: fffffbfff1c3ea96
R10: fffffbfff1c3ea96 R11: 1ffffffff1c3ea95 R12: ffff888028487b18
R13: 0000000000000000 R14: ffff888028487b5a R15: ffff88801ee99270
FS:  0000555563dbc500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555563dd75c8 CR3: 000000007c6c6000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 gfs2_glock_nq_init fs/gfs2/glock.h:255 [inline]
 do_sync+0x3d3/0xc00 fs/gfs2/quota.c:921
 gfs2_quota_sync+0x32c/0x6f0 fs/gfs2/quota.c:1329
 gfs2_sync_fs+0x48/0xb0 fs/gfs2/super.c:660
 sync_filesystem+0xe6/0x220 fs/sync.c:56
 generic_shutdown_super+0x6b/0x340 fs/super.c:474
 kill_block_super+0x7c/0xe0 fs/super.c:1470
 deactivate_locked_super+0x93/0xf0 fs/super.c:332
 cleanup_mnt+0x463/0x4f0 fs/namespace.c:1182
 task_work_run+0x1ca/0x250 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303
 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f3e2518ff17
Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffd8cf28988 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f3e25211c05 RCX: 00007f3e2518ff17
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd8cf28a40
RBP: 00007ffd8cf28a40 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd8cf29ad0
R13: 00007f3e25211c05 R14: 000000000001220a R15: 00007ffd8cf29b10
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:add_to_queue fs/gfs2/glock.c:1560 [inline]
RIP: 0010:gfs2_glock_nq+0x1207/0x14e0 fs/gfs2/glock.c:1585
Code: 9f 7f 45 fe 41 0f b7 0e 48 c7 c7 a0 1a d2 8a 4c 89 fe 89 da e8 da ea 7f 06 31 ff 48 8b 74 24 08 ba 01 00 00 00 e8 c9 7d ff ff <0f> 0b 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 59 ef ff ff 4c 89 ff
RSP: 0018:ffffc90002eb79d8 EFLAGS: 00010246
RAX: efa1336b670dea00 RBX: 0000000000000008 RCX: ffff88807dca3b80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff88805d4862e0 R08: dffffc0000000000 R09: fffffbfff1c3ea96
R10: fffffbfff1c3ea96 R11: 1ffffffff1c3ea95 R12: ffff888028487b18
R13: 0000000000000000 R14: ffff888028487b5a R15: ffff88801ee99270
FS:  0000555563dbc500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555563dd75c8 CR3: 000000007c6c6000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1019):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/26 13:20 linux-6.1.y 0bc96de781b4 bf27483f .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan kernel BUG in gfs2_glock_nq
2025/02/22 14:15 linux-6.1.y 3a8358583626 d34966d1 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan kernel BUG in gfs2_glock_nq
2024/04/21 04:38 linux-6.1.y 6741e066ec76 af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in gfs2_glock_nq
2024/04/10 10:58 linux-6.1.y 347385861c50 171ec371 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in gfs2_glock_nq
2023/03/31 21:13 linux-6.1.y 3b29299e5f60 f325deb0 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in gfs2_glock_nq
2025/06/08 06:00 linux-6.1.y 58485ff1a74f 4826c28e .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2024/02/12 08:56 linux-6.1.y f1bb70486c9c 77b23aa1 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2023/11/13 14:41 linux-6.1.y fb2635ac69ab 6d6dbf8a .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2023/08/01 07:56 linux-6.1.y d2a6dc4eaf6d 2a0d0f29 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2023/03/12 12:19 linux-6.1.y 1cc3fcf63192 5205ef30 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/27 22:24 linux-6.1.y 0bc96de781b4 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in gfs2_glock_nq
2025/08/18 00:14 linux-6.1.y 0bc96de781b4 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in gfs2_glock_nq
2025/08/17 02:34 linux-6.1.y 0bc96de781b4 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in gfs2_glock_nq
2025/08/14 07:46 linux-6.1.y 3594f306da12 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in gfs2_glock_nq
2025/08/13 23:26 linux-6.1.y 3594f306da12 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in gfs2_glock_nq
2025/08/13 14:39 linux-6.1.y 3594f306da12 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in gfs2_glock_nq
2025/08/13 04:04 linux-6.1.y 3594f306da12 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in gfs2_glock_nq
2025/08/09 06:30 linux-6.1.y 3594f306da12 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in gfs2_glock_nq
2025/08/03 20:49 linux-6.1.y 3594f306da12 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in gfs2_glock_nq
2025/08/01 07:51 linux-6.1.y 3594f306da12 0c075d67 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in gfs2_glock_nq
2025/08/29 06:38 linux-6.1.y f89b6e15694c d401b9d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/28 01:37 linux-6.1.y 0bc96de781b4 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/26 08:58 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/18 15:15 linux-6.1.y 0bc96de781b4 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/17 09:25 linux-6.1.y 0bc96de781b4 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/16 23:40 linux-6.1.y 0bc96de781b4 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/16 22:38 linux-6.1.y 0bc96de781b4 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/16 15:28 linux-6.1.y 0bc96de781b4 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/16 01:33 linux-6.1.y 0bc96de781b4 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/13 20:19 linux-6.1.y 3594f306da12 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/13 20:17 linux-6.1.y 3594f306da12 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/13 06:46 linux-6.1.y 3594f306da12 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/12 15:25 linux-6.1.y 3594f306da12 c06e8995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/12 02:05 linux-6.1.y 3594f306da12 c06e8995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/11 12:41 linux-6.1.y 3594f306da12 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/10 15:20 linux-6.1.y 3594f306da12 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/10 13:28 linux-6.1.y 3594f306da12 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/10 12:04 linux-6.1.y 3594f306da12 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/09 11:51 linux-6.1.y 3594f306da12 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/09 07:38 linux-6.1.y 3594f306da12 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/09 02:04 linux-6.1.y 3594f306da12 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/07 07:27 linux-6.1.y 3594f306da12 9a42d6b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/05 03:03 linux-6.1.y 3594f306da12 f5bcc8dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/04 07:27 linux-6.1.y 3594f306da12 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/02 22:38 linux-6.1.y 3594f306da12 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/02 20:04 linux-6.1.y 3594f306da12 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/02 11:41 linux-6.1.y 3594f306da12 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/01 06:34 linux-6.1.y 3594f306da12 0c075d67 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/07/31 15:32 linux-6.1.y 3594f306da12 f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/07/31 11:07 linux-6.1.y 3594f306da12 f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/07/31 08:59 linux-6.1.y 3594f306da12 f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/07/30 21:31 linux-6.1.y 3594f306da12 f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/07/29 20:30 linux-6.1.y 3594f306da12 f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/07/29 11:53 linux-6.1.y 3594f306da12 c4a95487 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/07/29 11:52 linux-6.1.y 3594f306da12 c4a95487 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/07/28 15:53 linux-6.1.y 3594f306da12 6654ea9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/07/28 14:19 linux-6.1.y 3594f306da12 6654ea9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/07/28 13:07 linux-6.1.y 3594f306da12 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/07/28 10:35 linux-6.1.y 3594f306da12 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
2023/03/12 01:30 linux-6.1.y 1cc3fcf63192 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in gfs2_glock_nq
* Struck through repros no longer work on HEAD.