Here's the thing, all of these problems are pre-existing. All LLMs are doing is shining a big bright light on it.
We are talking about drivers for devices from the last century which nobody even uses anymore. This isn't "shining light" on important pre-existing issues that have been ignored for too long or something, it isn't helping. The only problem here, if any, is the false sense of confidence given by LLMs to people who have no business touching kernel code.
Kernel code removals driven by LLM-created security reports
71–80 of 130 posts
Re: Kernel code removals driven by LLM-created security reports
#72When LLM reports the bug, is should be used to fix it on the same occasion. Nobody will bother afterwards.
Not that it's not going to happen; Linus is already a vibe-coder, and several maintainers have fallen for the LLM crap as well.
Re: Kernel code removals driven by LLM-created security reports
#73Earlier quoted context omitted.
> more modern protocols (in userspace) That's really it. The list of things that "need" to be in the kernel is shrinking steadily, and the downsides of having C code running in elevated privilege levels are increasing. None of that is about LLMs at all, except to the extent that it's a notable inflection point in a decades-scale curve. The future, and we basically all agree, puts complexities like protocol handling a…
Except it's several times slower doing TCP/IP in userspace with programs than having a proper kernel for it, that's it, Hurd.
Re: Kernel code removals driven by LLM-created security reports
#74can such drivers be moved out of kernel? what exactly stops that? why do they even need to be in kernel repo and not brought at/after install time?
Linux is actively hostile to out-of-tree drivers. There is no stable driver API, and interfaces change at the drop of a hat. Maintaining an out of tree driver is a constant nightmare where you're always dealing with interfaces changing out from under you. I wrote and maintained 10GbE drivers for a small company in the 2000s, and just the SHIM file for our driver on Linux to massage over API differences was well over…
It's not a nightmare anymore to port drivers
Re: Kernel code removals driven by LLM-created security reports
#75While I know that it may have been a security liability, I'm particularly sad that they're removing the AX.25 module from the kernel. > and since nobody stepped up to help us deal with the influx of the AI-generated bug reports we need to move it out of tree to protect our sanity. This thread from the linux-hams mailing list [2] has more insight into this decision. I guess the silver lining is that, more modern proto…
Re: Kernel code removals driven by LLM-created security reports
#76Earlier quoted context omitted.
> more modern protocols (in userspace) That's really it. The list of things that "need" to be in the kernel is shrinking steadily, and the downsides of having C code running in elevated privilege levels are increasing. None of that is about LLMs at all, except to the extent that it's a notable inflection point in a decades-scale curve. The future, and we basically all agree, puts complexities like protocol handling a…
Except it's several times slower doing TCP/IP in userspace with programs than having a proper kernel for it, that's it, Hurd.
Re: Kernel code removals driven by LLM-created security reports
#77Earlier quoted context omitted.
> more modern protocols (in userspace) That's really it. The list of things that "need" to be in the kernel is shrinking steadily, and the downsides of having C code running in elevated privilege levels are increasing. None of that is about LLMs at all, except to the extent that it's a notable inflection point in a decades-scale curve. The future, and we basically all agree, puts complexities like protocol handling a…
Except it's several times slower doing TCP/IP in userspace with programs than having a proper kernel for it, that's it, Hurd.
ok, what are the niggly details. we don't have interrupts, and we're running under the general scheduler, so there may be some effects from not getting scheduled as aggressively.
we still need to coordinate through the kernel wrt port bindings, since those are global across the machine, but that's just a tiny bit.
clearly we may be re-opening a door to syn-flooding, since the path to rejection is maybe longer. maybe not, but maybe we can leave the 3-way handshake in the kernel and put the datapath in userspace.
we probably lose rtt-estimates hanging off of routes.
none of that suggests 'several times slower'
Re: Kernel code removals driven by LLM-created security reports
#78Earlier quoted context omitted.
https://blog.mozilla.org/en/privacy-security/ai-security-zer... > As part of our continued collaboration with Anthropic, we had the opportunity to apply an early version of Claude Mythos Preview to Firefox. This week’s release of Firefox 150 includes fixes for 271 vulnerabilities identified during this initial evaluation.
So you're saying Mozilla is in on it, hyping up Anthropic. Are they getting a kickback?
Re: Kernel code removals driven by LLM-created security reports
#79When LLM reports the bug, is should be used to fix it on the same occasion. Nobody will bother afterwards.
Re: Kernel code removals driven by LLM-created security reports
#80Earlier quoted context omitted.
We are talking about drivers for devices from the last century which nobody even uses anymore. This isn't "shining light" on important pre-existing issues that have been ignored for too long or something, it isn't helping. The only problem here, if any, is the false sense of confidence given by LLMs to people who have no business touching kernel code.
If they are drivers for devices from the last century which nobody even uses anymore why keep them in the kernel when they, as shown by LLMs, are potential sources of security vulnerabilities? Seems more logical to take the action being taken and remove them.