The request said there were two timestamps. The kernel copied room for one.
That mismatch was enough to make an Apple silicon Mac panic inside
IOTimeSyncgPTPManager::dockReplayTimestamps. More interestingly, the request
came from an application with only the App Sandbox entitlement. Its direct
attempts to open the relevant IOKit service were denied. A production TimeSync
broker nevertheless created the app's own gPTP client and exposed the replay
method that reached the kernel parser.
We reported the kernel out-of-bounds read tracked as CVE-2026-112478. Following the permitted broker call all the way to the allocation boundary gave us more than a crash report: matched controls isolated the size mismatch, and a later beta build reproduced the same fault.
Key findings
- A sandboxed app could not open
IOTimeSyncgPTPManagerdirectly, but could askcom.apple.timesync.expositorto create its own type-0x2agPTP client. - Replay selector 11 accepted a header with
timestampCountand a separate byte count for the copied timestamp buffer. It did not require the buffer to contain all the records named by the header. - With
timestampCount=2andcopiedLength=40, the kernel allocated and copied one 40-byte record. A 32-byte load for record two began at offset 40, beyond that allocation, and produced a kernel tag-check panic. - A matched control retained count 2 but supplied 4,096 bytes. It returned an ordinary error without that panic. The later Xcode-project revalidation reproduced the second-record fault on macOS 27 Beta 5.
- We demonstrated App Sandbox-reachable kernel out-of-bounds access and a system crash. The proof did not return kernel memory to the app or demonstrate code execution.
At a glance
| Detail | Finding |
|---|---|
| Component | IOTimeSyncgPTPManager in IOgPTPPlugin |
| Tested vulnerable builds | macOS 27.0 26A5388g; revalidated on Beta 5 26A5406e |
| Entry point | App Sandbox-accessible TimeSync broker to the caller's own gPTP client |
| Root cause | Header record count and copied-buffer length were validated independently |
| Trigger geometry | Two 40-byte records requested; 40 bytes copied; second load at offset 40 |
| Demonstrated impact | Kernel out-of-bounds load and panic in clocksyncd context |
| Caller conditions | Apple Development-signed, hardened app with only com.apple.security.app-sandbox; Developer Mode enabled in the test environment |
| Public severity | CISA ADP CVSS 3.1 9.0 Critical; see the impact scope below |
| Fixed releases listed by Apple | macOS Golden Gate 27.2 and Tahoe 26.7.2 |
The route past the direct denial
Every direct IOServiceOpen attempt in the tested set was denied, including
the gPTP client type. The kernel boundary looked closed from the sandboxed
app. But direct IOKit access was only one route to the service.
The TimeSync broker was different. The default App Sandbox profile allowed
lookup of com.apple.timesync.expositor. In the controlled run, requests for
the other tested client types were denied, while a request for type 0x2a
returned a gPTP daemon client owned by the caller. A harmless client method
also replied, establishing that this was a usable production path rather than
a guessed port name.
The app did not need a foreign connection or a private entitlement. The broker created its own connection, and that legitimate connection reached the replay method. That distinction gave us both a realistic entry point and a clean ownership control.
Eighty bytes promised, forty supplied
The replay request had two independent pieces of size information. The header declared how many timestamp records the parser should process. A separate length told the kernel how many bytes to allocate and copy from the app. Each record occupied 40 bytes.
The required invariant was simple:
timestampCount <= copiedTimestampLength / 40
The vulnerable path checked that the header had the expected size and that the separate address and length were nonzero. It copied exactly the requested length, then let the consumer index records using the header's count. In condensed pseudocode reconstructed from the tested binary:
records = copy_from_user(user_buffer, copied_length);
for (size_t i = 0; i < header.timestampCount; i++) {
process_40_byte_record(records + i * 40);
}
With count 2 and length 40, record zero fit. Record one began at byte 40, the first byte after the copied allocation. The faulting instruction was a 32-byte SIMD load from that second-record address.
The panic supplied unusually crisp geometry. Relative to the copied-buffer
base x9, the faulting record pointer x10 was 40 bytes ahead, the fault
address was 48 bytes ahead, and the record index register was 1. The
instruction pointer landed on the expected IOgPTPPlugin load. Those numbers
are why we classify this as an out-of-bounds record read, not merely a crash
that happened near a replay request.
How we proved the boundary
The preflight tested an invalid address, an empty record count, and count 2
with a 4,096-byte copied buffer. None produced a kernel panic. The trigger
kept count 2 and the first record, but reduced the copied length to 40 bytes.
The Mac panicked in clocksyncd; the diagnostic pointed to the second-record
load in IOgPTPPlugin.
| Test | Declared records | Copied bytes | Observed result |
|---|---|---|---|
| Sized control | 2 | 4,096 | Ordinary error, no kernel panic |
| Boundary trigger | 2 | 40 | Kernel tag-check panic at record index 1 |
We packaged the proof as an Xcode project at Apple's request and revalidated
it on macOS 27 Beta 5. The rebuilt, hardened app carried exactly one effective
entitlement, com.apple.security.app-sandbox. Its collector required a fresh
panic in the right kernel component, at the right second-record boundary, and
correlated it with the exact non-root caller. The result did not depend on a
debugger, a guessed kernel address, heap grooming, or a race.
Impact and scope
Apple's advisory says an app may cause unexpected system termination or read kernel memory, and says the out-of-bounds read was fixed by removing vulnerable code. The CVE record carries a CISA ADP CVSS 3.1 score of 9.0 (Critical), with high confidentiality and availability impact.
Our proof establishes the sandbox-reachable out-of-bounds load and system crash. The advisory also identifies possible kernel-memory disclosure; our run measured the faulting read, not a return channel for those bytes. The public score therefore describes a broader potential impact than the capability we directly measured.
Direct IOKit denial did not close this route. The production broker created the caller's own usable client, and the matched tests exposed the missing size check. The decisive input was not a huge malformed payload; it was one missing 40-byte record.
Disclosure notes
We submitted the finding in August 2026. At Apple’s request, we packaged an Xcode-project proof and reproduced the second-record fault on Beta 5, build 26A5406e. The measured result was a kernel out-of-bounds read and panic; our test did not return kernel memory to the caller.
Remediation
Install a fixed release for your macOS branch, or a later security update:
Use Software Update to install the update. The tested vulnerable builds are documented above; the fixed versions come from Apple’s CVE record. Apple does not list a Sequoia fix for this CVE.
Disclosure timeline
Second-record kernel fault captured
The preserved trigger context records the initial IOgPTPPlugin panic on build 26A5388g.
Apple ships the fix
macOS Golden Gate 27.2, macOS Tahoe 26.7.2 are released and the CVE record is published.