EXT4-fs warning (device loop2): ext4_enable_quotas:7152: Failed to enable quota tracking (type=1, err=-22, ino=4). Please run e2fsck to fix. EXT4-fs (loop2): mount failed ================================================================== BUG: KASAN: use-after-free in io_cqring_wait+0x1681/0x1700 Read of size 4 at addr ffff888044800008 by task syz-executor.6/11628 CPU: 1 UID: 0 PID: 11628 Comm: syz-executor.6 Not tainted 6.12.0-next-20241127 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 Call Trace: dump_stack_lvl+0xca/0x120 print_report+0xcb/0x620 kasan_report+0xbd/0xf0 io_cqring_wait+0x1681/0x1700 __do_sys_io_uring_enter+0xf12/0x15b0 do_syscall_64+0xbf/0x1d0 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcbf7598b19 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fcbf4b0e188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007fcbf76abf60 RCX: 00007fcbf7598b19 RDX: 0000000000006040 RSI: 0000000000007206 RDI: 0000000000000006 RBP: 00007fcbf75f2f6d R08: 0000000020000040 R09: 0000000000000008 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe35298cef R14: 00007fcbf4b0e300 R15: 0000000000022000 The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x44800 flags: 0x100000000000000(node=0|zone=1) page_type: f0(buddy) raw: 0100000000000000 ffffea00010c0008 ffffea0001110008 0000000000000000 raw: 0000000000000000 000000000000000a 00000000f0000000 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880447fff00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8880447fff80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff888044800000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff888044800080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888044800100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================