GrapheneOS 2026112700 restores RANDSTRUCT on Linux 6.18 and fixes Synaptics touchscreen memory bugs
GrapheneOS moves to a 6.18 GKI kernel and re-enables RANDSTRUCT by adding Rust support, while patching a series of MTE-caught out-of-bounds and use-after-free bugs in Pixel drivers.
Summary
GrapheneOS published build 2026112700 for Pixel 6 through Pixel 10 series devices, the Pixel Tablet, Pixel Fold, the emulator and generic targets. The release is dominated by kernel work: the 6.18 GKI LTS branch is updated to 6.18.65, and the project re-enables RANDSTRUCT, the structure layout randomization hardening feature it had lost when moving off 6.6 because the Rust code in newer kernels was incompatible with randomized C record layouts.
Alongside the kernel changes, the release fixes several memory-safety defects in Pixel drivers that were caught by MTE, including an out-of-bounds read in the battery driver's charging table, multiple out-of-bounds reads and writes in the Synaptics touchscreen driver, a use-after-free in per-UID Mali GPU accounting and a use-after-free in the USB host controller reset path on Pixel 10 devices. The Android framework side also gets ShortcutService fixes for large string extras, a stubbed-out PackageInstaller install constraints API, a reworked NFC auto-off timer and removal of an unused INTERNET permission from SystemUI.
Kernel hardening and driver fixes in build 2026112700
- RANDSTRUCT with Rust: The 6.18 kernel now enables RANDSTRUCT again, with Rust bindgen patched (five C bitfield handling fixes, four already upstream and one from an open pull request) and Clang field order used for randomized C records; generated Rust field offsets are checked against Clang at build time, and the seed is derived from the stamped kernel localversion commit hash.
- Synaptics touchscreen hardening: Pixels with Synaptics touchscreens reject truncated firmware status reports, invalid sensor dimensions and dimension changes after buffer allocation, and out-of-range contact indices; several models also clamp the reported contact count to what the driver supports, preventing out-of-bounds accesses to heatmap, raw sensor and touch offload buffers.
- MTE-caught driver defects: Fixes cover an out-of-bounds read in the battery driver charging table, a use-after-free in per-UID GPU accounting on Mali Pixels, a use-after-free in the USB host controller reset code on Pixel 10 family devices, and a race in the USB charging driver's sysfs attribute creation.
- Android framework changes: ShortcutService now measures all fields when FLAG_KEY_FIELDS_ONLY is set and saves string extras up to 524,288 characters so Chromium-based browser shortcuts survive reboot; the PackageInstaller install constraints API is stubbed out because it can indefinitely delay updates, and SystemUI drops an unused INTERNET permission tied to an upstream notification sound URI bypass.
- Platform and stability work: The release also fixes quadratic removal of usage events that could get system_server killed by the watchdog, restores 16 upstream patches skipped for GKI module ABI preservation with a follow-up block queue use-after-free fix, extends UBSan trapping mode to pKVM, and corrects a Pixel 10 modem UART regression that could register ttyS0 instead of ttyS2.
Why it matters
GrapheneOS is one of the few Android distributions that ships its own hardened kernel builds, so its RANDSTRUCT restoration on 6.18 shows that Rust-in-kernel code and structure layout randomization can be reconciled with build-time offset verification rather than dropping the mitigation. The Synaptics and battery driver fixes matter for anyone running GrapheneOS on Pixel hardware, since malformed touch reports or charging-table reads could otherwise panic the kernel. The PackageInstaller constraint stub also affects third-party stores such as Accrescent, whose update flow depends on an API GrapheneOS now considers harmful.
What to do
- Users of Pixel 6 through Pixel 10 series, Pixel Tablet, Pixel Fold, and the emulator should update to GrapheneOS build 2026112700.
Original reference: grapheneos.org →