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
loop0: detected capacity change from 32768 to 64
gfs2: fsid=syz:syz.0: fatal: I/O error - block = 9377, function = gfs2_ail1_empty_one, file = fs/gfs2/log.c, line = 326
CPU: 0 UID: 0 PID: 5338 Comm: syz.0.0 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
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
gfs2_withdraw+0xc3/0x1b0 fs/gfs2/util.c:250
gfs2_ail1_empty_one fs/gfs2/log.c:326 [inline]
gfs2_ail1_empty+0x2ba/0x7c0 fs/gfs2/log.c:360
gfs2_flush_revokes+0x5c/0x80 fs/gfs2/log.c:804
revoke_lo_before_commit+0x2f/0xe60 fs/gfs2/lops.c:853
lops_before_commit fs/gfs2/lops.h:42 [inline]
gfs2_log_flush+0xa48/0x24c0 fs/gfs2/log.c:1095
gfs2_sync_fs+0x6d/0xb0 fs/gfs2/super.c:660
sync_filesystem+0x1cf/0x230 fs/sync.c:66
gfs2_reconfigure+0xbb/0xb20 fs/gfs2/ops_fstype.c:1554
reconfigure_super+0x227/0x880 fs/super.c:1077
do_remount fs/namespace.c:3264 [inline]
path_mount+0xd29/0xff0 fs/namespace.c:4014
do_mount fs/namespace.c:4035 [inline]
__do_sys_mount fs/namespace.c:4224 [inline]
__se_sys_mount+0x313/0x410 fs/namespace.c:4201
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xec/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f686f38f7c9
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:00007f68702ad038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f686f5e5fa0 RCX: 00007f686f38f7c9
RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 0000000000000000
RBP: 00007f686f413f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000c22 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f686f5e6038 R14: 00007f686f5e5fa0 R15: 00007ffdfab9de48
gfs2: fsid=syz:syz.0: about to withdraw this file system
------------[ cut here ]------------
kernel BUG at fs/gfs2/super.c:76!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5338 Comm: syz.0.0 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:ffffc9000ada7820 EFLAGS: 00010293
RAX: ffffffff8407f3bd RBX: dead000000000122 RCX: ffff8880003e24c0
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 00000000ffffffff
RBP: ffffc9000ada78e0 R08: ffff888040660e37 R09: 1ffff110080cc1c6
R10: dffffc0000000000 R11: ffffed10080cc1c7 R12: ffff888040660908
R13: dffffc0000000000 R14: ffff888037d8ab00 R15: ffff888037d8ab78
FS: 0000000000000000(0000) GS:ffff88808d416000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0c66d0cb20 CR3: 0000000011043000 CR4: 0000000000352ef0
Call Trace:
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
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0x694/0x22f0 kernel/exit.c:971
do_group_exit+0x21c/0x2d0 kernel/exit.c:1112
get_signal+0x1285/0x1340 kernel/signal.c:3034
arch_do_signal_or_restart+0x9a/0x7a0 arch/x86/kernel/signal.c:337
__exit_to_user_mode_loop kernel/entry/common.c:41 [inline]
exit_to_user_mode_loop+0x87/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:0x7f686f38f7c9
Code: Unable to access opcode bytes at 0x7f686f38f79f.
RSP: 002b:00007f68702ad0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f686f5e5fa8 RCX: 00007f686f38f7c9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f686f5e5fa8
RBP: 00007f686f5e5fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f686f5e6038 R14: 00007ffdfab9dd60 R15: 00007ffdfab9de48
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:ffffc9000ada7820 EFLAGS: 00010293
RAX: ffffffff8407f3bd RBX: dead000000000122 RCX: ffff8880003e24c0
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 00000000ffffffff
RBP: ffffc9000ada78e0 R08: ffff888040660e37 R09: 1ffff110080cc1c6
R10: dffffc0000000000 R11: ffffed10080cc1c7 R12: ffff888040660908
R13: dffffc0000000000 R14: ffff888037d8ab00 R15: ffff888037d8ab78
FS: 0000000000000000(0000) GS:ffff88808d416000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0c66d0cb20 CR3: 000000001177b000 CR4: 0000000000352ef0