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 syz.0.0: attempt to access beyond end of device loop0: rw=2049, sector=68719479104, nr_sectors = 8 limit=32768 syz.0.0: attempt to access beyond end of device loop0: rw=8402945, sector=68719479080, nr_sectors = 8 limit=32768 Buffer I/O error on dev loop0, logical block 8589934885, lost async page write syz.0.0: attempt to access beyond end of device loop0: rw=8402945, sector=68719479088, nr_sectors = 8 limit=32768 Buffer I/O error on dev loop0, logical block 8589934886, lost async page write syz.0.0: attempt to access beyond end of device loop0: rw=8402945, sector=68719479096, nr_sectors = 8 limit=32768 Buffer I/O error on dev loop0, logical block 8589934887, lost async page write syz.0.0: attempt to access beyond end of device loop0: rw=8400896, sector=68719479080, nr_sectors = 8 limit=32768 gfs2: fsid=syz:syz.0: fatal: I/O error - block = 8589934886, function = gfs2_ail1_empty_one, file = fs/gfs2/log.c, line = 326 CPU: 0 UID: 0 PID: 5317 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_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/0xe70 fs/gfs2/lops.c:856 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 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x69b/0x2320 kernel/exit.c:971 do_group_exit+0x21b/0x2d0 kernel/exit.c:1112 get_signal+0x1284/0x1330 kernel/signal.c:3034 arch_do_signal_or_restart+0xbc/0x830 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:64 [inline] exit_to_user_mode_loop+0x86/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:0x7fa3eb59c799 Code: Unable to access opcode bytes at 0x7fa3eb59c76f. RSP: 002b:00007fa3ec49d0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fa3eb815fa8 RCX: 00007fa3eb59c799 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fa3eb815fa8 RBP: 00007fa3eb815fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa3eb816038 R14: 00007fff9104f4f0 R15: 00007fff9104f5d8 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: 5317 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: c8 69 8d 07 cc 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c e2 fd ff ff e8 42 90 0c fe e9 d8 fd ff ff e8 e8 81 8a 07 e8 f3 db a0 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:ffffc9000e12f820 EFLAGS: 00010293 RAX: ffffffff8424bf7d RBX: dead000000000122 RCX: ffff888037dec900 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 00000000ffffffff RBP: ffffc9000e12f8e0 R08: ffff888042cc4e37 R09: 1ffff110085989c6 R10: dffffc0000000000 R11: ffffed10085989c7 R12: ffff888042cc4908 R13: dffffc0000000000 R14: ffff888038794700 R15: ffff888038794778 FS: 0000000000000000(0000) GS:ffff88808ca59000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd79115110 CR3: 0000000011830000 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 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x69b/0x2320 kernel/exit.c:971 do_group_exit+0x21b/0x2d0 kernel/exit.c:1112 get_signal+0x1284/0x1330 kernel/signal.c:3034 arch_do_signal_or_restart+0xbc/0x830 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:64 [inline] exit_to_user_mode_loop+0x86/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:0x7fa3eb59c799 Code: Unable to access opcode bytes at 0x7fa3eb59c76f. RSP: 002b:00007fa3ec49d0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fa3eb815fa8 RCX: 00007fa3eb59c799 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fa3eb815fa8 RBP: 00007fa3eb815fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa3eb816038 R14: 00007fff9104f4f0 R15: 00007fff9104f5d8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:gfs2_jindex_free+0x44e/0x450 fs/gfs2/super.c:76 Code: c8 69 8d 07 cc 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c e2 fd ff ff e8 42 90 0c fe e9 d8 fd ff ff e8 e8 81 8a 07 e8 f3 db a0 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:ffffc9000e12f820 EFLAGS: 00010293 RAX: ffffffff8424bf7d RBX: dead000000000122 RCX: ffff888037dec900 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 00000000ffffffff RBP: ffffc9000e12f8e0 R08: ffff888042cc4e37 R09: 1ffff110085989c6 R10: dffffc0000000000 R11: ffffed10085989c7 R12: ffff888042cc4908 R13: dffffc0000000000 R14: ffff888038794700 R15: ffff888038794778 FS: 0000000000000000(0000) GS:ffff88808ca59000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd79115110 CR3: 0000000011830000 CR4: 0000000000352ef0