Linux kernel gets an ai code reviewer that spots bugs humans miss
Roman Gushchin just open-sourced the tool Google has quietly relied on to keep the Linux kernel from tripping over its own shoelaces. Called Sashiko, the ai agent scanned one thousand unfiltered upstream patches and flagged 53 % of the hidden defects—every one of which human reviewers had waved through.
A 500 k-line codebase, zero false bravado
The numbers sound modest until you realise the baseline: professional maintainers with combined decades of kernel archaeology had let the same bugs sail into production. At Google’s scale that slip translates into real money—half a million orphaned Windows servers still humming past their expiry date are the visible scar of quieter lapses elsewhere.
Sashiko is not a gimmick bolted onto the repository. It lives inside the e-mail workflow that Linus Torvalds still curates, ingesting every patch posted to the Linux Kernel Mailing List, cross-referencing symbols, control flow and historical fixes, then replying with a concise red flag when something smells off. No new dashboards, no CI pipeline retooling; just a terse inline note that arrives before the coffee cools.
Gushchin, a kernel engineer on Google’s memory-management team, credits the company’s bottomless token budget for Gemini 3.1 Pro with letting him train on 30 GB of kernel lore without the usual academic hand-wringing over compute quotas. The result: a model that speaks C fluently enough to spot missing null checks, off-by-one loops and locking mismatches without drowning maintainers in noise.

Qualcomm and nvidia already feed it patches
Upstream veterans from Qualcomm, Nvidia and Red Hat have started cc’ing Sashiko on their pull requests, treating the bot like a junior reviewer who never sleeps. The etiquette is still evolving—some maintainers thank it in commit messages, others mute the thread—but the trend is clear: if your patch touches mm/slab.c or kernel/fork.c, expect a second set of eyes that never blinks.
Privacy hawks will bristle at another Google model slurping public code, yet the weights remain locked inside Google’s perimeter. What ships is a read-only oracle; no telemetry flows back to Mountain View. Torvalds, characteristically terse, called the tool “mildly useful” in a mailing-list aside—high praise from a man who grades on a curve of scorn.
The immediate payoff is cleaner point releases. Over the long arc, Sashiko signals a shift in how critical infrastructure is audited: not by throwing more humans at an ever-expanding codebase, but by deputising silicon that can read diff hunks at machine speed. The kernel averages eight patches an hour; flesh-and-blood maintainers were never going to scale.
Google’s chequebook is open for now, yet the moment the bean-counters yank the cloud credits, the kernel community will face a fork in the road: fund its own GPU cluster or watch the robot reviewer power down. Until then, every new “Fixes:” tag that lands in git bears the invisible initials of an algorithm that learned to debug the operating system that runs the world.
