1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
# Phase 5 — triage results
Pipeline: 38 builds, ~34,000 normalised decompilations, adjacent-version diffs,
SEMANTIC vs name-only split. Gate (re-discovering the two known fixes) passes.
## Headline: no new security fix found
Across **all 38 builds and every adjacent pair**, exactly **5 functions** show the
signature of an *inserted guard* (a comparison added with minimal other churn).
All five were read and explained:
| function | pair | verdict |
|---|---|---|
| `asd_check_link_budget` | ASD .154 -> .167 | **hardening**, not a fix — see below |
| `asd_reg_write_16554` | ASD .154 -> .167 | same clamp, same verdict |
| `TA_InvokeCommandEntryPoint` | HDCP .62 -> .64 | defensive: `if (*v7 <= 0xFFFEu)` before a log call, excluding the sentinel |
| `sysdrv_rpc_dispatch` | SYS_DRV .37 -> .41 | RPC opcode table revision (opcodes added/removed) |
| `asd_get_platform_info` | ASD .239 -> 33.0.1.21 | **decompiler artifact** — see limitations |
### The ASD clamp: hardening, not a fixed bug
`.167` added, at two call sites:
v3 = *(_DWORD *)G;
if ( *(_DWORD *)G >= 6u ) v3 = 6; // new clamp
v4 = asd_count_bits_below(*((_DWORD *)G + 1), v3); // new second argument
It looks like a classic bound fix, but `.154` already bounded the dangerous part:
v3 = SYM(*((_DWORD *)SYM + 1)); // unbounded count
if ( *v1 < 6 ) v2 = *v1;
if ( v3 > v2 ) return 1; // OUTPUT already checked, v2 <= 6
v4 = 4 * v3; // copy loop therefore already bounded
The clamp constrains the *internal counting loop*, not the copy. The copy was safe
in `.154`. Recorded as hardening. Clamp census: **0 occurrences in .154, 2 in every
build from .167 onward** — introduced once, never removed.
## Corrections this pipeline produced
1. **Both known fixes land in 0.49.0.53, not 0.49.0.54.** Name-independent
constant census: the sOS guard's window values occur nowhere in the whole `.51`
image but do in `.53`, and `.53` text is byte-identical to `.54`. The original
work compared `.51` to `.54` because `.53` was not in the archive.
2. The previous "CROSS-VERSION DIFF (11 builds) — NEGATIVE" for ASD rested on
**4.4% coverage** of copy-primitive-selected functions with operand-blind
matching. That negative could not have supported its claim; this one can.
## Limitations, stated plainly
* **Decompiler artifacts.** If Hex-Rays fully decompiles a function in one build
and emits `__asm { ... }` in another, the diff shows a spurious semantic change
(`asd_get_platform_info` is exactly this). Decompiled-text diffing inherits
decompiler instability.
* **Name-only churn is large in ASD** (up to 98% of raw diffs) because
byte-identical stubs get interchangeable names. The skeleton comparison
separates it, but a real change *inside* a duplicate stub group would be
reported as name-only and missed.
* **Coverage is not 100%.** Worst case ASD 33.0.0.154 at 47.5% named; UNMATCHED
functions are excluded from name-keyed comparison and reported separately.
* `ADDED` is ambiguous between "new function" and "present but unmatched";
the `.53` conclusion above was confirmed by a constant census precisely because
of this.
## Search volume actually covered
sOS 483-510 comparable functions per pair, 1-4 semantic deltas
SYS_DRV 1064-1126 per pair, 1-26 semantic deltas
HDCP 65-107 per pair, 0-7 semantic deltas
ASD 743-1339 per pair, 17-201 semantic deltas (446 total with literal/cmp changes)
## Honest conclusion
The rebuilt pipeline is sound and materially better than what it replaces, and it
proved itself by reproducing and then *correcting* the known result. Applied to the
full corpus it found **no previously-unknown security fix**. That is now a negative
worth something: it rests on 38 complete builds with literals preserved, rather
than 4.4% of one module with operands discarded.
|