|
|
|
Ask HN: Are advances in AI going to push Linux to a micro-kernel?
|
|
4 points
by cayleyh
23 days ago
|
|
This is something that has been bouncing around my head for the past couple weeks with the flood of security related news around Mythos and the number of 0days being found. Microkernels, unikernals, hardware-enforced capabilities are all technical approaches to limit the attack surface area and blast radius of bugs. They seen to have had limited penetrate the current Linux-based VM / Container / VPC provider stacks a lot of us (most of us?) are using for production environments. The huge Linux ecosystem it's probably more of a driving factor than overall performance at this point, the Linux performance compared to systems that use these approaches was a driver in the past. If the pace of advancement in using LLMs and coding agents to find and exploit bugs continues, do you think that Linux will need to adapt the approaches it uses to be able to limit the impact of bugs in drivers and other ancillary code? Do you think that alternative approaches like Unikernals will be a beneficiary of the advancement instead? Or do you think Linux just has too much developer manpower and ecosystem strength that is will mostly just adapt through the "rough patch" but remain mostly unchanged structurally afterwards? Interested, hear what other people think could be a reasonable response if LLMs continue to get better at finding and exploiting software bugs. |
|
Many pieces are already in place. See eg. L4Linux, seL4, Genode, various types of hypervisors etc.
But it would require defining stable interfaces between many moving parts which are currently in-kernel. Which in Linux land... is not a thing. Changing that would need consensus between an overwhelming majority of kernel developers.
So you could say: inertia, and the plethora of virtualization / isolation options are "good enough" for most users.
As for AI mass-discovering bugs: just a temporary rough patch (no pun intended). Linux is a massive codebase. But a lot of it is high-quality, and the # of bugs hiding in there is finite. The ceiling is not in how powerful AI becomes, it's the (finite) # of pre-existing bugs. So at some point it'll be back to a situation where only new code can bring in additional bugs. Probably AI will help there too.
Also note that the bulk of Linux is driver code for various hardware & technologies: system busses, memory management, file systems, disk caching, networking stacks, encryption, GPU, sound, etc etc. A lot of code may never be loaded or executed, bugs in there not applicable, system not vulnerable. Okay: maybe not a safe assumption. But often true nonetheless. EDIT: oh and not all bugs are vulnerabilities.