libkernel: sceKernelGetAppInfo faults on invalid memory pointers #13795
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by pushkarreddyy on 2026-10-31T07:01:55Z.
Environment
de83e8f270(main)Describe the bug
sceKernelGetAppInfodirectly dereferences the guest output pointerinfoviastd::memsetandstd::memcpy. When a guest passes a non-null pointer into unmapped or read-only memory, the host process crashes withSIGSEGVinstead of returningSCE_KERNEL_ERROR_EFAULT(0x8002000e).Expected behavior
Invalid or unwritable guest pointers should be safely checked via
WriteGuestand returnSCE_KERNEL_ERROR_EFAULT(0x8002000e).