2026-09-01 (PS5 Parent Reparenting & SceShellCore Inspection Diagnostics) (D299)
Analyzed hardware test logs
(reports/hardware/injector-klog.txt lines 1-15 and
350-376):
- Kernel Patch Status Verified:
kpatch addr=0xffffffffc56c3088kpatch read byte[1]=0x3kpatch already set- Verified that the kernel's ptrace AppContext gate variable is
already set to
3.
- Analysis of PT_ATTACH Failure (errno 37):
- On PS5, standalone processes calling
PT_ATTACHon retail games face parentage/supervisor gating: retail games are children spawned bySceShellCore(p_pptr). - In FreeBSD, attaching to a child already supervised or having active
ptrace/proc event listeners returns
EALREADY(37). - In
ps5debug-NG, userland debug payloads avoid this by attaching toSceShellCoreand executing from insideSceShellCorewherep_pptrand shell rights permit game debugging.
- On PS5, standalone processes calling
- Remediation:
- Target Process Parent Telemetry
(
src/injector/procctl.c): Added logging ofp_pptr(+0xE0), parent PID (p_pptr + 0xBC),p_oppid(+0x1FC), andp_ptevents(+0x24C). - Parent Reparenting Fallback
(
src/injector/procctl.c): IfPT_ATTACHreturns 37, the injector tests reparenting the target to itself (p_pptr = my_kproc), which satisfies FreeBSD child debugging rules, with automatic rollback if unsuccessful. - SceShellCore Telemetry & Lookup
(
src/injector/krw.c,src/common/krw.h): Implementedkrw_find_proc_by_name()and logging ofSceShellCore's PID,kproc,ucred,cr_sceAuthID, andcr_prison.
- Target Process Parent Telemetry
(
Verified: make payload injector HARDWARE=1
(9,410,824 bytes) compiles 100% clean with zero warnings
and zero errors.