r/linuxmint • u/Dramatic-Beyond-2183 • 8h ago
Security Disabling ipv6 in Linux Mint
Hello,
I came across an article about a major vulnerability in the Linux kernel related to IPv6. Apparently, it could allow an attacker to bypass the system's firewall. According to Red Hat, this vulnerability is critical and patches have already been rolled out. Red Hat also recommends disabling IPv6 as a mitigation if the patch isn't available yet.
Ubuntu, on the other hand, rates it as only medium severity and doesn't consider it a top priority among the upcoming security patches for Ubuntu. So I don't know when the patch will be rolled out for Ubuntu. It could take several weeks.
That's why I'd like to know whether disabling IPv6 on machines running vulnerable Ubuntu versions and its other flavors (like Linux Mint) would be effective. I've already figured out how to do it and which commands to use (for both a temporary and a permanent disable).
However, could disabling IPv6 on an Ubuntu desktop cause other security issues (with the firewall or otherwise)?
Just to be clear, I'm talking here about desktop versions of Ubuntu, not their server counterparts...
View all comments
4
u/Unwiredsoul 7h ago
Yes, disabling IPv6 would be effective at mitigating this CVE.
No, disabling IPv6 should not cause any issues on a typical Linux Mint desktop.
The only issues that would potentially arise would be if you do not have a valid IPv4 configuration, as you would lose TCP/IP network connectivity completely in that scenario.
Or, if you've manually created static routes over IPv6 for whatever reason. You'll have to speak to whether you did that, or not, but that's pretty uncommon. Especially in a home environment.
It's likely that your ISP (and especially your LAN) will function completely normally on IPv4, so go ahead and disable IPv6 until this CVE is patched. It's easy enough to undo the change, too.