Linux kernel Developers Considering a Kill Switch
With the rise of Linux vulnerabilities, the kernel developers are now considering adding a component that could help temporarily mitigate against them… in the form of a kill switch.
Imagine you've just read about another nasty Linux vulnerability that's targeting machines all over the world. You don't want to leave your desktops or servers ripe for attack, but you're not sure what to do.
Then you remember that the Linux kernel developers added a kill switch, which will temporarily disable affected functions. You log in, run the kill switch, and breathe a bit easier until the patch is released.
That's what NVIDIA developer, Sasha Levin, has submitted to the kernel team. According to Levin's proposal, "For most users, the cost of 'this socket family stops working for the day' is
much smaller than the cost of running a known vulnerable kernel until the fix lands."
Should a vulnerability be discovered, a user runs a command that instructs the kernel, via the securityfs interface, to stop using the affected function and return an error. The kill switch command would be used in conjunction with the function in question (such as AF_ALG, in the case of Copy Fail) to immediately disable it.
Such a feature would have been helpful with both Dirty Frag and Copy Fail.
The biggest issue with the kill switch is that it would not (at least in its current proposed state) be able to first check to see how disabling a function would affect the rest of the system, meaning that an admin could run the kill switch, only to discover something like, say, networking no longer functions.
Keep in mind the kill switch is under review, and there's no knowing if the kernel development team will merge it into the mainstream kernel. Suffice it to say, something needs to be done to better protect Linux against such vulnerabilities.
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Linux kernel Developers Considering a Kill Switch
With the rise of Linux vulnerabilities, the kernel developers are now considering adding a component that could help temporarily mitigate against them… in the form of a kill switch.
-
Fedora 44 Now Gaming Ready
The latest version of Fedora has been released with gaming support.
-
Manjaro 26.1 Preview Unveils New Features
The latest Manjaro 26.1 preview has been released with new desktop versions, a new kernel, and more.
-
Microsoft Issues Warning About Linux Vulnerability
The company behind Windows has released information about a flaw that affects millions of Linux systems.
-
Is AI Coming to Your Ubuntu Desktop?
According to the VP of Engineering at Canonical, AI could soon be added to the Ubuntu desktop distribution.
-
Framework Laptop 13 Pro Competes with the Best
Framework has released what might be considered the MacBook of Linux devices.
-
The Latest CachyOS Features Supercharged Kernel
The latest release of CachyOS brings with it an enhanced version of the latest Linux kernel.
-
Kernel 7.0 Is a Bit More Rusty
Linux kernel 7.0 has been released for general availability, with Rust finally getting its due.
-
France Says "Au Revoir" to Microsoft
In a move that should surprise no one, France announced plans to reduce its reliance on US technology, and Microsoft Windows is the first to get the boot.
-
CIQ Releases Compatibility Catalog for Rocky Linux
The company behind Rocky Linux is making an open catalog available to developers, hobbyists, and other contributors, so they can verify and publish compatibility with the CIQ lineup.
