syzbot


kernel BUG in gfs2_glock_nq

Status: upstream: reported C repro on 2023/03/12 21:28
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+1c34b9af91345e5a2c2e@syzkaller.appspotmail.com
First crash: 900d, last: 3d17h
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2023/05/04 upstream (ToT) 1a5304fecee5 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 1598d 1598d 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 1363d 0/29 auto-closed as invalid on 2022/03/23 19:53
linux-6.1 kernel BUG in gfs2_glock_nq origin:upstream -1 C 1017 1d02h 901d 0/3 upstream: reported C repro on 2023/03/12 01:31
linux-6.6 kernel BUG in gfs2_glock_nq origin:lts-only -1 C done 62 17d 67d 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 909d 1190d 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 12h53m 1070d 0/29 upstream: reported C repro on 2022/09/23 06:12
linux-4.14 kernel BUG at fs/gfs2/glock.c:LINE! -1 3 1674d 1746d 0/1 auto-closed as invalid on 2021/05/27 07:56
Last patch testing requests (7)
Created Duration User Patch Repo Result
2025/03/28 16:05 11m retest repro linux-5.15.y report log
2025/03/12 14:24 14m retest repro linux-5.15.y report log
2025/03/12 14:24 15m retest repro linux-5.15.y report log
2025/03/12 14:24 12m retest repro linux-5.15.y report log
2025/02/06 23:08 13m retest repro linux-5.15.y report log
2025/02/06 23:08 53m retest repro linux-5.15.y report log
2025/02/06 23:08 1h12m retest repro linux-5.15.y report log
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2023/11/26 22:50 0m bisect fix linux-5.15.y error job log
2023/06/30 21:33 1h06m bisect fix linux-5.15.y OK (0) job log log
2023/05/24 00:21 59m bisect fix linux-5.15.y OK (0) job log log

Sample crash report:
gfs2: fsid=syz:syz.s: new: gfs2_glock_nq_init fs/gfs2/glock.h:244 [inline]
gfs2: fsid=syz:syz.s: new: gfs2_statfs_slow fs/gfs2/super.c:822 [inline]
gfs2: fsid=syz:syz.s: new: gfs2_statfs+0x40d/0x870 fs/gfs2/super.c:896
gfs2: fsid=syz:syz.s: pid: 4312
gfs2: fsid=syz:syz.s: lock type: 3 req lock state : 3
gfs2: fsid=syz:syz.s: G:  s:SH n:3/12 f:qob t:SH d:EX/0 a:0 v:0 r:4 m:20 p:0
gfs2: fsid=syz:syz.s:  H: s:SH f:aH e:0 p:4312 [syz.0.16] gfs2_glock_nq_init fs/gfs2/glock.h:244 [inline]
gfs2: fsid=syz:syz.s:  H: s:SH f:aH e:0 p:4312 [syz.0.16] gfs2_statfs_slow fs/gfs2/super.c:822 [inline]
gfs2: fsid=syz:syz.s:  H: s:SH f:aH e:0 p:4312 [syz.0.16] gfs2_statfs+0x40d/0x870 fs/gfs2/super.c:896
gfs2: fsid=syz:syz.s:  R: n:18 f:b0000000 b:0/0 i:7 q:0 r:0 e:0
------------[ cut here ]------------
kernel BUG at fs/gfs2/glock.c:1503!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 4312 Comm: syz.0.16 Not tainted 5.15.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:add_to_queue fs/gfs2/glock.c:1503 [inline]
RIP: 0010:gfs2_glock_nq+0x1011/0x1550 fs/gfs2/glock.c:1527
Code: 35 3f 58 fe 89 da 41 0f b7 0f 48 c7 c7 80 45 4d 8a 4c 89 ee e8 e0 c6 39 06 31 ff 48 8b 74 24 08 ba 01 00 00 00 e8 bf 8b ff ff <0f> 0b e8 e8 db 13 fe e8 43 92 9c fd e9 14 fa ff ff 4c 8d 7b 08 4d
RSP: 0018:ffffc90002f2faa0 EFLAGS: 00010246
RAX: d258fe08919b5a00 RBX: ffff88805c904658 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 00000000ffffffff
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed10045e9811
R10: ffffed10045e9811 R11: 1ffff110045e9810 R12: dffffc0000000000
R13: ffff888024b192c0 R14: ffff88801e838088 R15: ffff88801e838092
FS:  0000555582d19500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2fc5ffff CR3: 00000000734fe000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 gfs2_glock_nq_init fs/gfs2/glock.h:246 [inline]
 gfs2_statfs_slow fs/gfs2/super.c:822 [inline]
 gfs2_statfs+0x415/0x870 fs/gfs2/super.c:896
 statfs_by_dentry fs/statfs.c:66 [inline]
 vfs_get_fsid+0x189/0x280 fs/statfs.c:77
 fanotify_test_fsid+0x73/0x2c0 fs/notify/fanotify/fanotify_user.c:1512
 do_fanotify_mark+0x7d0/0xd90 fs/notify/fanotify/fanotify_user.c:1759
 __do_sys_fanotify_mark fs/notify/fanotify/fanotify_user.c:1836 [inline]
 __se_sys_fanotify_mark fs/notify/fanotify/fanotify_user.c:1832 [inline]
 __x64_sys_fanotify_mark+0xb1/0xc0 fs/notify/fanotify/fanotify_user.c:1832
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f5ee5f819a9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc2e29f0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012d
RAX: ffffffffffffffda RBX: 00007f5ee61a8fa0 RCX: 00007f5ee5f819a9
RDX: 000000004800003e RSI: 0000000000000001 RDI: 0000000000000005
RBP: 00007f5ee6003d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5ee61a8fa0 R14: 00007f5ee61a8fa0 R15: 0000000000000005
 </TASK>
Modules linked in:
---[ end trace 4c5021248f56fd7d ]---
RIP: 0010:add_to_queue fs/gfs2/glock.c:1503 [inline]
RIP: 0010:gfs2_glock_nq+0x1011/0x1550 fs/gfs2/glock.c:1527
Code: 35 3f 58 fe 89 da 41 0f b7 0f 48 c7 c7 80 45 4d 8a 4c 89 ee e8 e0 c6 39 06 31 ff 48 8b 74 24 08 ba 01 00 00 00 e8 bf 8b ff ff <0f> 0b e8 e8 db 13 fe e8 43 92 9c fd e9 14 fa ff ff 4c 8d 7b 08 4d
RSP: 0018:ffffc90002f2faa0 EFLAGS: 00010246
RAX: d258fe08919b5a00 RBX: ffff88805c904658 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 00000000ffffffff
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed10045e9811
R10: ffffed10045e9811 R11: 1ffff110045e9810 R12: dffffc0000000000
R13: ffff888024b192c0 R14: ffff88801e838088 R15: ffff88801e838092
FS:  0000555582d19500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2fc5ffff CR3: 00000000734fe000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (459):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/26 04:51 linux-5.15.y c79648372d02 fb8f743d .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan kernel BUG in gfs2_glock_nq
2025/04/15 09:31 linux-5.15.y f7347f400572 0bd6db41 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan kernel BUG in gfs2_glock_nq
2024/04/19 06:30 linux-5.15.y c52b9710c83d af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in gfs2_glock_nq
2024/04/07 19:03 linux-5.15.y 9465fef4ae35 ca620dd8 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in gfs2_glock_nq
2023/03/26 18:54 linux-5.15.y 115472395b0a fbf0499a .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in gfs2_glock_nq
2025/03/13 05:40 linux-5.15.y c16c81c81336 1a5d9317 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2024/11/24 17:05 linux-5.15.y 0a51d2d4527b 68da6d95 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2024/07/28 09:14 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2024/04/09 00:30 linux-5.15.y 9465fef4ae35 53df08b6 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2024/03/01 02:43 linux-5.15.y 458ce51d0356 352ab904 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2024/02/24 05:21 linux-5.15.y 458ce51d0356 8d446f15 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2023/09/22 22:27 linux-5.15.y 35ecaa3632bf 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2023/08/07 03:50 linux-5.15.y 38d4ca22a528 4ffcc9ef .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2023/03/12 21:27 linux-5.15.y bbf9f29bac04 5205ef30 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/25 11:07 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in gfs2_glock_nq
2025/08/07 09:20 linux-5.15.y c79648372d02 9a42d6b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in gfs2_glock_nq
2025/08/04 17:20 linux-5.15.y c79648372d02 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in gfs2_glock_nq
2025/08/02 20:38 linux-5.15.y c79648372d02 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in gfs2_glock_nq
2025/07/26 04:20 linux-5.15.y c79648372d02 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in gfs2_glock_nq
2025/07/23 11:30 linux-5.15.y c79648372d02 e1dd4f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in gfs2_glock_nq
2025/07/22 23:29 linux-5.15.y c79648372d02 8e9d1dc1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in gfs2_glock_nq
2025/07/22 00:26 linux-5.15.y c79648372d02 1555463b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in gfs2_glock_nq
2025/07/21 10:58 linux-5.15.y c79648372d02 56d87229 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in gfs2_glock_nq
2025/07/21 09:42 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in gfs2_glock_nq
2025/08/15 02:52 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/14 19:38 linux-5.15.y c79648372d02 5d8c2ac2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/12 18:05 linux-5.15.y c79648372d02 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/11 19:13 linux-5.15.y c79648372d02 c06e8995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/10 02:13 linux-5.15.y c79648372d02 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/08 15:47 linux-5.15.y c79648372d02 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/08 01:40 linux-5.15.y c79648372d02 04cffc22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/07 23:57 linux-5.15.y c79648372d02 04cffc22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/07 10:26 linux-5.15.y c79648372d02 04cffc22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/07 05:05 linux-5.15.y c79648372d02 9a42d6b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/07 02:14 linux-5.15.y c79648372d02 9a42d6b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/06 22:18 linux-5.15.y c79648372d02 9a42d6b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/06 19:30 linux-5.15.y c79648372d02 ffe1dd46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/06 13:47 linux-5.15.y c79648372d02 ffe1dd46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/05 22:49 linux-5.15.y c79648372d02 ffe1dd46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/05 10:22 linux-5.15.y c79648372d02 37880f40 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/05 09:42 linux-5.15.y c79648372d02 f5bcc8dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/05 08:37 linux-5.15.y c79648372d02 f5bcc8dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/04 10:14 linux-5.15.y c79648372d02 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/04 09:58 linux-5.15.y c79648372d02 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/04 08:39 linux-5.15.y c79648372d02 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/03 06:32 linux-5.15.y c79648372d02 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/02 13:17 linux-5.15.y c79648372d02 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/02 00:18 linux-5.15.y c79648372d02 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/01 06:49 linux-5.15.y c79648372d02 0c075d67 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/01 06:43 linux-5.15.y c79648372d02 0c075d67 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/08/01 03:39 linux-5.15.y c79648372d02 0c075d67 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/07/29 20:25 linux-5.15.y c79648372d02 f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/07/29 15:57 linux-5.15.y c79648372d02 c4a95487 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/07/28 03:37 linux-5.15.y c79648372d02 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/07/23 18:18 linux-5.15.y c79648372d02 e1dd4f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/07/23 09:49 linux-5.15.y c79648372d02 e1dd4f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/07/22 18:57 linux-5.15.y c79648372d02 8e9d1dc1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/07/21 09:00 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
2025/07/21 07:07 linux-5.15.y c79648372d02 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in gfs2_glock_nq
* Struck through repros no longer work on HEAD.