syzbot


general protection fault in __gfs2_trans_begin

Status: upstream: reported C repro on 2025/08/21 06:50
Subsystems: gfs2
[Documentation on labels]
Reported-by: syzbot+a3a4e5eee651210c6887@syzkaller.appspotmail.com
First crash: 162d, last: 1d04h
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [gfs2?] general protection fault in __gfs2_trans_begin 0 (1) 2025/08/21 06:50
Last patch testing requests (2)
Created Duration User Patch Repo Result
2025/11/21 00:49 43m retest repro linux-next OK log
2025/09/05 05:21 23m retest repro linux-next report log

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000011: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000088-0x000000000000008f]
CPU: 1 UID: 0 PID: 93 Comm: kworker/1:1H Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Workqueue: gfs2-glock/syz:syz glock_work_func
RIP: 0010:__gfs2_trans_begin+0x3b2/0x900 fs/gfs2/trans.c:73
Code: 09 00 00 4c 89 e8 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 ef e8 3f f3 1f fe 41 bf 8c 00 00 00 4d 03 7d 00 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 63 04 00 00 45 8b 3f 89 df 44 89 fe e8
RSP: 0018:ffffc900025f76a0 EFLAGS: 00010217
RAX: 0000000000000011 RBX: 0000000000000004 RCX: ffff88801b7d0000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc900025f7858
RBP: ffffc900025f7790 R08: ffff8880223d00af R09: 1ffff1100447a015
R10: dffffc0000000000 R11: ffffed100447a016 R12: dffffc0000000000
R13: ffff8880223d09f0 R14: ffffc900025f77e0 R15: 000000000000008c
FS:  0000000000000000(0000) GS:ffff888125f3a000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055a9f88e04b0 CR3: 000000005bae0000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <TASK>
 gfs2_ail_empty_gl+0x12b/0x2f0 fs/gfs2/glops.c:125
 inode_go_sync+0x462/0x5d0 fs/gfs2/glops.c:332
 do_xmote+0x1a7/0x750 fs/gfs2/glock.c:684
 glock_work_func+0x2a8/0x580 fs/gfs2/glock.c:1010
 process_one_work kernel/workqueue.c:3257 [inline]
 process_scheduled_works+0xad1/0x1770 kernel/workqueue.c:3340
 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3421
 kthread+0x711/0x8a0 kernel/kthread.c:463
 ret_from_fork+0x599/0xb30 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__gfs2_trans_begin+0x3b2/0x900 fs/gfs2/trans.c:73
Code: 09 00 00 4c 89 e8 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 ef e8 3f f3 1f fe 41 bf 8c 00 00 00 4d 03 7d 00 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 63 04 00 00 45 8b 3f 89 df 44 89 fe e8
RSP: 0018:ffffc900025f76a0 EFLAGS: 00010217
RAX: 0000000000000011 RBX: 0000000000000004 RCX: ffff88801b7d0000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc900025f7858
RBP: ffffc900025f7790 R08: ffff8880223d00af R09: 1ffff1100447a015
R10: dffffc0000000000 R11: ffffed100447a016 R12: dffffc0000000000
R13: ffff8880223d09f0 R14: ffffc900025f77e0 R15: 000000000000008c
FS:  0000000000000000(0000) GS:ffff888125f3a000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2a84c8af5f CR3: 0000000075b23000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
----------------
Code disassembly (best guess):
   0:	09 00                	or     %eax,(%rax)
   2:	00 4c 89 e8          	add    %cl,-0x18(%rcx,%rcx,4)
   6:	48 c1 e8 03          	shr    $0x3,%rax
   a:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1)
   f:	74 08                	je     0x19
  11:	4c 89 ef             	mov    %r13,%rdi
  14:	e8 3f f3 1f fe       	call   0xfe1ff358
  19:	41 bf 8c 00 00 00    	mov    $0x8c,%r15d
  1f:	4d 03 7d 00          	add    0x0(%r13),%r15
  23:	4c 89 f8             	mov    %r15,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 0f b6 04 20       	movzbl (%rax,%r12,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	0f 85 63 04 00 00    	jne    0x49a
  37:	45 8b 3f             	mov    (%r15),%r15d
  3a:	89 df                	mov    %ebx,%edi
  3c:	44 89 fe             	mov    %r15d,%esi
  3f:	e8                   	.byte 0xe8

Crashes (17):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/11 06:33 upstream 8c8081cc599f d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in __gfs2_trans_begin
2025/12/06 10:17 upstream 7203ca412fc8 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in __gfs2_trans_begin
2025/12/05 21:56 upstream 2061f18ad76e d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in __gfs2_trans_begin
2025/12/05 21:55 upstream 2061f18ad76e d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in __gfs2_trans_begin
2025/07/07 10:40 upstream d7b8f8e20813 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in __gfs2_trans_begin
2025/07/02 19:44 upstream b4911fb0b060 0cd59a8f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root general protection fault in __gfs2_trans_begin
2025/09/26 05:57 upstream 4ff71af020ae 0abd0691 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in __gfs2_trans_begin
2025/12/08 21:25 linux-next 82bcd04d124a d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __gfs2_trans_begin
2025/12/02 18:24 linux-next 7d31f578f323 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __gfs2_trans_begin
2025/11/30 16:21 linux-next 7d31f578f323 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __gfs2_trans_begin
2025/11/29 22:49 linux-next 7d31f578f323 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __gfs2_trans_begin
2025/11/23 22:35 linux-next d724c6f85e80 4fb8ef37 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __gfs2_trans_begin
2025/11/22 07:10 linux-next d724c6f85e80 c31c1b0b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __gfs2_trans_begin
2025/11/22 04:54 linux-next d724c6f85e80 c31c1b0b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __gfs2_trans_begin
2025/11/06 23:35 linux-next df5d79720b15 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __gfs2_trans_begin
2025/08/21 06:50 linux-next 5303936d609e 0b9605c8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci-upstream-linux-next-kasan-gce-root general protection fault in __gfs2_trans_begin
2025/08/21 03:45 linux-next 5303936d609e 0b9605c8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in __gfs2_trans_begin
* Struck through repros no longer work on HEAD.