================================================================== BUG: KASAN: use-after-free in io_cqring_wait+0x1681/0x1700 Read of size 4 at addr ffff888042800008 by task syz-executor.4/8158 CPU: 1 UID: 0 PID: 8158 Comm: syz-executor.4 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:0x7f1193c54b19 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:00007f11911a9188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f1193d68020 RCX: 00007f1193c54b19 RDX: 000000000000f543 RSI: 0000000000003e7c RDI: 0000000000000003 RBP: 00007f1193caef6d R08: 0000000020000040 R09: 0000000000000008 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc7c3a33af R14: 00007f11911a9300 R15: 0000000000022000 The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x42800 flags: 0x100000000000000(node=0|zone=1) page_type: f0(buddy) raw: 0100000000000000 ffffea0001098008 ffffea0001080008 0000000000000000 raw: 0000000000000000 0000000000000009 00000000f0000000 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880427fff00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8880427fff80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff888042800000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff888042800080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888042800100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ================================================================== audit: type=1400 audit(1732771663.807:15): avc: denied { block_suspend } for pid=8181 comm="syz-executor.2" capability=36 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=capability2 permissive=1 UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy misc raw-gadget: fail, usb_gadget_register_driver returned -16 UDC core: USB Raw Gadget: couldn't find an available UDC or it's busy misc raw-gadget: fail, usb_gadget_register_driver returned -16 Bluetooth: hci7: ISO packet for unknown connection handle 0 Bluetooth: hci7: ISO packet for unknown connection handle 0 Bluetooth: hci7: command tx timeout Bluetooth: hci7: command tx timeout