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
Digital Autonomy
• The Answer Was Already on the Shelf
• Changing the Chip Industry: How Public Investment Has Grown Open Silicon
• United Nations Open Source Portal Goes Live
• EU Open Source Strategy Plays Key Role in Tech Sovereignty Package
• France Says “Au Revoir” to Microsoft
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
-
The Bullet-Proof KDE Software Initiative Is Coming
KDE, Techpaladin, and Kubuntu Focus have announced a new initiative that will provide at least three years of support for KDE Plasma 6.6 LTS and related software.
-
Linux Mint Shares a Possible Kernel Cleanup Solution
For those on Linux Mint who like to keep multiple kernels around but don't want them to take up too much space, you might be getting a new automated tool.
-
CachyOS Gets an Update
CachyOS August 2026 release is now available with the latest version of KDE, some new features, and plenty of improvements.
-
The Linux Kernel Dev Staging Area Now Rejects AI-Generated Patches
Unless a kernel patch is a valid security fix, it will be rejected if it was created using AI.
-
Linux Surpasses Double-Digit Market Share
According to two sources, the Linux operating system has hit a major milestone in market share that naysayers thought would never happen.
-
AI Helped Develop a Linux Exploit
A use-after-free race exploit was discovered and exploited on CentOS Stream 9.
-
Yet Another Linux Kernel Vulnerability Discovered
Affecting millions of systems, a kernel flaw discovered by Qualys could allow users to gain root privileges.
-
Ubuntu 26.10 to Include Ubuntu Certified Hardware Check
If you've ever wondered if your laptop or PC is officially certified to run Ubuntu, that curiosity will soon be met.
-
Substantial Update to IPFire Now Available
The lastest version of IPFire features a fundamental change to how the system handles DNS.
-
Gnome Working on Test Center App to Make Testing Easier
It's now possible to test experimental features on the Gnome desktop without worrying that you'll break things.
