Latest research update
Child thread ROP syscalls. Child threads spawned by thr_create(430) now execute kernel syscalls via fn_addr ROP chain:
ret → pop_rax(syscall_no) → fn_addr → pop_rdi(target) → mov[rdi],rax;ret → jmp_self. getpid, socket, close, and UMTX ops all confirmed from child threads. Probe 274c log.UMTX PI mutex + orphaned kernel waiter. PI-enabled MUTEX_LOCK/UNLOCK work. Clearing the contested bit (0x80000000) from the mutex while a child is blocked in-kernel causes fast-path CAS unlock, leaving the child permanently blocked with a wait queue entry intact. This is active kernel state manipulation, and the top exploitation lead. Probe 274f log.
Device inventory. 34 of 76 /dev nodes open from the game process (gc, dce, ajm, dmem0-2, camera, usb, hid, bt, rng, gic, notification*, HMD sets). ioctl reaches all 34 drivers but Sony uses NID-hash command codes, not FreeBSD _IOC encoding. 57 AJM + 38 A53MM NID candidates from 13.60 all returned -1 on 14.10 (firmware-specific encoding). AJM reversal doc.
Dead ends confirmed. msync(65) MS_INVALIDATE returns -1 on GPU mmap (CVE-2026-49418 blocked). netcontrol UAF dead (reference leak, not free). UMTX_OP_SHM confirmed stub (CVE-2024-43102 unreachable). getsockopt sweep: 214 options across 8 socket types, zero kernel pointers. thr_wake/signals cannot interrupt UMTX-blocked threads. Sysent ends at 676.
14.10 status: The project has strong userland primitives (thread ROP, arbitrary calls, heap R/W, UMTX PI mutex) and thorough attack surface mapping (12+ CVEs assessed, 70+ dead ends, 17 KASLR techniques tested). No validated kernel vulnerability, kernel read/write, or complete kernel exploit is demonstrated. The audited milestone estimate is 43/100.
Attack surface
The PS5 security stack has multiple layers. This project attacks from two entry vectors:
| Entry 1: Lua loader | Hamidashi Creative game save exploit starts a Lua 5.1 TCP listener on port 9026. Direct memory R/W, syscall invocation, GPU mmap, CClosure redirect, fcall_with_rax, thread creation. |
| Entry 2: WebKit/JSC | Built-in browser engine forked before Safari 17.0 (JIT disabled, LLInt only). 518-case JSC crash corpus, poly-proto OOM reproducer, 17 browser probes. |
| Kernel | FreeBSD r230171 (Sep 2026), Sony-modified. 676 measured syscalls. Sony device drivers use NID-hash ioctl encoding. |
| Devices | 34 of 76 /dev nodes open from game process. gc, dce, ajm, dmem0-2, camera, usb, hid, bt, rng, gic, notification*, HMD sets. |
| Hypervisor | Requires kernel R/W to reach. Not in scope for this score. |
Environment
| Firmware | 14.10 |
| Kernel | FreeBSD r230171 (Sep 28 2026) |
| Entry points | Lua 5.1 loader (TCP 9026) + WebKit browser engine |
| Page size | 16 KB (0x4000) |
| CPU | Zen 2, 8C/16T |
| Measured sysent | 676 entries (677+ lethal) |
| Open /dev nodes | 34 of 76 |
Confirmed working primitives
These are the tools we can use right now on 14.10:
| Primitive | Detail |
|---|---|
| Thread ROP execution | thr_create(430) with CS=0x43/SS=0x3B, full GP register control. Multi-gadget chains confirmed. Thread writes to controlled address. |
| Child thread syscalls via ROP | Child threads execute kernel syscalls: getpid, socket, close, UMTX ops all confirmed via fn_addr ROP chain. |
| Arbitrary userland calls | native.fcall_with_rax: getpid=0x22a, socket=0x16, close=0x0 all correct. |
| C11 threading | Thrd_create spawns 5+ concurrent threads with join. Budget: 8 children max. |
| UMTX PI mutex | PI-enabled MUTEX_LOCK/UNLOCK/WAKE all work. PRIO_INHERIT flag enables PI chain walking. |
| Orphaned kernel waiter | Clearing contested bit while child is blocked leaves wait queue entry intact in kernel. Orphans wake in FIFO during later contested unlocks. |
| Heap R/W (256+ pages) | GPU mmap adjacency, no guard pages. |
| CClosure function redirect | Selected Lua C targets (rawequal/rawget/type) produce target-like outputs with restore checks. |
| Raw syscall invocation | make_syscall(N) bypasses Lua-side filter. Kernel restrictions still apply. |
| Userland ASLR bypass | dynlib_get_info(593) returns base addresses for 39 userland modules. |
| Full process VM map | sys 674 returns 317 named regions with protections. All userland VA. |
| Network injection | RAW socket + IP_HDRINCL, TCP connect-back with ARP responder. |
| Device inventory | 34 of 76 /dev nodes open. ioctl reaches all 34 drivers. |
Hard walls
| Wall | Detail |
|---|---|
| No kernel pointers | 17+ KASLR techniques tested across every accessible interface. Zero kernel pointers found. |
| W^X enforced | mmap(RWX) gives RW only. mprotect(EXEC) always fails. |
| XOM | System lib .text is execute-only (reading crashes). Eboot .text is RX. |
| kldstat lethal | sys 307/308/337 instantly kill the process. Host-only syscalls. |
| AF_ROUTE sanitized | Kernel zeroes all pointers in route messages. Relapse KASLR dead on 14.10. |
| RDMSR blocked | sys 626 and sys 567 return -1 for all MSR indices. |
| fork/rfork/thr_new | All blocked. Only thr_create(430) works. |
| Sysent ends at 676 | 677+ all kill the process (thirty-one consecutive). |
| Device ioctls | Sony NID-hash command codes. 13.60 NIDs don't work on 14.10. |
| UMTX_OP_SHM stub | All sub-ops return 0 but do nothing. CVE-2024-43102 unreachable. |
| netcontrol UAF | Reference leak, not free. Public ExploitNetControlImpl dead on 14.10. |
17 KASLR techniques tested (all failed)
| Technique | Result |
|---|---|
| AF_ROUTE pointer leak (Relapse) | Sanitized |
| mincore/msync/madvise oracle | Lethal |
| Timing side-channel via CClosure | SMAP blocks |
| Signal handler fault recovery | Bypasses pcall |
| RDMSR (sys 626, 567) | Returns -1 |
| kldstat/kldnext (sys 307, 308) | Lethal |
| mod* syscalls (sys 300-302) | Returns -1 |
| kldsym (sys 337) | Lethal |
| sysctl kernel pointer scan | All sentinels |
| sys 674 VM map (317 regions) | All userland VA |
| sys 649 module members | Userland only |
| kinfo_proc full dump | Only sentinels |
| net.route.iflistl scan | No pointers |
| sys 593 deep struct scan | NID hashes |
| sys 639/638 memory region | Returns -1 |
| kern.proc.filedesc/vmmap | Blocked |
| sys 588 (13.60 exploit path) | No-op on 14.10 |
Current priority vectors
1. UMTX PI chain exploitation
The orphaned kernel waiter primitive is proven (274e/274f). Child threads make syscalls via fn_addr ROP chains. PI mutex lock/unlock/wake all work. Need to find a way to turn orphaned wait queue entries into kernel memory corruption. Test: PI chain cycles, type confusion, concurrent child races.
2. Untested syscalls + kqueue event leak
procctl(544), pipe2(542), syscall gaps 530-531/537-541, kqueue event data scan for kernel pointers. Probe 276c written, needs re-run.
3. JSC crash corpus (518 cases)
Post-Safari-17.0 regression tests targeting WebKit bugs fixed after the PS5's browser engine branch. Even one crash is a lead. p172 iframe runner is built. Not yet fully run on-console.
4. CClosure ROP via eboot gadgets
Redirect CClosure +0x20 to eboot gadgets (ret, pop rdi;ret, etc.) to build a gadget chain. Selected targets work (56c/56f); general native calling convention not yet established.
5. Remaining gaps
Syscalls 530-532, 537 (unmeasured from Sony object range). Probe 243a (thread slot reclaim, written not run). UMTX op 19 non-deterministic write (needs more samples).
WebKit / JSC (Entry Vector 2)
The PS5's built-in browser runs a WebKit engine forked before Safari 17.0 (Sep 2023 branch, JIT disabled, LLInt only).
| 518-case JSC crash corpus | Harvested by webkit_crash_corpus.py from post-17.0 regression tests |
| 17 browser probes | MetadataTable overflow, engine fingerprint, capability map, crash oracle, corpus runner |
| Poly-proto OOM | 12 lines, exhausts WebProcess memory in ~1 second (PR #77) |
| p172 iframe runner | Built for executing crash cases on-console |
| Popup isolation | Dead: all popup methods kill WebProcess |
Key findings: No WebAssembly, no SharedArrayBuffer, no WebGL. All 3 Relapse WebKit bugs patched. Cross-referencing with pastawithpesto's WebKit research for MetadataTable overflow (CVE-2026-64784) and CSSFontFace UAF (CVE-2026-43715).
CVE assessments
12+ FreeBSD CVEs assessed against the 14.10 attack surface:
| CVE | Status |
|---|---|
| CVE-2026-49418 (msync device-pager UAF) | Blocked - MS_INVALIDATE returns -1 |
| CVE-2024-43102 (UMTX SHM race) | Dead - SHM stubbed |
| CVE-2019-5607 (SCM_RIGHTS) | Binary verified |
| CVE-2026-49412 | Assessed |
| CVE-2026-49419 | Assessed |
| CVE-2026-49422 (RACK TCP) | Assessed |
| CVE-2026-49424 (Linuxulator) | Assessed |
| CVE-2026-49427 | Assessed |
| CVE-2026-58083 | Assessed |
| CVE-2026-58090 | Assessed |
| CVE-2026-58093 | Assessed |
| CVE-2026-45258 | Assessed |
| CVE-2026-7270 | Assessed |
Contributing
Research findings and code analysis are welcome. Include the firmware version, the relevant experiment, and the output behind the finding.
Read CONTRIBUTING.md before opening a pull request. Questions and corrections can go in GitHub issues.
What we need help with most
- KASLR defeat - 17 techniques tested, all dead. Need a novel information leak path.
- 13.60 to 14.10 kernel diff analysis - the companion repo has 13.60 kernel dumps. What changed?
- FreeBSD r230171 source analysis - find exploitable code paths reachable from our ~40 working syscalls.
- WebKit/JSC crash analysis - run the 518-case corpus, analyze any crashes.
- Device driver reverse engineering - Sony NID command codes for the 34 open /dev nodes.
Use AI to help
All research data is in the repo. Feed docs/ALL_RESULTS.md + docs/ALL_PROBES.md + CLAUDE.md for the entire corpus (1M+ token models), or start with README.md + CLAUDE.md + docs/STRATEGY.md for smaller context.
Donors
These people believed in this research and put their money where their mouth is:
Ivan Milinski · Felix Dietz · Brian Alejandro Camacho · Jonathan Moreau · Frank Munsche · Mohammed Kazi · Ismael Jesus · Cassidy Poynter · Mohammad Islam · Flix Rely · Paul E Fox · K Lam · Sean Verkempinck · Jacob Maurer