syzbot


kernel BUG in do_xmote

Status: auto-obsoleted due to no activity on 2026/03/18 06:37
Subsystems: gfs2
[Documentation on labels]
Reported-by: syzbot+353de08f32ce69361b89@syzkaller.appspotmail.com
First crash: 183d, last: 163d
Cause bisection: introduced by (bisect log) :
commit 669d4eb0b91817f2451a0210c79ef4c21af66f49
Author: Andreas Gruenbacher <agruenba@redhat.com>
Date: Mon Aug 4 22:07:02 2025 +0000

  gfs2: Clean up properly during a withdraw

Crash: kernel BUG in do_xmote (log)
Repro: C syz .config
  
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] gfs2: Fix invalid glock target state during withdraw 1 (1) 2025/11/01 15:35
[syzbot] [gfs2?] kernel BUG in do_xmote 0 (3) 2025/10/22 22:32
Last patch testing requests (7)
Created Duration User Patch Repo Result
2026/03/18 06:13 35m retest repro linux-next OK log
2026/03/18 06:12 24m retest repro linux-next OK log
2026/01/06 17:38 3h23m retest repro linux-next OK log
2026/01/06 17:38 3h15m retest repro linux-next report log
2025/10/28 14:18 18m retest repro linux-next report log
2025/10/28 14:18 17m retest repro linux-next report log
2025/10/22 22:32 22m agruenba@redhat.com https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git for-next report log
Cause bisection attempts (2)
Created Duration User Patch Repo Result
2025/10/21 15:11 10h59m bisect linux-next OK (1) job log log
2025/10/14 05:49 6h45m bisect linux-next error job log

Sample crash report:
gfs2: fsid=syz:syz.0: G:  s:EX n:2/24a2 f:lyaqo t:EX d:EX/0 a:0 v:0 r:4 m:20 p:1
gfs2: fsid=syz:syz.0:  H: s:EX f:W e:0 p:6230 [syz.2.42] __mark_inode_dirty+0x3b0/0x13a0 fs/fs-writeback.c:2580
gfs2: fsid=syz:syz.0:  I: n:1/9378 t:8 f:0x00 d:0x00000000 s:16 p:1
------------[ cut here ]------------
kernel BUG at fs/gfs2/glock.c:674!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 0 UID: 0 PID: 57 Comm: kworker/0:1H Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Workqueue: gfs2-glock/syz:syz glock_work_func
RIP: 0010:do_xmote+0x706/0x750 fs/gfs2/glock.c:674
Code: 38 c1 0f 8c a9 fe ff ff 48 89 df e8 94 42 27 fe e9 9c fe ff ff e8 fa f0 c0 fd 31 ff 48 89 de ba 01 00 00 00 e8 1b e9 fe ff 90 <0f> 0b e8 e3 f0 c0 fd 31 ff 48 89 de ba 01 00 00 00 e8 04 e9 fe ff
RSP: 0018:ffffc9000132f9e0 EFLAGS: 00010246
RAX: b9877bbb43276900 RBX: ffff888056e3c000 RCX: b9877bbb43276900
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffffff8bb19620 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffffbfff1bba6f0 R12: dffffc0000000000
R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000015
FS:  0000000000000000(0000) GS:ffff888125ee2000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fce2ebe2000 CR3: 0000000029560000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 glock_work_func+0x2a8/0x580 fs/gfs2/glock.c:1002
 process_one_work+0x94a/0x15d0 kernel/workqueue.c:3267
 process_scheduled_works kernel/workqueue.c:3350 [inline]
 worker_thread+0x9b0/0xee0 kernel/workqueue.c:3431
 kthread+0x711/0x8a0 kernel/kthread.c:463
 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:do_xmote+0x706/0x750 fs/gfs2/glock.c:674
Code: 38 c1 0f 8c a9 fe ff ff 48 89 df e8 94 42 27 fe e9 9c fe ff ff e8 fa f0 c0 fd 31 ff 48 89 de ba 01 00 00 00 e8 1b e9 fe ff 90 <0f> 0b e8 e3 f0 c0 fd 31 ff 48 89 de ba 01 00 00 00 e8 04 e9 fe ff
RSP: 0018:ffffc9000132f9e0 EFLAGS: 00010246
RAX: b9877bbb43276900 RBX: ffff888056e3c000 RCX: b9877bbb43276900
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffffff8bb19620 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffffbfff1bba6f0 R12: dffffc0000000000
R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000015
FS:  0000000000000000(0000) GS:ffff888125ee2000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fce2ebe2000 CR3: 0000000029560000 CR4: 00000000003526f0

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/11/02 23:35 linux-next 98bd8b16ae57 2c50b6a9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in do_xmote
2025/10/14 12:14 linux-next 52ba76324a9d b6605ba8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci-upstream-linux-next-kasan-gce-root kernel BUG in do_xmote
2025/10/14 05:29 linux-next 52ba76324a9d b6605ba8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci-upstream-linux-next-kasan-gce-root kernel BUG in do_xmote
2025/10/13 12:59 linux-next 52ba76324a9d ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in do_xmote
* Struck through repros no longer work on HEAD.