usercopy: Kernel memory overwrite attempt detected to SLUB object 'pid' (offset 24, size 24)! ------------[ cut here ]------------ kernel BUG at mm/usercopy.c:102! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 8226 Comm: iou-sqp-8225 Not tainted 6.2.0-rc7-syzkaller-17907-g2d3827b3f393 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : usercopy_abort+0x90/0x94 mm/usercopy.c:90 lr : usercopy_abort+0x90/0x94 mm/usercopy.c:90 sp : ffff800014cebc20 x29: ffff800014cebc30 x28: 000000000000001c x27: ffff00010b240000 x26: 0000000020000100 x25: ffff80000cf52000 x24: fffffc0000000000 x23: 05ffc00000000200 x22: fffffc00042b5ec0 x21: ffff00010ad7b618 x20: 0000000000000000 x19: 0000000000000018 x18: ffff80000bfae9bc x17: 0000000000000000 x16: ffff00010b240a20 x15: ffff80000dbd2118 x14: ffff00010b240000 x13: 00000000ffffffff x12: ffff00010b240000 x11: ff808000081bbb4c x10: 0000000000000000 x9 : fb0dee2a6ecd6400 x8 : fb0dee2a6ecd6400 x7 : ffff8000081634cc x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : ffff0001fefbff08 x1 : 0000000100000000 x0 : 000000000000005d Call trace: usercopy_abort+0x90/0x94 mm/usercopy.c:90 __check_heap_object+0xa8/0x100 mm/slub.c:4761 check_heap_object mm/usercopy.c:196 [inline] __check_object_size+0x208/0x6b8 mm/usercopy.c:251 check_object_size include/linux/thread_info.h:199 [inline] check_copy_size include/linux/thread_info.h:235 [inline] copy_from_user include/linux/uaccess.h:160 [inline] copy_struct_from_user include/linux/uaccess.h:341 [inline] io_openat2_prep+0xcc/0x2b8 io_uring/openclose.c:89 io_init_req io_uring/io_uring.c:2194 [inline] io_submit_sqe io_uring/io_uring.c:2241 [inline] io_submit_sqes+0x338/0xbb8 io_uring/io_uring.c:2395 __io_sq_thread io_uring/sqpoll.c:193 [inline] io_sq_thread+0x3b0/0x760 io_uring/sqpoll.c:250 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 Code: 91388800 aa0903e1 f90003e8 94e6d752 (d4210000) ---[ end trace 0000000000000000 ]---