sr 1:0:0:0: [sr0] tag#0 unaligned transfer sr 1:0:0:0: [sr0] tag#0 unaligned transfer sr 1:0:0:0: [sr0] tag#0 unaligned transfer ================================================================== BUG: KASAN: use-after-free in io_cqring_wait+0x1681/0x1700 Read of size 4 at addr ffff888043400008 by task syz-executor.1/20121 CPU: 1 UID: 0 PID: 20121 Comm: syz-executor.1 Not tainted 6.13.0-rc3-next-20241220 #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+0xf25/0x15c0 do_syscall_64+0xbf/0x1d0 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f88178c7b19 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:00007f8814e3d188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f88179daf60 RCX: 00007f88178c7b19 RDX: 000000000000daee RSI: 0000000000005aa9 RDI: 0000000000000003 RBP: 00007f8817921f6d R08: 0000000020000040 R09: 0000000000000008 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffdf66ab6f R14: 00007f8814e3d300 R15: 0000000000022000 The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x55c7f26b4 pfn:0x43400 flags: 0x100000000000000(node=0|zone=1) page_type: f0(buddy) raw: 0100000000000000 ffffea00010e0008 ffff88807ffdcf10 0000000000000000 raw: 000000055c7f26b4 000000000000000a 00000000f0000000 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880433fff00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8880433fff80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff888043400000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff888043400080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888043400100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================