Skip to content
Memory corruption Write-up Advanced

(CVE-2024-27791) Apple PMP Firmware Out-of-Bounds Write via ApplePMPv2 writeDashboard

An out-of-bounds write in Apple's PMP firmware (ApplePMPv2) could let an app corrupt co-processor memory. The text does not describe how an attacker would trigger it beyond the app-level access.

starlabs.sg

Published on starlabs.sg

The Power Management Processor (PMP) is a co-processor present in Apple Silicon devices, visible in the device tree at pmp@8EC00000. It communicates with the Application Processor (AP) via the RTBuddyV2 mailbox interface.

The author, on starlabs.sg

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 improper validation of memory buffer operations in the ApplePMPv2 firmware, allowing an out-of-bounds write.

Impact

An app could corrupt co-processor memory, which may affect integrity and availability, but the text does not describe a full exploit chain.

What the attacker needed

Local app access; user interaction

The fix

Apple addressed the issue through improved validation, as stated in the advisory.

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.

A co-processor is a small helper chip that handles specific tasks. The firmware for this chip had a flaw where it could write data past the end of a memory buffer, which is like writing past the edge of a page in a notebook. This could let a malicious app damage memory used by that helper chip.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.