syzbot


kernel BUG in gfs2_jindex_free (2)

Status: upstream: reported C repro on 2025/06/13 11:37
Subsystems: gfs2
[Documentation on labels]
Reported-by: syzbot+150563285f78ac3e9bd4@syzkaller.appspotmail.com
First crash: 97d, last: 2d19h
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [gfs2?] kernel BUG in gfs2_jindex_free (2) 0 (3) 2025/09/09 23:23
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in gfs2_jindex_free gfs2 -1 5 209d 206d 0/29 auto-obsoleted due to no activity on 2025/04/18 13:10
Last patch testing requests (1)
Created Duration User Patch Repo Result
2025/09/04 16:44 3h27m retest repro linux-next OK log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/gfs2/super.c:76!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5487 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:gfs2_jindex_free+0x43e/0x440 fs/gfs2/super.c:76
Code: c8 85 80 07 cc 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c ea fd ff ff e8 42 39 26 fe e9 e0 fd ff ff e8 b8 a0 7d 07 e8 53 48 c1 fd 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00
RSP: 0018:ffffc90002a8fa40 EFLAGS: 00010293
RAX: ffffffff83fe763d RBX: dead000000000122 RCX: ffff888034610000
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 00000000ffffffff
RBP: ffffc90002a8fb00 R08: ffff888050e74d4f R09: 1ffff1100a1ce9a9
R10: dffffc0000000000 R11: ffffed100a1ce9aa R12: ffff888050e74818
R13: dffffc0000000000 R14: ffff888040184200 R15: ffff888040184278
FS:  0000000000000000(0000) GS:ffff88808d20c000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0021090f0 CR3: 0000000043def000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 gfs2_put_super+0x8af/0x950 fs/gfs2/super.c:636
 generic_shutdown_super+0x135/0x2c0 fs/super.c:643
 kill_block_super+0x44/0x90 fs/super.c:1766
 deactivate_locked_super+0xb9/0x130 fs/super.c:474
 cleanup_mnt+0x425/0x4c0 fs/namespace.c:1375
 task_work_run+0x1d1/0x260 kernel/task_work.c:227
 exit_task_work include/linux/task_work.h:40 [inline]
 do_exit+0x6b5/0x2300 kernel/exit.c:961
 do_group_exit+0x21c/0x2d0 kernel/exit.c:1102
 __do_sys_exit_group kernel/exit.c:1113 [inline]
 __se_sys_exit_group kernel/exit.c:1111 [inline]
 __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1111
 x64_sys_call+0x21f7/0x2200 arch/x86/include/generated/asm/syscalls_64.h:232
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f235d18eba9
Code: Unable to access opcode bytes at 0x7f235d18eb7f.
RSP: 002b:00007fff8ebd2df8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007f235d211c2a RCX: 00007f235d18eba9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 0000000000000005 R08: 00007fff8ebd0b97 R09: 00007fff8ebd4050
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff8ebd4050
R13: 00007f235d211c05 R14: 0000000000018b8b R15: 00007fff8ebd4090
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:gfs2_jindex_free+0x43e/0x440 fs/gfs2/super.c:76
Code: c8 85 80 07 cc 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c ea fd ff ff e8 42 39 26 fe e9 e0 fd ff ff e8 b8 a0 7d 07 e8 53 48 c1 fd 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00
RSP: 0018:ffffc90002a8fa40 EFLAGS: 00010293
RAX: ffffffff83fe763d RBX: dead000000000122 RCX: ffff888034610000
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 00000000ffffffff
RBP: ffffc90002a8fb00 R08: ffff888050e74d4f R09: 1ffff1100a1ce9a9
R10: dffffc0000000000 R11: ffffed100a1ce9aa R12: ffff888050e74818
R13: dffffc0000000000 R14: ffff888040184200 R15: ffff888040184278
FS:  0000000000000000(0000) GS:ffff88808d20c000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0021090f0 CR3: 000000003380a000 CR4: 0000000000352ef0

Crashes (22):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/09 23:22 upstream 9dd1835ecda5 fdeaa69b .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci-snapshot-upstream-root kernel BUG in gfs2_jindex_free
2025/09/05 00:11 upstream 08b06c30a445 d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root kernel BUG in gfs2_jindex_free
2025/08/19 02:14 upstream be48bcf004f9 523f460e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in gfs2_jindex_free
2025/08/19 02:11 upstream be48bcf004f9 523f460e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in gfs2_jindex_free
2025/08/19 02:11 upstream be48bcf004f9 523f460e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in gfs2_jindex_free
2025/08/19 02:11 upstream be48bcf004f9 523f460e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in gfs2_jindex_free
2025/08/18 16:41 upstream c17b750b3ad9 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root kernel BUG in gfs2_jindex_free
2025/08/18 13:04 upstream c17b750b3ad9 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in gfs2_jindex_free
2025/08/18 04:08 upstream 8d561baae505 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in gfs2_jindex_free
2025/08/06 17:22 upstream 479058002c32 4bd24a3e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in gfs2_jindex_free
2025/07/23 03:37 upstream 89be9a83ccf1 85deaf45 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in gfs2_jindex_free
2025/07/15 00:22 upstream 347e9f5043c8 03fcfc4b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in gfs2_jindex_free
2025/09/12 08:04 upstream 320475fbd590 e2beed91 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in gfs2_jindex_free
2025/07/01 19:30 upstream 66701750d556 a073c096 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in gfs2_jindex_free
2025/06/23 14:20 upstream 86731a2a651e d6cdfb8a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in gfs2_jindex_free
2025/06/15 23:16 upstream 08215f5486ec 5f4b362d .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in gfs2_jindex_free
2025/06/09 11:34 upstream 19272b37aa4f 4826c28e .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in gfs2_jindex_free
2025/08/20 23:49 linux-next 5303936d609e bd178e57 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci-upstream-linux-next-kasan-gce-root kernel BUG in gfs2_jindex_free
2025/08/19 02:45 linux-next 3ac864c2d9bb 523f460e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in gfs2_jindex_free
2025/08/19 02:45 linux-next 3ac864c2d9bb 523f460e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in gfs2_jindex_free
2025/08/19 02:44 linux-next 3ac864c2d9bb 523f460e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in gfs2_jindex_free
2025/08/04 00:08 linux-next 84b92a499e7e 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in gfs2_jindex_free
* Struck through repros no longer work on HEAD.