Linux removes vme_user after LLM security alerts

Linux removes vme_user after LLM security alerts

The Linux kernel is going to remove vme_user, a driver with around 9,000 lines for the VME bus. Greg Kroah-Hartman requested its removal because it has no users and language models keep flagging supposed security issues in the code.

The decision ends support for this driver in the kernel, where it remained in the staging area despite being abandoned. Kroah-Hartman's explanation focuses on the cost of repeatedly reviewing alerts about a piece of software that, he says, nobody uses.

An orphaned driver since 2022

vme_user is related to the VERSAModule Eurocard bus, known as VME. XDA's coverage presents the decision as a loss of support for VME drivers, although the specific change described removes the vme_user driver.

The code had been in the staging tree since 2022 and was already orphaned. In the kernel, staging contains code that remains separate from the rest of the main tree; in this case, the driver was still there despite having no active maintenance, according to the information published by XDA.

The removal request came through a message on the Linux kernel mailing list. XDA, citing coverage by Phoronix, attributes the request to Kroah-Hartman. The change removes around 9,000 lines of code and, according to the maintainer himself, had already been in linux-next for some time without any reported problems.

The cost of chasing alerts about code with no users

Kroah-Hartman explained that LLMs—large language models—were searching for security bugs in the driver, even though it was not being used. According to his explanation, searches for supposed bugs in a driver with no users were a waste of time.

"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. This removal has been in linux-next for quite a while with no reported issues."

— Greg Kroah-Hartman

The statement sums up the reason for the removal: to keep maintainers from wasting time reviewing alerts about a driver with no known users. The decision is to remove the code, rather than maintain it and respond to every new alert.

The coverage describes a broader dynamic in kernel development: LLMs generate or flag possible bugs in old drivers, and those reports can create work for the people maintaining the project. In the case of vme_user, the combination of orphaned code, no users, and recurring alerts tipped the balance toward removal.

Testing in linux-next

The removal had already been in linux-next for some time, according to Kroah-Hartman, with no reports of problems.

No affected users or specific equipment that depends on vme_user are identified either. Kroah-Hartman maintains that the driver has no users; for that reason, the removal is presented as a code cleanup with no reported consequences while it was in linux-next.

The name VME appears in the context of old hardware, but the decision described does not announce the removal of all support for every device related to this bus: the change identified is the removal of vme_user. XDA's coverage refers to VME drivers in the plural when summarizing the loss of support, while the quoted message refers to a single driver.

A possible pattern for other drivers

XDA suggests that this case could be repeated with other abandoned drivers if LLMs continue producing alerts about code that is no longer used. However, no list of upcoming removals or cleanup schedule has been announced: this possibility is presented as a trend that could emerge, not as a plan confirmed by the maintainers.

For now, the concrete action is limited: Linux is removing vme_user, an orphaned driver with around 9,000 lines, after security alerts about the code consumed time without benefiting any known users. Its time in linux-next had not generated any reported problems.

Sources: XDA, daily.dev