Products & Tools

Google's Sashiko now reviews 1,200 Linux kernel patches a day

Google has donated Sashiko, its Gemini-powered Linux kernel review tool, to the Linux Foundation. It reviews 1,200 patches daily and caught 75.8% of bugs humans missed on benchmark tests.

Google unveils Sashiko AI review tool for Linux kernel
Google unveils Sashiko AI review tool for Linux kernelPexels / pixabay
By Sophie Lindqvist6 min read

Why it matters

  • Sashiko completes about 1,200 reviews a day across more than 100 kernel mailing lists, with 70-plus lists opted in
  • Google linked the tool to more than 2,000 mainline Linux kernel commits and more than 500 official CVEs in 2026
  • On a benchmark of nearly 1,000 historical bugs, Sashiko with Gemini 4 Carbon detected 75.8% of bugs human reviewers missed
  • Follow-up fixes within 60 days fell from a 3.4% pre-Sashiko average to 2.2% in Linux 7.2, though Google stopped short of full attribution
  • Linus Torvalds endorsed the tool, saying anyone who thinks all AI is slop is in denial
  • Google donated Sashiko to the Linux Foundation

Google's Sashiko, an open-source AI code review system for the Linux kernel, now completes about 1,200 reviews a day across more than 100 kernel mailing lists — and the company has donated the tool to the Linux Foundation. Google detailed how the system works on November 24, 2026, alongside impact numbers it links to more than 2,000 mainline kernel commits and more than 500 official Linux kernel CVEs this year.

The tool, built by Google AI & Infrastructure, targets a bottleneck that has grown worse as developers lean on AI to write code. The kernel spans more than 35 million lines of code and accepts more than 85,000 changes a year, all landing on public mailing lists where maintainers inspect patches by hand. Google said maintainers face a rising volume of plausible but flawed submissions, plus AI-generated security reports that are inaccurate or duplicate earlier findings. That's the problem Sashiko is built to absorb.

What does Sashiko actually do?

Sashiko uses Gemini models to examine patches, search the surrounding code, and test whether suspected bugs hold up against evidence in the code base. The core design choice is a strict separation between finding possible defects and verifying them. Specialist review passes focus on specific areas: control flow, resource lifetimes, locking and security.

The pipeline is deliberately structured. It works like this, according to Google's description:

  • Context gathering. The process starts by collecting code around a proposed change, including modified functions, structure definitions and direct callers.
  • Planning. A planning stage decides which specialist checks to run and how much reasoning budget each one gets.
  • Parallel review. Up to seven specialist sessions run at the same time, each looking at a single class of issue. Every session produces a list of concerns and a list of candidate concerns it investigated and ruled out.
  • Verification. A lead verifier audits both lists. Clear bugs that can be shown directly in the code move forward; uncertain cases go to separate verification agents for individual examination across call sites.

The final report is written in the style of a human maintainer raising questions on a Linux mailing list. Everything runs in the open: Google operates the service publicly for patches sent to public kernel mailing lists, with prompts, tool calls, reasoning steps and ruled-out bugs visible to anyone. The takeaway: the system doesn't just flag problems, it shows its homework on why each one was raised or dismissed.

How much contact has it had with developers?

Sashiko only sends review emails to mailing lists whose maintainers have opted in, and more than 70 lists have done so. The engagement goes both ways. More than 1,500 kernel developers have replied to Sashiko reports on public mailing lists, and Google said that feedback has been used to refine the prompts and the verification process.

Development itself is open too. More than 100 contributors, including kernel maintainers and engineers, have helped improve Sashiko and its prompts. Some engineers also run local or private versions so they can check patches before sending them to maintainers at all — which shifts some of the quality filtering upstream of the mailing list.

Does it actually reduce bugs?

Google's numbers point in that direction, with caveats the company itself acknowledged. The reference points span the whole kernel tree: the more than 2,000 mainline commits and more than 500 official CVEs it links to Sashiko cover drivers, networking, graphics processing units, memory management, virtualisation and core kernel code.

The release-level trend is where it gets interesting. Across the 18 kernel releases before Sashiko, an average of 3.4% of merged commits needed a follow-up fix within 60 days. Since the rollout, that figure fell to 2.8% in Linux 7.1 and 2.2% in Linux 7.2. Google cautioned that several factors can affect release-to-release trends and said it could not attribute the full decline to Sashiko alone, while calling the pattern encouraging.

A cleaner signal comes from the tool's own verdicts. Across 21,500 tracked mainline commits, patches that received a clean Sashiko review needed a follow-up fix within 60 days only 0.9% of the time. Patches merged despite a critical warning needed one 7.6% of the time. That's roughly an eight-fold difference in follow-up risk between the two groups.

How does it compare to human reviewers?

Google tested Sashiko against a benchmark of nearly 1,000 historical Linux kernel bugs — bugs that had passed expert human review before later being fixed. Running Gemini 4 Carbon, Sashiko detected 75.8% of the bugs that human reviewers had missed. That's the number that frames the tool's value: it is not replacing review, it's catching a specific slice of defects that experienced people let through.

It also fills a gap that existing automation leaves open. Maintainers rely on manual inspection to spot memory leaks, deadlocks, race conditions and security bugs before changes merge. Automated build tools and fuzzers catch crashes and build errors, but they don't substitute for that judgment call.

What does Linus Torvalds think?

Linus Torvalds has commented publicly on the system, and his remarks are unusually direct for the AI-skeptic corner of kernel development. "As you say, Sashiko tends to be quite good. Even when it flags something unnecessarily and there's no actual problem, there's likely to be a reason for the question. And we've seen some truly stellar reports too. Things that are deep and subtle, and the AI is 100% correct. So anybody who thinks that all AI is slop is in denial about the current state," Torvalds said.

On the question of AI-generated patches and trust, he framed Sashiko as a counterweight rather than a contradiction: "Now, I think the other side of AI - and this is where Sashiko comes in - is that it basically does end up being a tool that can then increase the trust in the patch. So AI giveth, and AI taketh away. But the basic issue shouldn't be AI per se, it should be that notion of 'trust'."

That framing matters beyond Linux. If AI-generated code floods open-source projects while AI reviewers restore the cost of verifying it, Sashiko becomes the first large-scale test of whether both sides of that trade can run in public, with auditable reasoning, under a neutral foundation rather than a single vendor. With the Linux Foundation now owning the project and more than 100 contributors shaping it, the experiment's next stage is whether the opt-in model spreads beyond the 70-plus lists already participating.

Source: itbrief.com.au

Share this article:

More from Sophie Lindqvist

Sophie Lindqvist

Show full bio

Staff writer covering regulation, policy and their impact on artificial intelligence and machine learning at AI In Context.

910 articles

Related articles

  1. Four Labs, One Blueprint: How AI Security Agents Converged in 2026
  2. GitHub and Microsoft's AI bug scanner produced 99 verified reports across six projects
  3. Google now runs six automated gates, including an AI reviewer, on every agent skill
  4. GitHub and Microsoft Pilot Turns 9,791 AI Findings Into 55 Fixes
  5. OpenAI Launches GPT-5.2-Codex, Its Most Advanced Coding Model

« Previous articleNext article »