diff options
| author | user <user@clank> | 2026-10-02 00:24:29 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-10-02 00:24:29 +0200 |
| commit | aba006851c2cbbd772ac70f3a7bafa08eb75485b (patch) | |
| tree | b574871c474b4bd934fe309141d046bbb5c767ca | |
| parent | GCP FE09 ConfigureInitialize: host-chosen write offset, confirmed on silicon,... (diff) | |
| download | amd-psp-re-aba006851c2cbbd772ac70f3a7bafa08eb75485b.tar.gz amd-psp-re-aba006851c2cbbd772ac70f3a7bafa08eb75485b.tar.xz amd-psp-re-aba006851c2cbbd772ac70f3a7bafa08eb75485b.zip | |
close the remaining static corruption classes after the window-enforcement result
The FE09 hardware result changed what is worth searching for. Since the PSP enforces the declared
shared-buffer window, a write at params + host_displacement cannot corrupt anything the host does not
already own, so corruption needs a host-controlled value applied to a base that is not the shared
buffer. Three further classes swept on that basis, all closed.
Host-supplied pointer written through: no instances in any reachable module. The TAs never take a
pointer out of the request and dereference it, which removes the one class the window enforcement
could not contain.
Write to a ctx-derived base at a variable offset: exactly one instance corpus-wide, XGMI sub_403138
doing *(_QWORD *)(a1 + 8 * v5) = ..., and it bounds v5 immediately with if (v5 >= 0x40) return 7, on
a value that is a byte load anyway.
Size underflow or overflow feeding a copy: two candidates, both closed. fp_cmd03__h2 computes
256 - a3 but guards if (a3 <= 0x100) first, so the subtraction cannot wrap. auc_cmd02__h5's v13 - 5
is inside the canary tail, i.e. the panic-veneer artifact already catalogued, not a copy length.
Every class static analysis can decide is now closed. The frontier is unchanged and stated in the
document: indirect call targets populated at runtime -- RAS command 2 through off_401FA0[20],
POWERPLAY through fptbl01..22, MERIT the same way -- which need emulation with the tables populated
or on-card instrumentation.
| -rw-r--r-- | fw/AUDIT-HOST-REACHABLE-CORRUPTION-SWEEP.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/fw/AUDIT-HOST-REACHABLE-CORRUPTION-SWEEP.md b/fw/AUDIT-HOST-REACHABLE-CORRUPTION-SWEEP.md index 9c063a1..76eb1ab 100644 --- a/fw/AUDIT-HOST-REACHABLE-CORRUPTION-SWEEP.md +++ b/fw/AUDIT-HOST-REACHABLE-CORRUPTION-SWEEP.md @@ -51,6 +51,23 @@ look exploitable -- is not real. This is the fourth artifact class catalogued in dead-store elision hiding frame initialisation, tail-call-as-thunk silently dropping function bodies, and semantically identical predicate rewrites. +## Second round: the classes that remain once the window is known to be enforced + +`FINDING-GCP-FE09-CONFIGINIT-HOST-OFFSET-WRITE.md` established on hardware that the PSP enforces the +declared shared-buffer window: a TA write at `params + host_displacement` does not land outside it. +That changes what is worth looking for. A write relative to `params` cannot corrupt anything the host +does not already own, so corruption requires a host-controlled value applied to a base that is **not** +the shared buffer. Three further classes were swept on that basis. + +| class | query | result | +|---|---|---| +| host-supplied **pointer** written through | locals loaded from `params`/`ctx` and then used as a store destination | **no instances** in any reachable module. The TAs never take a pointer out of the request. | +| write to a **ctx-derived** base at a variable offset | locals derived from `ctx`/`a1`, then `*(base + var) = `, `base[var] = `, `*(base + K*var) = ` | exactly one instance corpus-wide: XGMI `sub_403138` does `*(_QWORD *)(a1 + 8 * v5) = ...` and bounds it immediately, `if (v5 >= 0x40) return 7`, with `v5` a byte load. Bounded. | +| size **underflow/overflow** feeding a copy | copy length that is an arithmetic expression | two candidates, both closed. `fp_cmd03__h2` computes `256 - a3` but guards `if (a3 <= 0x100)` first. `auc_cmd02__h5`'s `v13 - 5` is inside the canary tail, i.e. the panic-veneer artifact described above, not a copy length. | + +So every class that static analysis can decide is now closed, and the one real defect found +(`ConfigureInitialize`) is contained by the window. + ## What remains genuinely unexamined Indirect call targets. The RAS command-2 path ends in `((int (*)(int))off_401FA0[20])(buffer + 16)`, |
