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 9 extents in 0ms gfs2: fsid=syz:syz.0: first mount done, others may mount gfs2: fsid=syz:syz.0: found 1 quota changes loop0: detected capacity change from 32768 to 0 gfs2: fsid=syz:syz.0: Error -5 writing to journal, jid=0 CPU: 0 UID: 0 PID: 5344 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 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_end_log_write+0xcd/0x7c0 fs/gfs2/lops.c:212 gfs2_log_submit_write fs/gfs2/lops.c:245 [inline] gfs2_log_get_bio+0x193/0x370 fs/gfs2/lops.c:305 gfs2_log_write+0x4b/0xe0 fs/gfs2/lops.c:334 gfs2_log_write_bh fs/gfs2/lops.c:361 [inline] gfs2_before_commit+0x1392/0x1940 fs/gfs2/lops.c:699 lops_before_commit fs/gfs2/lops.h:42 [inline] gfs2_log_flush+0xa6e/0x2510 fs/gfs2/log.c:1096 gfs2_kill_sb+0x5c/0x430 fs/gfs2/ops_fstype.c:1779 deactivate_locked_super+0xbc/0x130 fs/super.c:476 cleanup_mnt+0x437/0x4d0 fs/namespace.c:1312 task_work_run+0x1d9/0x270 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:67 [inline] exit_to_user_mode_loop+0xed/0x480 kernel/entry/common.c:98 __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 include/linux/entry-common.h:325 [inline] do_syscall_64+0x32d/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f335f59c819 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3360493fe8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f335f815fa0 RCX: 00007f335f59c819 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000000 RBP: 00007f335f632c91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f335f816038 R14: 00007f335f815fa0 R15: 00007ffdedb1d308 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: 5344 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 04/01/2014 RIP: 0010:gfs2_jindex_free+0x44e/0x450 fs/gfs2/super.c:76 Code: 88 97 8e 07 cc 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c e2 fd ff ff e8 52 9f 0b fe e9 d8 fd ff ff e8 28 b0 8b 07 e8 33 be 9f 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:ffffc9000d937bc0 EFLAGS: 00010287 RAX: ffffffff8426113d RBX: dead000000000122 RCX: 0000000000100000 RDX: ffffc9000f761000 RSI: 000000000002bd83 RDI: 000000000002bd84 RBP: ffffc9000d937c80 R08: ffff888035a80e37 R09: 1ffff11006b501c6 R10: dffffc0000000000 R11: ffffed1006b501c7 R12: ffff888035a80908 R13: dffffc0000000000 R14: ffff88803846f900 R15: ffff88803846f978 FS: 00007f33604946c0(0000) GS:ffff88808ca49000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6fcd383ad8 CR3: 000000001a9f2000 CR4: 0000000000352ef0 Call Trace: gfs2_put_super+0x7d9/0x860 fs/gfs2/super.c:638 generic_shutdown_super+0x13d/0x2d0 fs/super.c:646 kill_block_super+0x44/0x90 fs/super.c:1725 deactivate_locked_super+0xbc/0x130 fs/super.c:476 cleanup_mnt+0x437/0x4d0 fs/namespace.c:1312 task_work_run+0x1d9/0x270 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:67 [inline] exit_to_user_mode_loop+0xed/0x480 kernel/entry/common.c:98 __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 include/linux/entry-common.h:325 [inline] do_syscall_64+0x32d/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f335f59c819 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3360493fe8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f335f815fa0 RCX: 00007f335f59c819 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000000 RBP: 00007f335f632c91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f335f816038 R14: 00007f335f815fa0 R15: 00007ffdedb1d308 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:gfs2_jindex_free+0x44e/0x450 fs/gfs2/super.c:76 Code: 88 97 8e 07 cc 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c e2 fd ff ff e8 52 9f 0b fe e9 d8 fd ff ff e8 28 b0 8b 07 e8 33 be 9f 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:ffffc9000d937bc0 EFLAGS: 00010287 RAX: ffffffff8426113d RBX: dead000000000122 RCX: 0000000000100000 RDX: ffffc9000f761000 RSI: 000000000002bd83 RDI: 000000000002bd84 RBP: ffffc9000d937c80 R08: ffff888035a80e37 R09: 1ffff11006b501c6 R10: dffffc0000000000 R11: ffffed1006b501c7 R12: ffff888035a80908 R13: dffffc0000000000 R14: ffff88803846f900 R15: ffff88803846f978 FS: 00007f33604946c0(0000) GS:ffff88808ca49000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6fcd383ad8 CR3: 000000001a9f2000 CR4: 0000000000352ef0