An AI agent turned 17 already-fixed Linux bugs into working attacks on Android phones, for about $321 each

In short

The gap the paper measures

Android runs on a version of the Linux kernel, the core of the operating system that controls memory, files and hardware. When someone fixes a security bug in Linux, the fix is public straight away as a code change. It then has to pass through Linux stable branches, Google's Android Common Kernel branches and vendor firmware builds before it reaches a phone. The authors call the interval in which a fix is public but a device is still unpatched an "n-day exposure window" (an n-day exploit attacks a bug that is already fixed somewhere, as opposed to a brand-new one).

Until recently, the authors write, this lag was largely a patch-management problem. Their argument is that capable AI agents turn it into an exploitation problem: a public patch points to the vulnerable code, and an agent can try to build an attack from it.

What they built (and what the agent had to do)

The pipeline takes public upstream patches as input and uses publicly available frontier models; the paper names OpenAI's gpt-5.6-sol at its highest reasoning setting, under a $1,250 per-experiment cost ceiling. No ready-made bug reproducer is supplied. In four stages it screens patches for memory-safety bugs, works out which Android kernel branches contain the bug and whether an app can reach it, has the agent write an exploit, and then tests the finished app on a freshly booted virtual device with no interactive agent access.

The target is local privilege escalation: an app running with the lowest "untrusted_app" rights gets root and switches off SELinux (Android's mandatory access control), while Android's system-call restrictions and kernel mitigations (KASLR, PAN, PXN and CFI) are active.

10,301 kernel CVEs screened (January 2024 to September 2026); 152 candidates reaching runtime reproduction; 38 reproduced from an ordinary app; 17 independently verified exploits

Between those counts the funnel passed 1,233 bugs judged relevant to Android and 612 that the bug-effect filter kept, per the paper. Over 60% of the 114 failed reproductions were blocked by unprivileged permission restrictions and roughly 20% by disabled kernel configurations.

Cost, time and reliability

Source: the authors' results sections.

Two points of care. The $321 figure is the median development cost of the successful cases, not the cost of finding a target; the authors' own all-in figure is about five times higher. And the hardware test covered a subset of nine of the verified exploits on phones reflashed with unpatched factory firmware, because reflashing needs manual work. Both failures were the same bug, CVE-2025-39977 on a Pixel 9, where timing and scheduler differences stopped the exploit.

The authors also had the agent port exploits to other kernel versions. All 34 adaptation experiments produced an exploit that passed blind verification, at a median model cost of $11.59 for a same-branch update and $32.51 for a move to an adjacent branch.

How late the fixes arrive

The authors traced the 17 bugs through monthly Generic Kernel Image branches and Pixel factory firmware. The delay to Google's own kernel branches was short: a median of 21.5 days across 201 patched CVE–branch pairs. The delay to phones was long: across eight patched CVE–device pairs, the first fixed Pixel release came a median of 181 days after the upstream fix, and every one took more than 60 days. The paper says the bottleneck is the step from Android Common Kernel to Pixel firmware. Nine further CVE–device pairs were still unpatched in every Pixel release the authors evaluated.

On their release dates, 64.1% of the evaluated Pixel factory images contained at least one of the studied bugs whose CVE was already public. Counting from the CVE's publication rather than the upstream fix trims the median only to 149.5 days.

One possible reason, the authors suggest, is visibility: only three of the 17 exploited CVEs appear in Android Security Bulletins, so there may be no explicit signal to backport a fix. In their data, four of the eight fixes arrived only through a switch to another release branch.

Limits: the sample is eight patched CVE–device pairs on Pixel phones, the exploits ran on Android Common Kernel targets chosen by the authors, and the work is a preprint. The authors present it as a measurement of what is feasible, and note that the same pipeline could help maintainers decide which upstream fixes matter for Android.

Terms in plain English

Where things stand

The authors summarise the result as an asymmetry: attackers can increasingly automate exploitation in hours, while defenders find and deploy fixes over months. The paper is a preprint and has not been through peer review; we did not read its appendices or its full discussion of defences.

Sources

Sources

More from Lock & Key

All stories from Lock & Key