------------[ cut here ]------------ kernel BUG at fs/gfs2/quota.c:331! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5360 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:qd_put+0x18a/0x190 fs/gfs2/quota.c:331 Code: e7 e8 8a 0d 28 fe e9 ee fe ff ff 89 e9 80 e1 07 80 c1 03 38 c1 7c 83 48 89 ef e8 61 0e 28 fe e9 76 ff ff ff e8 a7 1d c3 fd 90 <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000d327c08 EFLAGS: 00010283 RAX: ffffffff83fca0a9 RBX: ffff8880446dc000 RCX: 0000000000100000 RDX: ffffc9000ea53000 RSI: 0000000000022963 RDI: 0000000000022964 RBP: 00000000ffffff80 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52001a64f68 R12: ffff8880446dc070 R13: ffff888052c4f800 R14: ffff8880446dc030 R15: 1ffff110088db80e FS: 00007f68a35d46c0(0000) GS:ffff88808d20c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f68a35d3fc8 CR3: 00000000434b8000 CR4: 0000000000352ef0 Call Trace: gfs2_quota_sync+0x3c4/0x460 fs/gfs2/quota.c:1361 gfs2_sync_fs+0x4c/0xb0 fs/gfs2/super.c:658 sync_filesystem+0xee/0x230 fs/sync.c:56 generic_shutdown_super+0x6f/0x2c0 fs/super.c:622 kill_block_super+0x44/0x90 fs/super.c:1766 deactivate_locked_super+0xb9/0x130 fs/super.c:474 cleanup_mnt+0x425/0x4c0 fs/namespace.c:1375 task_work_run+0x1d1/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xec/0x110 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x2bd/0x3b0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f68a718ebe9 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:00007f68a35d4038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f68a73c6090 RCX: 00007f68a718ebe9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00002000000002c0 RBP: 00007f68a7211e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f68a73c6128 R14: 00007f68a73c6090 R15: 00007fff0c51dc78 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:qd_put+0x18a/0x190 fs/gfs2/quota.c:331 Code: e7 e8 8a 0d 28 fe e9 ee fe ff ff 89 e9 80 e1 07 80 c1 03 38 c1 7c 83 48 89 ef e8 61 0e 28 fe e9 76 ff ff ff e8 a7 1d c3 fd 90 <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000d327c08 EFLAGS: 00010283 RAX: ffffffff83fca0a9 RBX: ffff8880446dc000 RCX: 0000000000100000 RDX: ffffc9000ea53000 RSI: 0000000000022963 RDI: 0000000000022964 RBP: 00000000ffffff80 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52001a64f68 R12: ffff8880446dc070 R13: ffff888052c4f800 R14: ffff8880446dc030 R15: 1ffff110088db80e FS: 00007f68a35d46c0(0000) GS:ffff88808d20c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f68a35d3fc8 CR3: 00000000434b8000 CR4: 0000000000352ef0