Skip to content
Info disclosure Write-up Advanced

SysBumps: Exploiting Speculative Execution in Apple Silicon

The paper shows that macOS kernel address randomisation (KASLR) can be broken on Apple silicon despite kernel page-table isolation, by abusing speculative execution inside system calls to drive the TLB and observe which kernel addresses are valid. An unprivileged attacker can therefore learn the kernel's layout, which is a prerequisite for further kernel exploitation.

dl.acm.org

Published on dl.acm.org

Apple silicon is the proprietary ARM-based processor that powers the mainstream of Apple devices. The move to this proprietary architecture presents unique challenges in addressing security issues, requiring huge research efforts into the security of Apple silicon-based systems.

The author, on dl.acm.org

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the processor performs speculative translations of kernel addresses during system calls even though the kernel page table is isolated from userspace, and the resulting TLB state leaks address validity.

Impact

An unprivileged local attacker could break KASLR on macOS across several M-series processors and macOS versions, defeating the kernel isolation barrier that was meant to stop such attacks.

What the attacker needed

Local unprivileged code on the Mac; Apple silicon (M-series) processor; macOS with kernel isolation

The fix

The paper only discusses possible mitigations rather than a shipped fix.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Operating systems hide the kernel's location in memory by shuffling it at boot, a defence called KASLR, so that an attacker cannot jump straight to kernel code. This paper shows that on Apple's M-series chips a normal program can still work out where the kernel sits, by watching a small hardware cache (the TLB) that records recently used memory translations while the processor speculatively runs ahead of the program. Knowing the kernel's location is a stepping stone towards attacking the kernel itself.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.