v2.0 — 31 C POC twins + harness fixes
- 31 C POC files, one per CVE folder: full seed construction + trigger + main(), self-contained, no app dependency. All compile clean with clang -O2 -Wall (zero warnings) on macOS arm64; each has a recorded oracle on this host. - CMGetDMVersionLevelFromRPU ABI pinned by disassembly: macOS export is (CFDataRef), the Swift POC drives the 4-arg iOS surface — this is the mechanism behind the cm.rpu death oracle on the simulator build. - Harness fixes: glyphCount guard, MachOInspector size guard, ModTools clamp, DeviceModel iPhone19,7, GPTPayload clamps, Gate patch display. - POC comments rewritten English-only (31 swift + arc.rr + 5 py). - README (en/zh): C twin column, .c anatomy section, compile/run examples, C oracle verification status. - Dead if-let binding removed from Identity summary; v2.0 build 3.
This commit is contained in:
1 parent
1ea76ab005
commit
7949c7ce9f
79 files changed
+4109
-892
No files matched your search
@@ -1,22 +1,8 @@
|
||||
// aud.haptic · AudioToolbox · AVHapticServerInstance · CVE-2026-113907
|
||||
// 原语: OOB 写 · 系统进程 · tier 2
|
||||
// Primitive: OOB write · system process · tier 2
|
||||
//
|
||||
// [zh] AVHaptic 自定义音频事件格式校验
|
||||
// createCustomAudioEvent 在 27.0 既不校验 ASBD 的合法性,也不比对 frames×bytesPerFrame 与实际波形字节数。27.2 同时补入这两项校验。
|
||||
// 该接口的 XPC 服务端位于 CoreHaptics 的服务器进程内。
|
||||
//
|
||||
// [en] AVHaptic custom audio event format validation
|
||||
// On 27.0 createCustomAudioEvent neither validates the ASBD nor compares frames×bytesPerFrame against
|
||||
// the actual waveform byte count. iOS 27.2 adds both checks. The XPC server side of this interface
|
||||
// lives in the CoreHaptics server process.
|
||||
// ── 判别 / oracle ──
|
||||
// 通过 CHHapticEngine 的 audioCustom 事件驱动,是最接近服务端入参的一条公开路径。
|
||||
// 变体 aud.immersive: 沉浸式渲染数据反序列化容量缺失
|
||||
|
||||
// AVHaptic custom audio event format validation
|
||||
import Foundation
|
||||
|
||||
// ── byte helpers — verbatim from Cinder27 Sources/Kit.swift ──
|
||||
// ── byte helpers (from Cinder27 Sources/Kit.swift) ──
|
||||
enum B {
|
||||
static func be16(_ v: UInt16) -> [UInt8] { [UInt8(v >> 8 & 0xff), UInt8(v & 0xff)] }
|
||||
static func le16(_ v: UInt16) -> [UInt8] { [UInt8(v & 0xff), UInt8(v >> 8 & 0xff)] }
|
||||
@@ -37,21 +23,4 @@ enum B {
|
||||
static func ascii(_ s: String) -> [UInt8] { Array(s.utf8) }
|
||||
}
|
||||
|
||||
/*
|
||||
// aud.immersive · AudioToolbox · ImmersiveRendererDataMarshaller::Deserialize · CVE-2026-113907
|
||||
// 原语: OOB 写 · 系统进程 · tier 2
|
||||
// Primitive: OOB write · system process · tier 2
|
||||
//
|
||||
// [zh] 沉浸式渲染数据反序列化容量缺失
|
||||
// 反序列化取得的 count 与 dataByteSize 仅与「线缆剩余长度」比较,从不与「目标缓冲容量」比较,构成音频服务器进程内的线性堆溢出。27.2 新增 ReadImmersiveRendererDataV1/V2,
|
||||
// 将目标容量一并纳入校验,并补入版本号 1..3 的合法性闸门。
|
||||
//
|
||||
// [en] Immersive renderer data deserialisation capacity gap
|
||||
// The count and dataByteSize taken off the wire are compared only against "how much is left on the
|
||||
// wire", never against "how much the destination buffer holds", producing a linear heap overflow
|
||||
// inside the audio server process. iOS 27.2 adds ReadImmersiveRendererDataV1/V2, folds destination
|
||||
// capacity into the check, and adds a version 1..3 validity gate.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user