syzbot


kernel BUG in gfs2_trans_add_revoke

Status: upstream: reported on 2026/03/26 16:58
Subsystems: gfs2
[Documentation on labels]
Reported-by: syzbot+b17a83b050e9617376f0@syzkaller.appspotmail.com
First crash: 23d, last: 7d20h
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] gfs2: fix kernel BUG in __gfs2_ail_flush during withdraw 1 (1) 2026/04/02 07:35
[syzbot] [gfs2?] kernel BUG in gfs2_trans_add_revoke 0 (1) 2026/03/26 16:58

Sample crash report:
RSP: 002b:00007ffe582497d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f9346032048 RCX: 00007f9345f9da57
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe58249890
RBP: 00007ffe58249890 R08: 00007ffe5824a890 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe5824a920
R13: 00007f9346032048 R14: 0000000000080d68 R15: 00007ffe5824a960
 </TASK>
gfs2: fsid=syz:syz.0: about to withdraw this file system
------------[ cut here ]------------
kernel BUG at fs/gfs2/trans.c:324!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 1 UID: 0 PID: 5840 Comm: syz-executor Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
RIP: 0010:gfs2_trans_add_revoke+0xd1/0xe0 fs/gfs2/trans.c:324
Code: 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc cc 89 d9 80 e1 07 80 c1 03 38 c1 7c e3 48 89 df e8 97 f2 09 fe eb d9 e8 f0 89 a0 fd 90 <0f> 0b 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90
RSP: 0018:ffffc90003e37998 EFLAGS: 00010293
RAX: ffffffff842597a0 RBX: ffff88804402e680 RCX: ffff88807d505b80
RDX: 0000000000000000 RSI: ffff888072eee0e0 RDI: ffff88805c620000
RBP: ffff8880441e8b58 R08: ffffffff9031b4f7 R09: 1ffffffff206369e
R10: dffffc0000000000 R11: fffffbfff206369f R12: ffff888072eee0f8
R13: dffffc0000000000 R14: ffff888072eee0e0 R15: ffff88805c620000
FS:  00005555839a4500(0000) GS:ffff88812535c000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000081030 CR3: 0000000072c36000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 __gfs2_ail_flush+0x12c/0x220 fs/gfs2/glops.c:78
 gfs2_ail_flush+0xbd/0x100 fs/gfs2/glops.c:152
 evict_linked_inode fs/gfs2/super.c:1397 [inline]
 gfs2_evict_inode+0x743/0x12d0 fs/gfs2/super.c:1465
 evict+0x61e/0xb10 fs/inode.c:841
 gfs2_evict_inodes fs/gfs2/ops_fstype.c:1760 [inline]
 gfs2_kill_sb+0x2bb/0x430 fs/gfs2/ops_fstype.c:1786
 deactivate_locked_super+0xbc/0x130 fs/super.c:476
 cleanup_mnt+0x437/0x4d0 fs/namespace.c:1312
 task_work_run+0x1d9/0x270 kernel/task_work.c:233
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 __exit_to_user_mode_loop kernel/entry/common.c:67 [inline]
 exit_to_user_mode_loop+0xed/0x480 kernel/entry/common.c:98
 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:238 [inline]
 syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:269 [inline]
 syscall_exit_to_user_mode include/linux/entry-common.h:328 [inline]
 do_syscall_64+0x33e/0xf80 arch/x86/entry/syscall_64.c:100
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9345f9da57
Code: a2 c7 05 9c fc 24 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 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 e8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffe582497d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f9346032048 RCX: 00007f9345f9da57
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe58249890
RBP: 00007ffe58249890 R08: 00007ffe5824a890 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe5824a920
R13: 00007f9346032048 R14: 0000000000080d68 R15: 00007ffe5824a960
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:gfs2_trans_add_revoke+0xd1/0xe0 fs/gfs2/trans.c:324
Code: 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc cc 89 d9 80 e1 07 80 c1 03 38 c1 7c e3 48 89 df e8 97 f2 09 fe eb d9 e8 f0 89 a0 fd 90 <0f> 0b 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90
RSP: 0018:ffffc90003e37998 EFLAGS: 00010293
RAX: ffffffff842597a0 RBX: ffff88804402e680 RCX: ffff88807d505b80
RDX: 0000000000000000 RSI: ffff888072eee0e0 RDI: ffff88805c620000
RBP: ffff8880441e8b58 R08: ffffffff9031b4f7 R09: 1ffffffff206369e
R10: dffffc0000000000 R11: fffffbfff206369f R12: ffff888072eee0f8
R13: dffffc0000000000 R14: ffff888072eee0e0 R15: ffff88805c620000
FS:  00005555839a4500(0000) GS:ffff88812535c000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000081030 CR3: 0000000072c36000 CR4: 00000000003526f0

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/04/07 16:14 linux-next cc13002a9f98 628666c6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in gfs2_trans_add_revoke
2026/03/27 19:18 linux-next e77a5a5cfe43 74a13a23 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in gfs2_trans_add_revoke
2026/03/22 17:10 linux-next 785f0eb2f85d 5b92003d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in gfs2_trans_add_revoke
2026/03/22 16:56 linux-next 785f0eb2f85d 5b92003d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in gfs2_trans_add_revoke
* Struck through repros no longer work on HEAD.