------------[ cut here ]------------ kernel BUG at fs/gfs2/quota.c:331! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5346 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 5a 5d 25 fe e9 ee fe ff ff 89 e9 80 e1 07 80 c1 03 38 c1 7c 83 48 89 ef e8 31 5e 25 fe e9 76 ff ff ff e8 e7 25 be 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:ffffc9000d41e488 EFLAGS: 00010293 RAX: ffffffff84017db9 RBX: ffff8880427f3000 RCX: ffff888000f22480 RDX: 0000000000000000 RSI: 00000000ffffff80 RDI: 0000000000000000 RBP: 00000000ffffff80 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52001a83c78 R12: ffff8880427f3070 R13: dffffc0000000000 R14: ffff8880427f3030 R15: 1ffff110084fe60e FS: 00007f976f7636c0(0000) GS:ffff88808d304000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f49060a4fe0 CR3: 000000003f256000 CR4: 0000000000352ef0 Call Trace: gfs2_quota_unhold+0x1c9/0x690 fs/gfs2/quota.c:653 gfs2_quota_unlock+0x7bd/0x8a0 fs/gfs2/quota.c:1191 gfs2_iomap_end+0x3be/0x6c0 fs/gfs2/bmap.c:1169 iomap_iter+0x313/0xde0 fs/iomap/iter.c:79 iomap_file_buffered_write+0x7fa/0x9b0 fs/iomap/buffered-io.c:1070 gfs2_file_buffered_write+0x4ed/0x880 fs/gfs2/file.c:1061 gfs2_file_write_iter+0x94e/0x1100 fs/gfs2/file.c:1166 __kernel_write_iter+0x425/0x910 fs/read_write.c:619 dump_emit_page fs/coredump.c:1298 [inline] dump_user_range+0x8a0/0xc90 fs/coredump.c:1372 elf_core_dump+0x3369/0x3960 fs/binfmt_elf.c:2111 coredump_write+0x116c/0x1900 fs/coredump.c:1049 vfs_coredump+0x1db5/0x2a60 fs/coredump.c:1170 get_signal+0x1108/0x1340 kernel/signal.c:3019 arch_do_signal_or_restart+0xa0/0x790 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:40 [inline] exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] irqentry_exit_to_user_mode+0x7e/0x110 kernel/entry/common.c:73 exc_general_protection+0x171/0x200 arch/x86/kernel/traps.c:792 asm_exc_general_protection+0x26/0x30 arch/x86/include/asm/idtentry.h:617 RIP: 0033:0x7f976e98eed1 Code: 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 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f RSP: 002b:0000200000000340 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f976ebe5fa0 RCX: 00007f976e98eec9 RDX: 0000200000000180 RSI: 0000200000000340 RDI: 0000000000008000 RBP: 00007f976ea11f91 R08: 0000200000000280 R09: 0000200000000280 R10: 0000200000000940 R11: 0000000000000206 R12: 0000000000000000 R13: 00007f976ebe6038 R14: 00007f976ebe5fa0 R15: 00007ffc5202e5a8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:qd_put+0x18a/0x190 fs/gfs2/quota.c:331 Code: e7 e8 5a 5d 25 fe e9 ee fe ff ff 89 e9 80 e1 07 80 c1 03 38 c1 7c 83 48 89 ef e8 31 5e 25 fe e9 76 ff ff ff e8 e7 25 be 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:ffffc9000d41e488 EFLAGS: 00010293 RAX: ffffffff84017db9 RBX: ffff8880427f3000 RCX: ffff888000f22480 RDX: 0000000000000000 RSI: 00000000ffffff80 RDI: 0000000000000000 RBP: 00000000ffffff80 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52001a83c78 R12: ffff8880427f3070 R13: dffffc0000000000 R14: ffff8880427f3030 R15: 1ffff110084fe60e FS: 00007f976f7636c0(0000) GS:ffff88808d304000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f49060a4fe0 CR3: 000000003f256000 CR4: 0000000000352ef0