------------[ cut here ]------------ kernel BUG at fs/ext4/inode.c:989! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8176 Comm: syz-executor.4 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:ext4_getblk+0x454/0x4f0 fs/ext4/inode.c:989 Code: 0b e8 e0 24 83 ff 4c 89 e7 e8 d8 d8 d0 ff e9 b0 fd ff ff e8 ce 24 83 ff 4c 89 e7 e8 26 d9 d0 ff e9 ef fe ff ff e8 bc 24 83 ff <0f> 0b e8 45 45 58 ff 48 89 34 24 e8 9c 01 b9 ff 48 8b 34 24 e9 bb RSP: 0018:ffff88809754f290 EFLAGS: 00010293 RAX: ffff88809c3ba540 RBX: 0000000000000001 RCX: ffffffff81df6031 RDX: 0000000000000000 RSI: ffffffff81df60b4 RDI: 0000000000000005 RBP: 1ffff11012ea9e54 R08: 0000000000001400 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000021 R13: 0000000000000000 R14: ffff8880454905f0 R15: 0000000000000001 FS: 0000555556cdc400(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555563d5708 CR3: 000000009e475000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: ext4_bread+0x7c/0x210 fs/ext4/inode.c:1043 ext4_quota_write+0x205/0x530 fs/ext4/super.c:6008 write_blk+0x10a/0x200 fs/quota/quota_tree.c:72 free_dqentry fs/quota/quota_tree.c:458 [inline] remove_tree+0x927/0x1490 fs/quota/quota_tree.c:491 remove_tree+0x278/0x1490 fs/quota/quota_tree.c:494 hfsplus: unable to parse mount options remove_tree+0x278/0x1490 fs/quota/quota_tree.c:494 remove_tree+0x278/0x1490 fs/quota/quota_tree.c:494 qtree_delete_dquot fs/quota/quota_tree.c:527 [inline] qtree_release_dquot fs/quota/quota_tree.c:673 [inline] qtree_release_dquot+0x195/0x1d0 fs/quota/quota_tree.c:669 v2_release_dquot+0xce/0x120 fs/quota/quota_v2.c:375 dquot_release+0x1be/0x390 fs/quota/dquot.c:497 ext4_release_dquot+0x22f/0x290 fs/ext4/super.c:5682 dqput.part.0+0x1a3/0x830 fs/quota/dquot.c:794 dqput fs/quota/dquot.c:752 [inline] dqput_all fs/quota/dquot.c:391 [inline] __dquot_drop+0x19c/0x270 fs/quota/dquot.c:1568 dquot_drop fs/quota/dquot.c:1593 [inline] dquot_drop+0x14b/0x1a0 fs/quota/dquot.c:1571 ext4_clear_inode+0x31/0x1d0 fs/ext4/super.c:1178 ext4_evict_inode+0x25b/0x17b0 fs/ext4/inode.c:357 evict+0x2ed/0x760 fs/inode.c:559 dispose_list+0x124/0x1f0 fs/inode.c:594 evict_inodes+0x341/0x430 fs/inode.c:644 generic_shutdown_super+0xb3/0x370 fs/super.c:448 kill_block_super+0x97/0xf0 fs/super.c:1185 deactivate_locked_super+0x94/0x160 fs/super.c:329 deactivate_super+0x174/0x1a0 fs/super.c:360 cleanup_mnt+0x1a8/0x290 fs/namespace.c:1098 task_work_run+0x148/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fe407597567 Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffee7172308 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fe407597567 RDX: 00007ffee71723db RSI: 000000000000000a RDI: 00007ffee71723d0 RBP: 00007ffee71723d0 R08: 00000000ffffffff R09: 00007ffee71721a0 R10: 0000555556cdd8e3 R11: 0000000000000246 R12: 00007fe4075f0b24 R13: 00007ffee7173490 R14: 0000555556cdd810 R15: 00007ffee71734d0 Modules linked in: F2FS-fs (loop5): Found nat_bits in checkpoint ---[ end trace a1f9c1f3e4094042 ]--- RIP: 0010:ext4_getblk+0x454/0x4f0 fs/ext4/inode.c:989 Code: 0b e8 e0 24 83 ff 4c 89 e7 e8 d8 d8 d0 ff e9 b0 fd ff ff e8 ce 24 83 ff 4c 89 e7 e8 26 d9 d0 ff e9 ef fe ff ff e8 bc 24 83 ff <0f> 0b e8 45 45 58 ff 48 89 34 24 e8 9c 01 b9 ff 48 8b 34 24 e9 bb F2FS-fs (loop5): Mounted with checkpoint version = 48b305e5 RSP: 0018:ffff88809754f290 EFLAGS: 00010293 RAX: ffff88809c3ba540 RBX: 0000000000000001 RCX: ffffffff81df6031 audit: type=1800 audit(1678016923.102:3): pid=13060 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.5" name="bus" dev="loop5" ino=10 res=0 RDX: 0000000000000000 RSI: ffffffff81df60b4 RDI: 0000000000000005 attempt to access beyond end of device loop5: rw=2049, want=45104, limit=40427 RBP: 1ffff11012ea9e54 R08: 0000000000001400 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000021 R13: 0000000000000000 R14: ffff8880454905f0 R15: 0000000000000001 FS: 0000555556cdc400(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f45dd915000 CR3: 000000009e475000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400