<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/linux-just-banned-staging-ai-patches-and-linus-would-agree-cwdp0cujp" -->

---
title: Linux Just Banned Staging "AI Patches" and Linus Would Agree
description: Greg Kroah-Hartman (Greg KH), a top Linux kernel maintainer, has issued a policy banning LLM-generated patches from the drivers/staging subsystem. The staging...
canonical: https://daily.dev/posts/linux-just-banned-staging-ai-patches-and-linus-would-agree-cwdp0cujp
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Linux Just Banned Staging "AI Patches" and Linus Would Agree | daily.dev
og:description: Greg Kroah-Hartman (Greg KH), a top Linux kernel maintainer, has issued a policy banning LLM-generated patches from the drivers/staging subsystem. The staging...
og:url: https://daily.dev/posts/linux-just-banned-staging-ai-patches-and-linus-would-agree-cwdp0cujp
og:image: https://api.daily.dev/og/posts/cwDP0cujp.png
og:image:alt: Linux Just Banned Staging "AI Patches" and Linus Would Agree
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Linux Just Banned Staging "AI Patches" and Linus Would Agree

**[SavvyNik](https://daily.dev/sources/savvynik)** · 11 min read · 2 upvotes · 1 comments

## Summary

Greg Kroah-Hartman (Greg KH), a top Linux kernel maintainer, has issued a policy banning LLM-generated patches from the drivers/staging subsystem. The staging area exists as a training ground for new kernel contributors, and using AI to perform its intentionally simple cleanup tasks defeats its educational purpose. The ban comes amid an influx of low-quality, unverified AI-generated security vulnerability reports overwhelming maintainers. Linus Torvalds has separately stated Linux is not anti-AI, and Greg's policy aligns with that — it's not a blanket kernel-wide ban, but a targeted rule protecting a specific learning environment. An exception exists for genuine security fixes, provided they are tested on real hardware and thoroughly defended by the submitter.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=h6qwRL97dAA>

## Questions this post answers

### Does the Linux kernel allow AI-generated patches for the drivers staging subsystem?

No, Greg Kroah-Hartman announced that LLM-generated patches submitted to the drivers staging subsystem will be automatically rejected by default going forward. The one exception is a genuine security fix, which must be tested on the actual hardware for the driver, with the testing process described, before it will be considered.

_Developers navigating AI contribution rules track policy shifts like this one on daily.dev._

### Why is the Linux kernel drivers staging subsystem rejecting LLM generated code cleanups?

Driver staging exists as a training ground where new kernel developers learn the patch review and testing process on low-risk code, so having an LLM clean up the code defeats that purpose. Greg Kroah-Hartman said the kernel deliberately tolerates messy staging code because fixing it is meant to be a learning exercise, not a job for automation.

_Contributors weighing where AI tools fit in a codebase can follow debates like this on daily.dev._

### What is Linus Torvalds' stance on using AI tools in Linux kernel development?

Linus Torvalds has stated that Linux is not an anti-AI project and that he will not stop people from using AI as a tool, calling it clearly useful, while also warning contributors against submitting raw AI-generated vulnerability reports without first checking public discussion and reproducing the issue themselves.

_Anyone deciding how much to trust AI in their own workflow can follow this kind of maintainer guidance on daily.dev._

## Community discussion

Top comments from developers on daily.dev.

**@pwitham** · 2 upvotes

> I think this is a sensible and safe track to take. We are still very much in the early AI days and need to tread carefully not only when we are talking about OS level changes but also educating those that want to help and get involved.

## Similar posts on daily.dev

- [Linux's Staging Area To Now Reject LLM-Generated Patches, Except For Real Security Fixes](https://daily.dev/posts/linux-s-staging-area-to-now-reject-llm-generated-patches-except-for-real-security-fixes-fi8glnrdn) · Phoronix · 3 upvotes · 2 comments
- [AI Code Gets Approved in the Linux Kernel… But With Strings Attached](https://daily.dev/posts/ai-code-gets-approved-in-the-linux-kernel-but-with-strings-attached-0nh5ps1dc) · It's Foss · 0 upvotes · 0 comments

---

Tags: [#open-source](https://daily.dev/tags/open-source), [#linux](https://daily.dev/tags/linux), [#llm](https://daily.dev/tags/llm), [#ai-coding](https://daily.dev/tags/ai-coding), [#kernel-development](https://daily.dev/tags/kernel-development)

[View this post on daily.dev](https://daily.dev/posts/linux-just-banned-staging-ai-patches-and-linus-would-agree-cwdp0cujp)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Linux Just Banned Staging \"AI Patches\" and Linus Would Agree","url":"https://daily.dev/posts/linux-just-banned-staging-ai-patches-and-linus-would-agree-cwdp0cujp","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/linux-just-banned-staging-ai-patches-and-linus-would-agree-cwdp0cujp"},"datePublished":"2026-08-05T12:59:28.936Z","dateModified":"2026-09-14T09:00:22.885Z","description":"Greg Kroah-Hartman (Greg KH), a top Linux kernel maintainer, has issued a policy banning LLM-generated patches from the drivers/staging subsystem. The staging...","image":"https://i.ytimg.com/vi/h6qwRL97dAA/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/h6qwRL97dAA/sddefault.jpg","isAccessibleForFree":true,"articleSection":"SavvyNik","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"SavvyNik","logo":"https://media.daily.dev/image/upload/s--WqWN5vuC--/f_auto/v1743923591/logos/savvynik","url":"https://daily.dev/sources/savvynik"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/linux-just-banned-staging-ai-patches-and-linus-would-agree-cwdp0cujp","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"open-source,linux,llm,ai-coding,kernel-development","timeRequired":"PT11M","video":{"@type":"VideoObject","name":"Linux Just Banned Staging \"AI Patches\" and Linus Would Agree","description":"Greg Kroah-Hartman (Greg KH), a top Linux kernel maintainer, has issued a policy banning LLM-generated patches from the drivers/staging subsystem. The staging...","thumbnailUrl":"https://i.ytimg.com/vi/h6qwRL97dAA/sddefault.jpg","uploadDate":"2026-08-05T12:59:28.936Z","duration":"PT11M","url":"https://api.daily.dev/r/cwDP0cujp","embedUrl":"https://www.youtube.com/embed/h6qwRL97dAA"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"SavvyNik","item":"https://daily.dev/sources/savvynik"},{"@type":"ListItem","position":3,"name":"Linux Just Banned Staging \"AI Patches\" and Linus Would Agree"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/linux-just-banned-staging-ai-patches-and-linus-would-agree-cwdp0cujp","comment":[{"@type":"Comment","text":"I think this is a sensible and safe track to take. We are still very much in the early AI days and need to tread carefully not only when we are talking about OS level changes but also educating those that want to help and get involved.","datePublished":"2026-08-06T14:36:45.171Z","url":"https://daily.dev/posts/cwDP0cujp#c-RSp86ZG5K","author":{"@type":"Person","name":"Peter Witham","url":"https://daily.dev/pwitham","image":"https://media.daily.dev/image/upload/s--PV27VbEH--/f_auto/v1767215591/avatars/avatar_zSPHgbmgf?_a=BAMAK+ZW0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/linux-just-banned-staging-ai-patches-and-linus-would-agree-cwdp0cujp#faq","mainEntity":[{"@type":"Question","name":"Does the Linux kernel allow AI-generated patches for the drivers staging subsystem?","acceptedAnswer":{"@type":"Answer","text":"No, Greg Kroah-Hartman announced that LLM-generated patches submitted to the drivers staging subsystem will be automatically rejected by default going forward. The one exception is a genuine security fix, which must be tested on the actual hardware for the driver, with the testing process described, before it will be considered. Developers navigating AI contribution rules track policy shifts like this one on daily.dev."}},{"@type":"Question","name":"Why is the Linux kernel drivers staging subsystem rejecting LLM generated code cleanups?","acceptedAnswer":{"@type":"Answer","text":"Driver staging exists as a training ground where new kernel developers learn the patch review and testing process on low-risk code, so having an LLM clean up the code defeats that purpose. Greg Kroah-Hartman said the kernel deliberately tolerates messy staging code because fixing it is meant to be a learning exercise, not a job for automation. Contributors weighing where AI tools fit in a codebase can follow debates like this on daily.dev."}},{"@type":"Question","name":"What is Linus Torvalds' stance on using AI tools in Linux kernel development?","acceptedAnswer":{"@type":"Answer","text":"Linus Torvalds has stated that Linux is not an anti-AI project and that he will not stop people from using AI as a tool, calling it clearly useful, while also warning contributors against submitting raw AI-generated vulnerability reports without first checking public discussion and reproducing the issue themselves. Anyone deciding how much to trust AI in their own workflow can follow this kind of maintainer guidance on daily.dev."}}]}
```

