The Linux Kernel Dev Staging Area Now Rejects AI-Generated Patches
Unless a kernel patch is a valid security fix, it will be rejected if it was created using AI.
Firstly, it's important to understand that the developer staging area is a place for new kernel developers to get involved in Linux kernel development. "It contains loads of 'low-hanging fruit' with regards to code cleanups and API changes, perfect for new developers to learn the process in a safe and friendly way," said Greg Kroah-Hartman.
Because of that specific purpose, Hartman has made it clear that anyone "attempting to use an LLM [Large Language Model] to clean up or 'fix' any code in drivers/staging/ is EXPLICITLY defeating the whole purpose of it existing in the first place." To that end, Kroah-Hartman will automatically reject any patches that are generated using an LLM in the drives/staging/subsystem -- with one exception.
Kroah-Hartman states that LLMs are quite good at locating suspected "security issues" in the kernel code. However, even with the improvements, he says that "at least 1/3 of the results they generate are flat out wrong or harmful." At the same time, Kroah-Hartman informs developers that if their LLM-found fix in a drivers/staging file is valid, it's okay to submit it. However, he warns, "you must have first tested it on the actual hardware for the driver and described how you have done so, in order for us to be willing to take the change."
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
The Linux Kernel Dev Staging Area Now Rejects AI-Generated Patches
Unless a kernel patch is a valid security fix, it will be rejected if it was created using AI.
-
Linux Surpasses Double-Digit Market Share
According to two sources, the Linux operating system has hit a major milestone in market share that naysayers thought would never happen.
-
AI Helped Develop a Linux Exploit
A use-after-free race exploit was discovered and exploited on CentOS Stream 9.
-
Yet Another Linux Kernel Vulnerability Discovered
Affecting millions of systems, a kernel flaw discovered by Qualys could allow users to gain root privileges.
-
Ubuntu 26.10 to Include Ubuntu Certified Hardware Check
If you've ever wondered if your laptop or PC is officially certified to run Ubuntu, that curiosity will soon be met.
-
Substantial Update to IPFire Now Available
The lastest version of IPFire features a fundamental change to how the system handles DNS.
-
Gnome Working on Test Center App to Make Testing Easier
It's now possible to test experimental features on the Gnome desktop without worrying that you'll break things.
-
New Vulnerability Discovered in Linux Kernel
Hiding out for nearly 15 years, the Ghostlock vulnerability allows a standard logged-in user to gain root privileges.
-
New Linux Flaw Lets Attackers Escape VMs
A 16-year-old vulnerability allows an attacker to escape a virtual machine, gain access to the host, and execute malicious code.
-
Hannah Montana Linux Is Back!
Developer Noah Cagle decided the world needed the once obscure but beloved Linux distribution and gave it a decidedly pink refresh.
