Our migration to the Linux 6.18 LTS branch for 10th gen Pixels earlier this month went very smoothly. We're in the process of completing the migration for earlier generation Pixels. We'll migrate 6th through 9th gen Pixels to 6.18 together due to the shared driver source tree.
There was a Linux kernel patch submitted upstream to make RANDSTRUCT compatible with Rust but it was incomplete. We used it as the starting point and added the missing pieces. We also had to fix bindgen to handle the anonymous fields Clang uses internally for randomized structs.
Rust modules work fine with the standard Android kernel security features changing code generation including kCFI and PAC. Those also work fine with the security features added by GrapheneOS including MTE and BTI. RANDSTRUCT was the only lost feature and now that's back again.
Since we were working on this area, we also finally figured out why the Qualcomm Atheros Wi-Fi driver for the Pixel 7a was incompatible with RANDSTRUCT and resolved it. We're also changing it to being based on a combination of commit hash and device model instead of source date.
Android now uses Rust for kernel modules and multiple kernel modules are written in Rust for Linux 6.18. It's a very good thing overall but resulted in temporarily losing support for struct randomization. We've now resolved that by implementing it for both Rust bindgen and Linux.