GKH Deleted a Driver from Linux Kernel Because AI Kept on Finding “Bugs” in it

Linus Torvalds merged a pull request from Greg Kroah-Hartman that holds a single patch, and that patch only deletes code. It removes the vme_user driver across 16 files and 8,931 lines.
The deleted code covers the VME bus support that lived in the kernel’s staging area and the driver that gives userspace access to it.
8,931 lines gone, none added

The two biggest files in the deletion are vme_tsi148.c and vme.c, at 2,643 and 1,977 lines. The largest header file, vme_tsi148.h, accounts for 1,392 more.
The VME driver API documentation page (error 404 now), at 297 lines, goes too, along with the staging Kconfig and Makefile lines and the VME section of MAINTAINERS. Leftover VME options in the PowerPC 86xx config file are cleaned up as well.
Accepted the day it was posted
The removal patch calls the VME userspace drivers in staging orphaned and says Greg wanted them gone instead of patched further. It reached the mailing list on October 21.
Greg answered the same day by saying he would queue it once his pending rc1 pull request landed in Linus’s tree. The commit then sat in his staging tree for about a month.
He sent the pull request on November 27 under a title that names a staging driver removal for Linux 7.4-rc5. The patch is its only change, and Greg also says it went through linux-next first and drew no problem reports.
Linus merged the pull the same day, and the commit went out in Linux 7.4-rc5 two days later. The rc5 announcement lists it, and the whole trip from patch to mainline took just over five weeks.
The reason given
The patch itself says nothing about AI. That part comes from Greg’s pull request. He writes there that nobody uses the driver and that LLMs keep trying to find security bugs in it.
His answer was to delete the code so nobody has to keep spending time on it. Linus kept that explanation in his merge message, and it now sits in the kernel’s history.
Neither document shows what the LLMs actually flagged, and the reports themselves can’t be judged from these threads.
Greg made a similar call in August with an old serial driver for Moxa hardware. His reasoning there also pointed at AI tools examining code nobody runs.
Two answers in one release candidate
Linus’s rc5 announcement names the ext4 selftest changes and the vme_user removal as the two things to set aside before the diff looks normal. He also says many small error path fixes in rc5 are the kind LLMs catch well.
The ext4 changes in rc5 include a large pull from Theodore Ts’o. He described the added code as mostly tests for AI-generated patches and said most of its bug fixes were AI-generated too.
Linus objected to its size and timing and said a pull like that belongs in the merge window. Ts’o answered that the tests sat on their own branch and offered to resend without them.
Linus said he still partly objected and kept the merge anyway.
Set against the VME removal, that shows maintainers handling the volume of AI work in different ways.
Greg removed code that LLMs kept going after. Linus kept a large batch of mostly AI-generated fixes in the tree after objecting to how it arrived. Both read as individual calls rather than a standardized approach.
Greg’s pull request speaks only about this one driver. A few more development cycles should show us whether the kernel lands on a common way of handling such AI-driven problems.
![]()
