[syzbot] [gfs2?] kernel BUG in gfs2_jindex_free (2)

8 views
Skip to first unread message

syzbot

unread,
Jun 13, 2025, 7:37:29 AMJun 13
to agru...@redhat.com, gf...@lists.linux.dev, linux-...@vger.kernel.org, syzkall...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 19272b37aa4f Linux 6.16-rc1
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=108dca82580000
kernel config: https://syzkaller.appspot.com/x/.config?x=c07f08ee4bcfb276
dashboard link: https://syzkaller.appspot.com/bug?extid=150563285f78ac3e9bd4
compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/d900f083ada3/non_bootable_disk-19272b37.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/b70bcabfccd8/vmlinux-19272b37.xz
kernel image: https://storage.googleapis.com/syzbot-assets/57e93b736a7a/bzImage-19272b37.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+150563...@syzkaller.appspotmail.com

loop0: detected capacity change from 0 to 1024
hfsplus: failed to load root directory
loop0: detected capacity change from 0 to 32768
gfs2: fsid=syz:syz: Trying to join cluster "lock_nolock", "syz:syz"
gfs2: fsid=syz:syz: Now mounting FS (format 1801)...
gfs2: fsid=syz:syz.0: journal 0 mapped with 1 extents in 0ms
gfs2: fsid=syz:syz.0: first mount done, others may mount
gfs2: fsid=syz:syz.0: fatal: I/O error - block = 9377, function = gfs2_ail1_empty_one, file = fs/gfs2/log.c, line = 328
gfs2: fsid=syz:syz.0: about to withdraw this file system
gfs2: fsid=syz:syz.0: Journal recovery skipped for jid 0 until next mount.
gfs2: fsid=syz:syz.0: Glock dequeues delayed: 0
gfs2: fsid=syz:syz.0: File system withdrawn
CPU: 0 UID: 0 PID: 5325 Comm: syz.0.0 Not tainted 6.16.0-rc1-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
Call Trace:
<TASK>
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
gfs2_withdraw+0x111e/0x14f0 fs/gfs2/util.c:354
revoke_lo_before_commit+0x2f/0xe60 fs/gfs2/lops.c:857
lops_before_commit fs/gfs2/lops.h:42 [inline]
gfs2_log_flush+0xb8b/0x24c0 fs/gfs2/log.c:1105
gfs2_sync_fs+0x6d/0xb0 fs/gfs2/super.c:662
sync_filesystem+0x1cf/0x230 fs/sync.c:66
gfs2_reconfigure+0xbb/0xb20 fs/gfs2/ops_fstype.c:1555
reconfigure_super+0x224/0x890 fs/super.c:1075
vfs_cmd_reconfigure fs/fsopen.c:262 [inline]
vfs_fsconfig_locked+0x171/0x320 fs/fsopen.c:291
__do_sys_fsconfig fs/fsopen.c:467 [inline]
__se_sys_fsconfig+0x78e/0x8d0 fs/fsopen.c:344
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:0x7f3a8ed8e929
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f3a8fb52038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af
RAX: ffffffffffffffda RBX: 00007f3a8efb5fa0 RCX: 00007f3a8ed8e929
RDX: 0000000000000000 RSI: 0000000000000007 RDI: 000000000000000c
RBP: 00007f3a8ee10b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f3a8efb5fa0 R15: 00007fff7917f738
</TASK>
------------[ cut here ]------------
kernel BUG at fs/gfs2/super.c:76!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5325 Comm: syz.0.0 Not tainted 6.16.0-rc1-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: cc cc cc cc cc 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c ea fd ff ff e8 52 d1 2b fe e9 e0 fd ff ff e8 08 02 6e 07 e8 13 59 c8 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:ffffc9000fec7800 EFLAGS: 00010293
RAX: ffffffff83f805dd RBX: dead000000000122 RCX: ffff888000514880
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 00000000ffffffff
RBP: ffffc9000fec78c0 R08: ffff888042458d4f R09: 1ffff1100848b1a9
R10: dffffc0000000000 R11: ffffed100848b1aa R12: ffff888042458818
R13: dffffc0000000000 R14: ffff888035c49400 R15: ffff888035c49478
FS: 0000000000000000(0000) GS:ffff88808d252000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c2ed7e1b88 CR3: 0000000011bd9000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
gfs2_put_super+0x8af/0x950 fs/gfs2/super.c:638
generic_shutdown_super+0x135/0x2c0 fs/super.c:643
kill_block_super+0x44/0x90 fs/super.c:1753
deactivate_locked_super+0xb9/0x130 fs/super.c:474
cleanup_mnt+0x425/0x4c0 fs/namespace.c:1417
task_work_run+0x1d1/0x260 kernel/task_work.c:227
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x6ad/0x22e0 kernel/exit.c:955
do_group_exit+0x21c/0x2d0 kernel/exit.c:1104
get_signal+0x1286/0x1340 kernel/signal.c:3034
arch_do_signal_or_restart+0x9a/0x750 arch/x86/kernel/signal.c:337
exit_to_user_mode_loop+0x75/0x110 kernel/entry/common.c:111
exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline]
syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline]
do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3a8ed8e929
Code: Unable to access opcode bytes at 0x7f3a8ed8e8ff.
RSP: 002b:00007f3a8fb52038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af
RAX: fffffffffffffffb RBX: 00007f3a8efb5fa0 RCX: 00007f3a8ed8e929
RDX: 0000000000000000 RSI: 0000000000000007 RDI: 000000000000000c
RBP: 00007f3a8ee10b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f3a8efb5fa0 R15: 00007fff7917f738
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:gfs2_jindex_free+0x43e/0x440 fs/gfs2/super.c:76
Code: cc cc cc cc cc 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c ea fd ff ff e8 52 d1 2b fe e9 e0 fd ff ff e8 08 02 6e 07 e8 13 59 c8 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:ffffc9000fec7800 EFLAGS: 00010293
RAX: ffffffff83f805dd RBX: dead000000000122 RCX: ffff888000514880
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 00000000ffffffff
RBP: ffffc9000fec78c0 R08: ffff888042458d4f R09: 1ffff1100848b1a9
R10: dffffc0000000000 R11: ffffed100848b1aa R12: ffff888042458818
R13: dffffc0000000000 R14: ffff888035c49400 R15: ffff888035c49478
FS: 0000000000000000(0000) GS:ffff88808d252000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c2ed7e1b88 CR3: 00000000122c6000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Aug 20, 2025, 7:50:38 PMAug 20
to agru...@redhat.com, gf...@lists.linux.dev, linux-...@vger.kernel.org, syzkall...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 5303936d609e Add linux-next specific files for 20250820
git tree: linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=16775442580000
kernel config: https://syzkaller.appspot.com/x/.config?x=4602df3fd8f406ec
dashboard link: https://syzkaller.appspot.com/bug?extid=150563285f78ac3e9bd4
compiler: Debian clang version 20.1.7 (++20250616065708+6146a88f6049-1~exp1~20250616065826.132), Debian LLD 20.1.7
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=17e597a2580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/57c3527e418a/disk-5303936d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/7f1e146ea30f/vmlinux-5303936d.xz
kernel image: https://storage.googleapis.com/syzbot-assets/55bebb5dd947/bzImage-5303936d.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/5e2270ee146f/mount_0.gz
fsck result: OK (log: https://syzkaller.appspot.com/x/fsck.log?x=159c16f0580000)

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+150563...@syzkaller.appspotmail.com

------------[ cut here ]------------
kernel BUG at fs/gfs2/super.c:76!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 0 UID: 0 PID: 7296 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:gfs2_jindex_free+0x43e/0x440 fs/gfs2/super.c:76
Code: cc cc cc cc cc 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c ea fd ff ff e8 22 e7 25 fe e9 e0 fd ff ff e8 88 e4 7f 07 e8 b3 1f c2 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:ffffc9000b737a40 EFLAGS: 00010293
RAX: ffffffff83fda7cd RBX: dead000000000122 RCX: ffff88802c6c9e00
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 00000000ffffffff
RBP: ffffc9000b737b00 R08: ffff888078520de7 R09: 1ffff1100f0a41bc
R10: dffffc0000000000 R11: ffffed100f0a41bd R12: ffff8880785208b0
R13: dffffc0000000000 R14: ffff888033122800 R15: ffff888033122878
FS: 0000000000000000(0000) GS:ffff888125a05000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff329e51000 CR3: 0000000030646000 CR4: 00000000003526f0
Call Trace:
<TASK>
gfs2_put_super+0x8af/0x950 fs/gfs2/super.c:636
generic_shutdown_super+0x132/0x2c0 fs/super.c:643
kill_block_super+0x44/0x90 fs/super.c:1723
deactivate_locked_super+0xbc/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:0x7fed18f8ebe9
Code: Unable to access opcode bytes at 0x7fed18f8ebbf.
RSP: 002b:00007ffc2c3ee178 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007fed19011c2a RCX: 00007fed18f8ebe9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 0000000000000005 R08: 00007ffc2c3ebf17 R09: 00007ffc2c3ef3d0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc2c3ef3d0
R13: 00007fed19011c05 R14: 0000000000053df0 R15: 00007ffc2c3ef410
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:gfs2_jindex_free+0x43e/0x440 fs/gfs2/super.c:76
Code: cc cc cc cc cc 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c ea fd ff ff e8 22 e7 25 fe e9 e0 fd ff ff e8 88 e4 7f 07 e8 b3 1f c2 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:ffffc9000b737a40 EFLAGS: 00010293
RAX: ffffffff83fda7cd RBX: dead000000000122 RCX: ffff88802c6c9e00
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 00000000ffffffff
RBP: ffffc9000b737b00 R08: ffff888078520de7 R09: 1ffff1100f0a41bc
R10: dffffc0000000000 R11: ffffed100f0a41bd R12: ffff8880785208b0
R13: dffffc0000000000 R14: ffff888033122800 R15: ffff888033122878
FS: 0000000000000000(0000) GS:ffff888125b05000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fece4332000 CR3: 00000000584a4000 CR4: 00000000003526f0


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

syzbot

unread,
Sep 9, 2025, 7:23:31 PMSep 9
to agru...@redhat.com, gf...@lists.linux.dev, linux-...@vger.kernel.org, syzkall...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 9dd1835ecda5 Merge tag 'dma-mapping-6.17-2025-09-09' of gi..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=1580c934580000
kernel config: https://syzkaller.appspot.com/x/.config?x=c7f605fd273c8220
dashboard link: https://syzkaller.appspot.com/bug?extid=150563285f78ac3e9bd4
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10472642580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=10b94b12580000

Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/d900f083ada3/non_bootable_disk-9dd1835e.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/4657190ff75d/vmlinux-9dd1835e.xz
kernel image: https://storage.googleapis.com/syzbot-assets/2c21590a37de/bzImage-9dd1835e.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/4e71338bb0fc/mount_0.gz
fsck result: OK (log: https://syzkaller.appspot.com/x/fsck.log?x=138ab562580000)

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+150563...@syzkaller.appspotmail.com

------------[ 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
Reply all
Reply to author
Forward
0 new messages