Skip to content

Linux deleted 8,931 lines of code because AI kept finding bugs in it

The VME bus driver had no users and no maintainer, but AI tools kept filing security reports against it. So Greg Kroah-Hartman deleted all 8,931 lines, and Linux 7.4-rc5 shipped the deletion.

Cyanotype blueprint of a vintage computer backplane, a grid of empty card slots in white line work on deep blue, with one circuit board half-pulled from its slot at the right
A cyanotype-style backplane with one card pulled from its slot. The vme_user driver is gone from Linux 7.4-rc5; the VME bus standard itself continues elsewhere.
On this page

In brief

  • Linux 7.4-rc5 deletes the orphaned vme_user driver: 16 files, 8,931 lines removed, none added.
  • The driver had no users and no maintainer, and had sat in the kernel's staging area since 2022.
  • Greg Kroah-Hartman asked for the deletion because LLMs kept finding 'security bugs' in code nobody runs.
  • The same release candidate carries a 41,204-line batch of mostly AI-generated EXT4 fixes that Linus Torvalds scolded.
  • Deletion is becoming the kernel's cheapest answer to AI review noise; a Moxa serial driver went the same way in August.

"There is no more users of it and the LLMs are falling all over themselves attempting to find all of the "security bugs" in this driver, despite no one ever actually use it. So just remove it to keep from wasting everyone's time."

That is the argument Greg Kroah-Hartman sent to Linus Torvalds in a pull request on November 27. The pull held a single patch, and the patch did one thing: it deleted code. 16 files, 8,931 lines, nothing added. Torvalds merged it the same day, and the deletion shipped two days later in Linux 7.4-rc5, the fifth release candidate of the 7.4 kernel.

The code was the vme_user driver, the last piece of support for the VME bus in the mainline kernel. Nobody used it. Nobody maintained it. And that combination, in 2026, is exactly what gets a driver deleted: the models keep reading it, the reports keep arriving, and each one costs a human an afternoon.

A bus from 1981

VME stands for VERSAmodule Eurocard, a parallel computer bus that Motorola, Mostek, Signetics and Thomson announced in October 1981, placing the first revision of the specification in the public domain. It became ANSI/IEEE 1014-1987, and it lived in industrial equipment and scientific instruments: Sun workstations from the Sun-2 through the Sun-4, HP 9000 industrial systems, the Atari TT030, Motorola's own MVME boards. Cards plug into a backplane and talk to each other across it, a design that is simple to describe and expensive to keep alive.

The vme_user driver was the part that let ordinary programs, running outside the kernel, reach boards on that bus. Underneath it sat the common VME code and a driver for the TSI148, a chip that bridges PCI, the bus inside a PC, to VME. There was also a fake bridge, code that pretends to be hardware so the driver can be tested with no board present at all.

Support had been shrinking for years. The common VME code moved out of the kernel's staging area in 2012, substantive maintenance stopped around 2017, and in 2022 the older Universe II bridge chip was removed and the remaining code was sent back to staging, the kernel's holding area for drivers that are not fully integrated. The kernel's own maintainers file listed the VME subsystem as orphaned: no maintainer, no one signed up to answer for it.

What 8,931 lines actually were

Five bars show where the deleted lines went: the TSI148 bridge driver at 4,035 lines, common VME code at 2,357, the simulated bridge at 1,308, the userspace interface at 859, and docs, config and maintainers at 372
Most of the deletion was the bridge chip driver, not the userspace interface. Figures from the removal patch diffstat. Source.

The name on the deletion is the userspace interface, but the bulk of it is something else. Nearly half the lines, 4,035 of 8,931, belong to the TSI148 bridge driver, the code that talks to one specific chip. The common VME code accounts for 2,357 more, the simulated bridge for 1,308, and the vme_user interface itself for only 859. The rest, 372 lines, is documentation, build configuration and the maintainers entry. Deleting a driver, in this case, mostly meant deleting a bridge chip driver and the scaffolding around it.

The road to deletion

The removal was not sudden. In June 2026, Gabriel Ramos Barbosa Mota proposed a separate removal patch. On October 21, the discussion turned concrete: Dan Carpenter, a kernel developer, noted that he had been asking Kroah-Hartman to take individual fixes for the driver, said vme_user had more serious problems, and proposed removing the driver itself. Kroah-Hartman agreed and said he would welcome a removal patch. LiuJunyuan posted one the same day.

The patch sat in linux-next, the tree where upcoming changes are tested together, for about a month. Nothing was reported against it, which is itself evidence: a removal that breaks a real user tends to produce a complaint quickly. Kroah-Hartman sent the pull request on November 27, Torvalds merged it that day, and the release candidate followed on November 29.

One detail matters for reading the record straight. The removal patch itself says nothing about AI. Its message is administrative: the drivers are orphaned, Kroah-Hartman requested removal instead of further staging-only fixes, and here is the list of what goes. The AI reason exists only in the pull request, and now in the merge commit that preserves it. That is where the story actually is: not in the code that was deleted, but in the sentence that explains why.

Why deletion beats fixing

A bug report is not free, even when the bug is real. Someone has to confirm that the flaw occurs, judge how much it matters, and check the fix afterward. Linux's networking maintainers said this week they are "completely overwhelmed" by AI-generated bug reports and patches, and the numbers behind that complaint are the reason deletion looks attractive: a third to a half of the development-tree networking patches in the last cycle looked AI-driven, and the 7.4 merge window took 19,671 commits, the largest ever. Finding bugs got cheap. Reviewing the fixes still costs a human afternoon, and there are only so many afternoons.

The reports against vme_user may have been correct. Nothing in the public record says what the models flagged, and neither the pull request nor the patch quantifies how many reports arrived or how much time they consumed. That uncertainty is part of the point. A maintainer cannot tell a real report from a wrong one without reading the code, and reading code nobody runs is time spent on nothing. Deletion ends the loop at the source: no code, no reports, no queue.

The kernel has been drawing this line in stages. In August, Kroah-Hartman announced that the staging area would generally reject LLM-generated patches, because staging exists as a training ground for new contributors and model output takes the place of the learning. The kernel's own guide for reporting security bugs notes that low-quality or imprecise reports burden maintainers. The same week the VME pull went out, Donald Knuth paused his error bounty after 58 years because LLM-assisted readers were sending corrections faster than he could verify them, and PocketBase left GitHub because its maintainer's block list held more than 300 accounts sending LLM spam. Three different answers to one problem: add people, pause the inbox, or leave the room. Deleting the code is a fourth.

The same release, both directions

Linux 7.4-rc5 is a strange document to read with this in mind. Torvalds called it another huge release candidate and said it looks odd at first glance because of the ext4 selftest noise, but that setting that aside, and the removal of the vme_user staging driver, the rest looks normal. The documentation updates in the release are, in his words, mostly an attempt to calm down some of the AI readers. And the small error-path fixes that fill the release are, again in his words, "Things those LLM's are so good at catching, and that seldom triggers in reality."

The same candidate carries the other side of the argument. The EXT4 pull that Torvalds merged, with serious reservations, ran to 41,204 lines, mostly AI-generated fixes plus new tests built to make AI-generated patches safer to check. He scolded its author on the timing, saying release candidates exist to calm a release down, not to absorb tens of thousands of lines of new work. One release candidate deletes code because the models keep looking at it and absorbs a huge batch of code the models wrote. Both can be true at once: the models are good at finding small error-path bugs, and bad at knowing which code is worth anyone's time.

The delete key, and what comes next

The VME removal is not the first deletion of this kind. In August, Kroah-Hartman removed the Moxa Intellio serial driver, 2,148 lines across three files, a driver whose code dated to 1999 and whose manufacturer had said it was no longer needed. His patch note gave the same reason: the models were starting to poke at it and find interesting things, which would waste everyone's time given that it is not actually used. In April, the 7.1 merge window removed 138,161 lines of old networking code in one sweep, including the ISDN and amateur radio subsystems and 1990s Ethernet drivers. Deleting unused code to shrink the surface the models scan is now an established move, and VME is the latest removal whose stated reason names the reports directly.

The removal is not a verdict on VME hardware. The bus standard continues in industrial and scientific systems, and the laboratories that still run it keep their own drivers: CERN, for example, built an FPGA-based bridge for its newer VME boards and maintains its own vme_rcc driver for the ATLAS experiment. What is gone is the in-tree staging driver, the one nobody maintained. Anyone whose system ran it will need an older kernel or an out-of-tree driver when 7.4 arrives, and the honest check before upgrading a VME system is which driver it actually uses, not which bus it is built on.

What remains unknown is the part the public record does not contain: how many reports the driver drew, what the models actually flagged, and whether any of them were real. No count, no examples, no tally of hours saved. The next test is the 7.5 merge window in late December, when the kernel's AI agent skills are due to land and the review queue gets its next surge. The question that will decide whether deletion becomes a pattern is the one the VME pull answers for a single driver: when the cost of reading the reports exceeds the value of the code, how many other orphaned drivers are one pull request away from the same answer?

Related reporting

More from grep.tips

All articles