syzbot


kernel BUG in gfs2_jindex_free

Status: upstream: reported on 2025/02/20 22:35
Subsystems: gfs2
[Documentation on labels]
Reported-by: syzbot+41ebde41e42dfdd1797d@syzkaller.appspotmail.com
First crash: 5d08h, last: 4d17h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [gfs2?] kernel BUG in gfs2_jindex_free 0 (1) 2025/02/20 22:35

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/gfs2/super.c:76!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 0 UID: 0 PID: 5841 Comm: syz-executor Not tainted 6.14.0-rc2-next-20250217-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:gfs2_jindex_free+0x4a2/0x4b0 fs/gfs2/super.c:76
Code: 41 5e 41 5f 5d c3 cc cc cc cc 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c b6 fd ff ff e8 49 81 09 fe e9 ac fd ff ff e8 cf 0c a2 fd 90 <0f> 0b e8 57 9b ec 07 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90
RSP: 0018:ffffc900042efc00 EFLAGS: 00010293
RAX: ffffffff841ff1f1 RBX: ffff8880333f1378 RCX: ffff8880656bbc00
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000001
RBP: ffffc900042efca8 R08: ffff888024b0cf6f R09: 1ffff110049619ed
R10: dffffc0000000000 R11: ffffed10049619ee R12: ffff8880333f1300
R13: ffffc900042efc40 R14: dffffc0000000000 R15: ffffc900042efc48
FS:  0000555583644500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe6777efe8 CR3: 0000000065e18000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 gfs2_put_super+0x8c8/0x940 fs/gfs2/super.c:648
 generic_shutdown_super+0x139/0x2d0 fs/super.c:642
 kill_block_super+0x44/0x90 fs/super.c:1710
 deactivate_locked_super+0xc4/0x130 fs/super.c:473
 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1424
 task_work_run+0x24f/0x310 kernel/task_work.c:227
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
 syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218
 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f326d38e117
Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffe6777f1b8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000064 RCX: 00007f326d38e117
RDX: 0000000000000200 RSI: 0000000000000009 RDI: 00007ffe67780360
RBP: 00007f326d40e08c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffe67780360
R13: 00007f326d40e08c R14: 00005555836444a8 R15: 00007ffe67781430
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:gfs2_jindex_free+0x4a2/0x4b0 fs/gfs2/super.c:76
Code: 41 5e 41 5f 5d c3 cc cc cc cc 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c b6 fd ff ff e8 49 81 09 fe e9 ac fd ff ff e8 cf 0c a2 fd 90 <0f> 0b e8 57 9b ec 07 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90
RSP: 0018:ffffc900042efc00 EFLAGS: 00010293
RAX: ffffffff841ff1f1 RBX: ffff8880333f1378 RCX: ffff8880656bbc00
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000001
RBP: ffffc900042efca8 R08: ffff888024b0cf6f R09: 1ffff110049619ed
R10: dffffc0000000000 R11: ffffed10049619ee R12: ffff8880333f1300
R13: ffffc900042efc40 R14: dffffc0000000000 R15: ffffc900042efc48
FS:  0000555583644500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fae8f599000 CR3: 0000000065e18000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/02/17 13:09 linux-next 253c82b3a2ce 40a34ec9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in gfs2_jindex_free
2025/02/16 22:29 linux-next 0ae0fa3bf0b4 40a34ec9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in gfs2_jindex_free
2025/02/16 22:25 linux-next 0ae0fa3bf0b4 40a34ec9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in gfs2_jindex_free
2025/02/16 22:24 linux-next 0ae0fa3bf0b4 40a34ec9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in gfs2_jindex_free
2025/02/16 22:23 linux-next 0ae0fa3bf0b4 40a34ec9 .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.