← Lab /Security & privacy

Pixel 9 kernel arbitrary read/write via BigWave driver use-after-free

A use-after-free bug in the BigWave driver enables arbitrary kernel read/write and full root privilege escalation on Pixel 9 devices.

Security & privacy Google Project Zero 14 Jan 2026 Disclosure Real-world evidence

Published as “A 0-click exploit chain for the Pixel 9 Part 2: Cracking the Sandbox with a Big Wave”

Why it matters

The work shows that the mediacodec SELinux sandbox does not protect against kernel-level compromise, breaking a core isolation assumption on Android devices.

Summary

The researcher used the DriverCartographer tool to find that /dev/bigwave is accessible from the mediacodec SELinux context on Pixel 9. A use-after-free in the driver’s job handling code yields a 2144-byte arbitrary write primitive without needing a KASLR leak. By chaining this write with a KASLR bypass and VFS fops manipulation, they achieve reliable arbitrary read/write, set SELinux to permissive, and obtain a root process. The exploit was integrated into a prior Dolby decoder RCE chain and demonstrated on a real device, though occasional crashes were observed.

What they found 2

  1. The BigWave driver use-after-free yields a 2144-byte arbitrary write primitive.

    “And just like that, we have a half decent 2144-byte arbitrary write! And all without leaking the KASLR slide!”

  2. The exploit ultimately gives a process root credentials and disables SELinux.

    “I now have a process with root credentials, and SELinux disabled.”

Caveats 5

  • The exploit can cause the phone to crash, e.g., when toggling Wi-Fi on/off.
  • The KASLR bypass relies on using a hard-coded address (0xffffff8000010000) which may not hold on all kernel builds.
  • The attack depends on a race condition between ioctl timeout handling and the worker thread.
  • Occasional instability was observed; the phone may crash during Wi-Fi toggling.
  • The KASLR bypass technique uses a fixed kernel base address rather than a leak.

What’s new here 4

  • Discovery that /dev/bigwave is reachable from the mediacodec sandbox.
  • A use-after-free bug providing a 2144-byte arbitrary write primitive.
  • A simplified KASLR bypass using a fixed kernel address.
  • Full kernel arbitrary read/write leading to root and SELinux disablement.