general protection fault in xfs_trans_brelse

Status: moderation: reported on 2026/07/24 04:31
Subsystems: xfs
Labels: prio:low
[Documentation on labels]
Reported-by: syzbot+665051d8569dadf344f4@syzkaller.appspotmail.com
First crash: 99d, last: 7d22h
▶ ▼ ✨ AI Jobs (3)
ID Workflow Result Correct Bug Created Started Finished Revision
a2946a2d repro-c 💥 general protection fault in xfs_trans_brelse 2026/10/22 08:09 2026/10/22 08:10 2026/10/22 10:27 4ba27f85
c3d9eb29 repro-c 💥 general protection fault in xfs_trans_brelse 2026/10/20 17:13 2026/10/20 17:14 2026/10/20 19:26 61c200c7
30d4271f assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ general protection fault in xfs_trans_brelse 2026/07/22 00:40 2026/07/22 00:40 2026/07/22 01:29 0d5a7c31

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000014: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x00000000000000a0-0x00000000000000a7]
CPU: 0 UID: 0 PID: 5343 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:xfs_trans_brelse+0xf6/0x3e0 fs/xfs/xfs_trans_buf.c:350
Code: e8 0f 6e ee ff 48 89 df 5b 41 5c 41 5d 41 5e 41 5f 5d e9 7d 3f ee ff e8 68 7b 19 fe 4d 8d be a4 00 00 00 4d 89 fd 49 c1 ed 03 <43> 0f b6 44 25 00 84 c0 0f 85 34 01 00 00 41 8b 2f 31 ff 89 ee e8
RSP: 0018:ffffc9000f9bf588 EFLAGS: 00010207
RAX: ffffffff83aea782 RBX: ffff888014477200 RCX: ffff888034b9a580
RDX: 0000000000000000 RSI: ffffffff8c6dec60 RDI: ffffffff8c6dec20
RBP: ffff88803829d001 R08: ffffffff917a997f R09: 1ffffffff22f532f
R10: dffffc0000000000 R11: fffffbfff22f5330 R12: dffffc0000000000
R13: 0000000000000014 R14: 0000000000000000 R15: 00000000000000a4
FS:  00007f5c106706c0(0000) GS:ffff88808b0b4000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff4e2b803f6 CR3: 0000000013b73000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 xchk_ag_free+0x8a/0x180 fs/xfs/scrub/common.c:681
 xchk_teardown+0x33/0x810 fs/xfs/scrub/scrub.c:232
 xfs_scrub_metadata+0x13b2/0x1910 fs/xfs/scrub/scrub.c:766
 xfs_ioc_scrubv_metadata+0x7ac/0xb70 fs/xfs/scrub/scrub.c:980
 xfs_file_ioctl+0x916/0x1590 fs/xfs/xfs_ioctl.c:1308
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5c0f79e559
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f5c1066ffe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f5c0fa26270 RCX: 00007f5c0f79e559
RDX: 0000200000000200 RSI: 00000000c0285840 RDI: 0000000000000005
RBP: 00007f5c0f835ad8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5c0fa26308 R14: 00007f5c0fa26270 R15: 00007ffca04db818
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:xfs_trans_brelse+0xf6/0x3e0 fs/xfs/xfs_trans_buf.c:350
Code: e8 0f 6e ee ff 48 89 df 5b 41 5c 41 5d 41 5e 41 5f 5d e9 7d 3f ee ff e8 68 7b 19 fe 4d 8d be a4 00 00 00 4d 89 fd 49 c1 ed 03 <43> 0f b6 44 25 00 84 c0 0f 85 34 01 00 00 41 8b 2f 31 ff 89 ee e8
RSP: 0018:ffffc9000f9bf588 EFLAGS: 00010207
RAX: ffffffff83aea782 RBX: ffff888014477200 RCX: ffff888034b9a580
RDX: 0000000000000000 RSI: ffffffff8c6dec60 RDI: ffffffff8c6dec20
RBP: ffff88803829d001 R08: ffffffff917a997f R09: 1ffffffff22f532f
R10: dffffc0000000000 R11: fffffbfff22f5330 R12: dffffc0000000000
R13: 0000000000000014 R14: 0000000000000000 R15: 00000000000000a4
FS:  00007f5c106706c0(0000) GS:ffff88808b0b4000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f86f67909c0 CR3: 0000000013b73000 CR4: 0000000000352ef0
----------------
Code disassembly (best guess):
   0:	e8 0f 6e ee ff       	call   0xffee6e14
   5:	48 89 df             	mov    %rbx,%rdi
   8:	5b                   	pop    %rbx
   9:	41 5c                	pop    %r12
   b:	41 5d                	pop    %r13
   d:	41 5e                	pop    %r14
   f:	41 5f                	pop    %r15
  11:	5d                   	pop    %rbp
  12:	e9 7d 3f ee ff       	jmp    0xffee3f94
  17:	e8 68 7b 19 fe       	call   0xfe197b84
  1c:	4d 8d be a4 00 00 00 	lea    0xa4(%r14),%r15
  23:	4d 89 fd             	mov    %r15,%r13
  26:	49 c1 ed 03          	shr    $0x3,%r13
* 2a:	43 0f b6 44 25 00    	movzbl 0x0(%r13,%r12,1),%eax <-- trapping instruction
  30:	84 c0                	test   %al,%al
  32:	0f 85 34 01 00 00    	jne    0x16c
  38:	41 8b 2f             	mov    (%r15),%ebp
  3b:	31 ff                	xor    %edi,%edi
  3d:	89 ee                	mov    %ebp,%esi
  3f:	e8                   	.byte 0xe8

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/19 19:17 upstream c03c1a14507d 440f8011 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in xfs_trans_brelse
2026/07/23 11:34 upstream 4539944e5151 71a13572 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in xfs_trans_brelse
2026/07/23 11:34 upstream 4539944e5151 71a13572 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in xfs_trans_brelse
2026/07/20 04:20 upstream 1590cf032971 72524a66 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in xfs_trans_brelse
* Struck through repros no longer work on HEAD.