Kernel bug: kernel BUG in gfs2_jindex_free (2)
Subsystem: gfs2
Status: open

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: 5438 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: 48 7c 56 07 cc 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c ea fd ff ff e8 12 bd 20 fe e9 e0 fd ff ff e8 18 9c 53 07 e8 63 11 b9 fd 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 40 d6
RSP: 0018:ffffc900028c7bc0 EFLAGS: 00010293
RAX: ffffffff8407f3bd RBX: dead000000000122 RCX: ffff888033eba4c0
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 00000000ffffffff
RBP: ffffc900028c7c80 R08: ffff888011674e37 R09: 1ffff110022ce9c6
R10: dffffc0000000000 R11: ffffed10022ce9c7 R12: ffff888011674908
R13: dffffc0000000000 R14: ffff888036d04200 R15: ffff888036d04278
FS:  0000555559454500(0000) GS:ffff88808d416000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c9431d33b8 CR3: 0000000044387000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 gfs2_put_super+0x7d9/0x860 fs/gfs2/super.c:636
 generic_shutdown_super+0x135/0x2c0 fs/super.c:643
 kill_block_super+0x44/0x90 fs/super.c:1722
 deactivate_locked_super+0xbc/0x130 fs/super.c:474
 cleanup_mnt+0x425/0x4c0 fs/namespace.c:1318
 task_work_run+0x1d4/0x260 kernel/task_work.c:233
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 __exit_to_user_mode_loop kernel/entry/common.c:44 [inline]
 exit_to_user_mode_loop+0xef/0x4e0 kernel/entry/common.c:75
 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline]
 syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline]
 syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline]
 syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline]
 do_syscall_64+0x2b7/0xf80 arch/x86/entry/syscall_64.c:100
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9775190af7
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:00007ffe5ccde8d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f9775213d7d RCX: 00007f9775190af7
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe5ccde990
RBP: 00007ffe5ccde990 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe5ccdfa20
R13: 00007f9775213d7d R14: 000000000001a2f9 R15: 00007ffe5ccdfa60
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:gfs2_jindex_free+0x43e/0x440 fs/gfs2/super.c:76
Code: 48 7c 56 07 cc 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c ea fd ff ff e8 12 bd 20 fe e9 e0 fd ff ff e8 18 9c 53 07 e8 63 11 b9 fd 90 <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 40 d6
RSP: 0018:ffffc900028c7bc0 EFLAGS: 00010293
RAX: ffffffff8407f3bd RBX: dead000000000122 RCX: ffff888033eba4c0
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 00000000ffffffff
RBP: ffffc900028c7c80 R08: ffff888011674e37 R09: 1ffff110022ce9c6
R10: dffffc0000000000 R11: ffffed10022ce9c7 R12: ffff888011674908
R13: dffffc0000000000 R14: ffff888036d04200 R15: ffff888036d04278
FS:  0000555559454500(0000) GS:ffff88808d416000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c9431d33b8 CR3: 0000000044387000 CR4: 0000000000352ef0