gfs2: fsid=syz:syz.0: fatal assertion failed ------------[ cut here ]------------ kernel BUG at fs/gfs2/quota.c:320! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 5363 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_hold fs/gfs2/quota.c:320 [inline] RIP: 0010:do_qc+0x5c1/0x5e0 fs/gfs2/quota.c:705 Code: 00 00 00 00 00 fc ff df 48 8b 0c 24 80 3c 01 00 74 0a 48 8b 7c 24 10 e8 cd 42 28 fe 48 8b 44 24 10 48 8b 38 e8 a0 03 2e fd 90 <0f> 0b e8 18 58 c3 fd 48 8b 7c 24 10 e8 8e 03 2e fd 90 0f 0b 66 66 RSP: 0018:ffffc9000d4ae128 EFLAGS: 00010246 RAX: 000000000000002c RBX: 1ffff110088c540e RCX: 4bae79cfdf615500 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffc9000d4ade47 R09: 1ffff92001a95bc8 R10: dffffc0000000000 R11: fffff52001a95bc9 R12: ffff88804462a000 R13: ffff88804462a070 R14: ffff88804462a090 R15: 0000000000000000 FS: 0000200000000600(0000) GS:ffff88808d210000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000080 CR3: 00000000534aa000 CR4: 0000000000352ef0 Call Trace: gfs2_quota_change+0x394/0x800 fs/gfs2/quota.c:1304 gfs2_alloc_blocks+0x18bc/0x2080 fs/gfs2/rgrp.c:2494 __gfs2_iomap_alloc+0x4b7/0x1a30 fs/gfs2/bmap.c:708 gfs2_iomap_begin_write fs/gfs2/bmap.c:1070 [inline] gfs2_iomap_begin+0xaf0/0x11c0 fs/gfs2/bmap.c:1133 iomap_iter+0x531/0xde0 fs/iomap/iter.c:108 iomap_file_buffered_write+0x207/0x9b0 fs/iomap/buffered-io.c:1065 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:1296 [inline] dump_user_range+0x8a0/0xc90 fs/coredump.c:1370 elf_core_dump+0x337b/0x3990 fs/binfmt_elf.c:2085 coredump_write+0x1166/0x1900 fs/coredump.c:1049 vfs_coredump+0x1daa/0x2a50 fs/coredump.c:1168 get_signal+0x1109/0x1340 kernel/signal.c:3019 arch_do_signal_or_restart+0x9a/0x750 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+0x81/0x120 kernel/entry/common.c:73 exc_page_fault+0x9f/0xf0 arch/x86/mm/fault.c:1535 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 002b:0000200000000288 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007efefd1b5fa0 RCX: 00007efefcf8ebe9 RDX: 0000200000000300 RSI: 0000200000000280 RDI: 0000000000080000 RBP: 00007efefd011e19 R08: 0000200000000600 R09: 0000200000000600 R10: 00002000000005c0 R11: 0000000000000206 R12: 0000000000000000 R13: 00007efefd1b6038 R14: 00007efefd1b5fa0 R15: 00007ffce9bde0c8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__qd_hold fs/gfs2/quota.c:320 [inline] RIP: 0010:do_qc+0x5c1/0x5e0 fs/gfs2/quota.c:705 Code: 00 00 00 00 00 fc ff df 48 8b 0c 24 80 3c 01 00 74 0a 48 8b 7c 24 10 e8 cd 42 28 fe 48 8b 44 24 10 48 8b 38 e8 a0 03 2e fd 90 <0f> 0b e8 18 58 c3 fd 48 8b 7c 24 10 e8 8e 03 2e fd 90 0f 0b 66 66 RSP: 0018:ffffc9000d4ae128 EFLAGS: 00010246 RAX: 000000000000002c RBX: 1ffff110088c540e RCX: 4bae79cfdf615500 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffc9000d4ade47 R09: 1ffff92001a95bc8 R10: dffffc0000000000 R11: fffff52001a95bc9 R12: ffff88804462a000 R13: ffff88804462a070 R14: ffff88804462a090 R15: 0000000000000000 FS: 0000200000000600(0000) GS:ffff88808d210000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000080 CR3: 00000000534aa000 CR4: 0000000000352ef0