CVE-2026-139281 [1] is specific to ipv6. If it's an option it can be mitigated by disabling ipv6 on the server / dropping all ipv6 traffic on the firewall.
Although you won't lack for people who insist otherwise, the human brain is also just compute substrate and so all the same exciting problems arise but worse and with no plausible patch strategy. So that's nice.
And looks like static type-checkers missed it because there's so much implicit unchecked type conversion in the kernel that that check is disabled due to the amount of noise.
The reason implicit conversion warnings are not enabled a legacy codebase is that nobody has the time to fix the 10,000 that appear when you turn them on. Even if you enable the flag on a per-file basis and take them in batches, each warning requires individual reasoning to understand whether the conversion is safe and/or intentional.
But nowadays I would trust an LLM to do this kind of migration with sufficient adversarial testing and randomly-sampled human review. You could sic a brand new Fable agent on each warning if you had the tokens.
> Even if you enable the flag on a per-file basis and take them in batches, each warning requires individual reasoning to understand whether the conversion is safe and/or intentional.
Even if it takes time it's the right direction. FreeBSD has WARNS level set per directory which is increased after code in this directory cleaned up / modernized. I like this approach.
Here we go! Brace for the onslaught of network non-specialists explaining why IPv6 isn't better than IPv4 in almost every way.
BTW, it's not like IPv4 hasn't had recent issues[0]. I bring that up because almost no one's gleefully explaining that just turning off IPv4 is a plausible "fix".
The non-strawman version of that criticism isn't that it "isn't better", it's that it's different. Carrying two essentially identical network stacks in your kernel is, by definition, a bigger attack/bug surface than just using the one you can't drop. I really don't think that's particularly controversial.
No, I constantly hear IPv6 criticisms (by people who aren't network admins) explaining that IPv4 is "better" because reasons. They sound to my ears like someone insisting that FAT is better than ext4 because it's simpler, and they've taught themselves to see 8.3 filenames as inherently superior, and enjoy making fun of ext4 users and the complicated, fragile bloat of its implementation.
If we had IPv6 first and someone proposed IPv4, they'd be laughed out of the room. That we have to have 2 stacks is a bummer, even if completely transparent in practice for most people, but there's no way IPv4 could've been gracefully transitioned to IPv6's features over time.
> there's no way IPv4 could've been gracefully transitioned to IPv6's features over time.
Are you kidding me? IPv6 designers focused on high-volume backbone providers and kernel implementers, and did not care about regular sysadmins at all. The worst part, it wasn't even hard to fix those, it was just "har har if your network is not big enough that you need CGNAT we don't care about you". Most obvious examples:
- Significantly changing IP address format, and especially using ":" in address -> broke _every_ URL parser out there. Even if you are a Perl FastCGI app which by all rights should not care about protocol, IPv6 still made you care.
- _Forcing_ dual protocol - yes, "IPv4-mapped IPv6 addresses" is a optional thing, but no one recommends it, and BSD disables it out outright. Result: every server which wants IPv6 support must now implement multiple listener sockets, instead of simple AF_INET -> AF_INET6 change + recompile
- The whole "temporary IPv6 privacy addresses" is such a mess. First, the big networking guys who did not care about privacy of their internal switches invent this genius idea of "let's put permanent identifier in the routeable IP address that every network participant has to see", then when people start to complain about privacy they invent rotating addresses _entirely from the client side_, breaking the decades old principle of "I can attribute every IP address to a specific device".
Result: web servers, kernels, programming languages, routers, etc... had IPv6 support for 20+ years. Actual systems are just barely getting to IPv6 now.
Sad part, all the technology existed. It was just so-called "best practices" which made adoption so slow.
If those IPv6 committee people would actually think about regular sysadmins, we'd be at IPv6 years ago.
Eh. Maybe something else would've been slightly nicer, but what exactly? Slashes are out. Commas are weird. % has a special meaning in URLs. Dollar separator? Plus signs? Pipes? There's not a great answer. It was an excellent choice to move to hex, but you really don't want to have to guess whether $i.$j.$j.$k has those values in hex or decimal ("is that 100.100.100.100 as in one hundred or as in 256?"), so periods would've been painful.
> "IPv4-mapped IPv6 addresses" is a optional thing, but no one recommends it, and BSD disables it out outright.
It's a giant security risk, and no IPv4 host knows how to respond to it anyway.
> The whole "temporary IPv6 privacy addresses" is such a mess.
Was such a mess, until they became the basically universal default.
> they invent rotating addresses _entirely from the client side_
How else would you've done it? Require DHCPv6? Ew. SLAAC is so much nicer.
> breaking the decades old principle of "I can attribute every IP address to a specific device".
Either you get private addresses, or you don't. If you have private IPs, then that can't hold. You have to pick. But every host still has an additional static IP that it can be reached at: it just doesn't use that address for outgoing traffic.
> If those IPv6 committee people would actually think about regular sysadmins, we'd be at IPv6 years ago.
They thought a lot about us and built something truly pleasant to use. It's simpler in just about every way and works great. The broad adoption of NAT (i.e. that thing that really broke the "every IP address == a specific device" ideal) put it off for a long time, but now that we've overwhelmed NAT and had to start replacing it with CGNAT, aka Can't Get Near Any Traffic, even the ISPs have finally seen the writing on the wall.
> Maybe something else would've been slightly nicer, but what exactly?
My personal preference would be dots + ".v6" suffix, "fe80.x.1.ipv6". Simple to parse, 100% backwards compat (apps which don't know how to handle this treat it as a hostname).
If not, there are also underscores (which are incidentally prohibited in DNS) and dashes which have no conflicts. Also commas, parenthesis, carets - yes those are weird, but they'd still be better than the mess that was chosen instead.
"this is impure" you say? Then enjoy not having your system deployed for 20+ years.
> [IPv4-mapped IPv6 addresses is] a giant security risk, and no IPv4 host knows how to respond to it anyway.
You are thinking about the wire-side, I am talking about app-side. App creates a single, AF_INET6 socket, and only uses ipv6 structs with it. If it uses it to talk to ::ffff: address, the IPv4 packets go out, else it's IPv6! This exists already, and could have simplified so many porting efforts. Imagine your whole userland already using IPv6 sockets, despite packets on the wire being IPv4 only.
Except this was always discouraged, and OpenBSD outright disabled this functionality. So no one popular app could take advantage of that.
> How else would you've done it? Require DHCPv6? Ew. SLAAC is so much nicer.
That argument would have been much stronger if the initial design did not require DHCPv6. RDNSS only got added decades later.
> They thought a lot about us and built something truly pleasant to use. It's simpler in just about every way and works great.
I am not sure what your background is, but they built "something truly pleasant to use" only if you are either super basic (user) or manage huge networks (1000's of machines). For application developers and small-to-medium sized network administrators, things got simply worse.
(Preemptive answer to "but with no NAT, I, an application developer, can now do P2P and hosts things easily!" No, you can't, enough routers still have "default deny" policy that you can't just give out address and hope people could reach you.)
A recent example: upstream address changes, something that's pretty common in small-to-medium sites (who doesn't have a spare cell modem or two so that if your cable goes down you can seamlessly switch to a working network with a single cable replug?). Are you saying that things like IPv6 Delegation [0] is "simpler in every way" than equivalent IPv4 setup (changing IP on NAT box)? And note that his iPhone is still taking few minutes to pick up new address, and there is nothing protocol-level that can fix it. Maybe in another ten years IPv6 folks will come up with something.
> My personal preference would be dots + ".v6" suffix, "fe80.x.1.ipv6". Simple to parse, 100% backwards compat (apps which don't know how to handle this treat it as a hostname).
That's not awful, I'll grant, but I'm not in love with forcing that extra info into an IP address. I'd hate to have to `ping 127.0.0.1.ipv4`, for instance.
> This exists already, and could have simplified so many porting efforts.
It's a mixed bag. Itojun raised some serious concerns[0] about the idea. Those could be fixed, but could also become an endless stream of security vulnerabilities were extra-complex kernel and library codepaths get knocked down one at a time.
> That argument would have been much stronger if the initial design did not require DHCPv6.
SLAAC came out in '95. DHCPv6 was standardized in '03. Now I'll grant you that DNS was a PITA until RDNSS came along. We completely agree on that.
My background's more in the tens to many hundreds of machines, neither home lab nor hyperscalar. I still think it's quite pleasant, and the bonus of never having to jump through hoops to connect RFC-1918 networks is lovely.
> you can't just give out address and hope people could reach you.
Yeah, you'll always have to configure a firewall, but that's way simpler when you don't also have to involve NAT. Quick example: you want to run 2 webservers behind the same on-premise router. With IPv6, you just open those ports. With IPv4, first decide which one's going to run on a non-standard port, or build a public-facing reverse proxy you can put them both behind or...
> Are you saying that things like IPv6 Delegation [0] is "simpler in every way" than equivalent IPv4 setup (changing IP on NAT box)?
No. I'm saying that configuring ULA is simpler. Use ULA for internal addressing and it stays put, no matter what happens to your publicly routable subnet.
Response: Since the URLs associated with these photos can't be guessed, the fact that there are no access controls is not a security issue.
It becomes a security issue if you leak the URLs somewhere, but that would be a completely different report.
If you have a problem with securing things behind UUIDs, wait until you see what people use passwords for.
(Something that I don't quite get about IPv6 is that it's still assigned hierarchically, so much less of an address is up for grabs than the raw brute length of the address might suggest. But discussions always assume that you benefit from the length as if the whole thing were randomly chosen.)
They are probably focused on ensuring your services are accessible to ipv6 users, on mobile connections or in regions that were severely under-allocated ipv4 space.
Couple of years were more like 8 in my country back then. And when DSL went up sorta, it was flaky as fuck. There was no cable. So you either paid out of yer bleeding eyes for isdn, or left with that 28.8 modem which might work at 14.4 most of the time. (or good luck remote-debugging that DSLAM via clueless tier2 support)
Which is why by mid 2010s symmetric fiber-to-the-apartment block and then 100Base-T to the flats was the dominant tech, and still is in eastern europe. By the end of 2010s people experimented with fiber-to-the-flat, but utp5 won on maintainability and price. GPON only made inroads in rural.
CVE-2026-139281 [1] is specific to ipv6. If it's an option it can be mitigated by disabling ipv6 on the server / dropping all ipv6 traffic on the firewall.
[1] https://www.cve.org/CVERecord?id=CVE-2026-139281
... or you can disable IPv6 just for services behind the firewall (LAN), where IPv6 doesn't make much sense anyway.
This is good because I just disabled ipv4 because of CVE-2026-98432... I think this means no more RCEs, right?
To be even safer, rip out and solder over the usb ports too.
Superglue works fine.
Over my career I've found removing electricity from computers makes them operate consistently.
Increasingly I'm feeling less like this is a joke and more like a viable strategy.
Although you won't lack for people who insist otherwise, the human brain is also just compute substrate and so all the same exciting problems arise but worse and with no plausible patch strategy. So that's nice.
Even the turning them off and back on again strategy has inconsistent results with humans. Sad!
Yes!! All these years, I've been completely and totally and utterly right to keep ipv6 disabled. I win. I win, I win, I win!
Such joy, such immense joy flows through my mighty veins right now. I. was. right.
Take that you ipv6 advocates!
I loled irl :'D
Editorialized title omits ipv6.
The actual article title is fine and should have been used.
"Critical 21-year-old Linux flaw lets hackers bypass IPv6 firewall rules"
As indicated at the bottom of the article - they changed the title today after I posted.
Ubuntu should have the fix ready in March.
March in which year though?
2028 LTS
Per the patch https://lists.openwall.net/netdev/2026/08/22/172:
> [function] returns the offset of the [...] field [...] through an int pointer, but stores the offset in a u8 local.
How is this kind of basic bug still present in the kernel?
It was written and reviewed by humans.
And looks like static type-checkers missed it because there's so much implicit unchecked type conversion in the kernel that that check is disabled due to the amount of noise.
> that that check is disabled due to the amount of noise
Ouch, I'm surprised that that hasn't been revisited in the past.
I worked on a project once where all warnings were disabled (it was 1990s era C++) and I was very suspicious as to why I had such clean build output.
The reason implicit conversion warnings are not enabled a legacy codebase is that nobody has the time to fix the 10,000 that appear when you turn them on. Even if you enable the flag on a per-file basis and take them in batches, each warning requires individual reasoning to understand whether the conversion is safe and/or intentional.
But nowadays I would trust an LLM to do this kind of migration with sufficient adversarial testing and randomly-sampled human review. You could sic a brand new Fable agent on each warning if you had the tokens.
> Even if you enable the flag on a per-file basis and take them in batches, each warning requires individual reasoning to understand whether the conversion is safe and/or intentional.
Even if it takes time it's the right direction. FreeBSD has WARNS level set per directory which is increased after code in this directory cleaned up / modernized. I like this approach.
Will this motivate the adoption of Wuffs (Wrangling Untrusted File Formats Safely) in kernel code that parses external data?
Wow, Docker is 21 years old already?
Here we go! Brace for the onslaught of network non-specialists explaining why IPv6 isn't better than IPv4 in almost every way.
BTW, it's not like IPv4 hasn't had recent issues[0]. I bring that up because almost no one's gleefully explaining that just turning off IPv4 is a plausible "fix".
[0] https://aws.amazon.com/security/security-bulletins/2026-160-...
The non-strawman version of that criticism isn't that it "isn't better", it's that it's different. Carrying two essentially identical network stacks in your kernel is, by definition, a bigger attack/bug surface than just using the one you can't drop. I really don't think that's particularly controversial.
No, I constantly hear IPv6 criticisms (by people who aren't network admins) explaining that IPv4 is "better" because reasons. They sound to my ears like someone insisting that FAT is better than ext4 because it's simpler, and they've taught themselves to see 8.3 filenames as inherently superior, and enjoy making fun of ext4 users and the complicated, fragile bloat of its implementation.
If we had IPv6 first and someone proposed IPv4, they'd be laughed out of the room. That we have to have 2 stacks is a bummer, even if completely transparent in practice for most people, but there's no way IPv4 could've been gracefully transitioned to IPv6's features over time.
> there's no way IPv4 could've been gracefully transitioned to IPv6's features over time.
Are you kidding me? IPv6 designers focused on high-volume backbone providers and kernel implementers, and did not care about regular sysadmins at all. The worst part, it wasn't even hard to fix those, it was just "har har if your network is not big enough that you need CGNAT we don't care about you". Most obvious examples:
- Significantly changing IP address format, and especially using ":" in address -> broke _every_ URL parser out there. Even if you are a Perl FastCGI app which by all rights should not care about protocol, IPv6 still made you care.
- _Forcing_ dual protocol - yes, "IPv4-mapped IPv6 addresses" is a optional thing, but no one recommends it, and BSD disables it out outright. Result: every server which wants IPv6 support must now implement multiple listener sockets, instead of simple AF_INET -> AF_INET6 change + recompile
- The whole "temporary IPv6 privacy addresses" is such a mess. First, the big networking guys who did not care about privacy of their internal switches invent this genius idea of "let's put permanent identifier in the routeable IP address that every network participant has to see", then when people start to complain about privacy they invent rotating addresses _entirely from the client side_, breaking the decades old principle of "I can attribute every IP address to a specific device".
Result: web servers, kernels, programming languages, routers, etc... had IPv6 support for 20+ years. Actual systems are just barely getting to IPv6 now.
Sad part, all the technology existed. It was just so-called "best practices" which made adoption so slow.
If those IPv6 committee people would actually think about regular sysadmins, we'd be at IPv6 years ago.
> Are you kidding me?
No.
> Are you kidding me?
Eh. Maybe something else would've been slightly nicer, but what exactly? Slashes are out. Commas are weird. % has a special meaning in URLs. Dollar separator? Plus signs? Pipes? There's not a great answer. It was an excellent choice to move to hex, but you really don't want to have to guess whether $i.$j.$j.$k has those values in hex or decimal ("is that 100.100.100.100 as in one hundred or as in 256?"), so periods would've been painful.
> "IPv4-mapped IPv6 addresses" is a optional thing, but no one recommends it, and BSD disables it out outright.
It's a giant security risk, and no IPv4 host knows how to respond to it anyway.
> The whole "temporary IPv6 privacy addresses" is such a mess.
Was such a mess, until they became the basically universal default.
> they invent rotating addresses _entirely from the client side_
How else would you've done it? Require DHCPv6? Ew. SLAAC is so much nicer.
> breaking the decades old principle of "I can attribute every IP address to a specific device".
Either you get private addresses, or you don't. If you have private IPs, then that can't hold. You have to pick. But every host still has an additional static IP that it can be reached at: it just doesn't use that address for outgoing traffic.
> If those IPv6 committee people would actually think about regular sysadmins, we'd be at IPv6 years ago.
They thought a lot about us and built something truly pleasant to use. It's simpler in just about every way and works great. The broad adoption of NAT (i.e. that thing that really broke the "every IP address == a specific device" ideal) put it off for a long time, but now that we've overwhelmed NAT and had to start replacing it with CGNAT, aka Can't Get Near Any Traffic, even the ISPs have finally seen the writing on the wall.
> Maybe something else would've been slightly nicer, but what exactly?
My personal preference would be dots + ".v6" suffix, "fe80.x.1.ipv6". Simple to parse, 100% backwards compat (apps which don't know how to handle this treat it as a hostname).
If not, there are also underscores (which are incidentally prohibited in DNS) and dashes which have no conflicts. Also commas, parenthesis, carets - yes those are weird, but they'd still be better than the mess that was chosen instead.
"this is impure" you say? Then enjoy not having your system deployed for 20+ years.
> [IPv4-mapped IPv6 addresses is] a giant security risk, and no IPv4 host knows how to respond to it anyway.
You are thinking about the wire-side, I am talking about app-side. App creates a single, AF_INET6 socket, and only uses ipv6 structs with it. If it uses it to talk to ::ffff: address, the IPv4 packets go out, else it's IPv6! This exists already, and could have simplified so many porting efforts. Imagine your whole userland already using IPv6 sockets, despite packets on the wire being IPv4 only.
Except this was always discouraged, and OpenBSD outright disabled this functionality. So no one popular app could take advantage of that.
> How else would you've done it? Require DHCPv6? Ew. SLAAC is so much nicer.
That argument would have been much stronger if the initial design did not require DHCPv6. RDNSS only got added decades later.
> They thought a lot about us and built something truly pleasant to use. It's simpler in just about every way and works great.
I am not sure what your background is, but they built "something truly pleasant to use" only if you are either super basic (user) or manage huge networks (1000's of machines). For application developers and small-to-medium sized network administrators, things got simply worse.
(Preemptive answer to "but with no NAT, I, an application developer, can now do P2P and hosts things easily!" No, you can't, enough routers still have "default deny" policy that you can't just give out address and hope people could reach you.)
A recent example: upstream address changes, something that's pretty common in small-to-medium sites (who doesn't have a spare cell modem or two so that if your cable goes down you can seamlessly switch to a working network with a single cable replug?). Are you saying that things like IPv6 Delegation [0] is "simpler in every way" than equivalent IPv4 setup (changing IP on NAT box)? And note that his iPhone is still taking few minutes to pick up new address, and there is nothing protocol-level that can fix it. Maybe in another ten years IPv6 folks will come up with something.
[0] https://news.ycombinator.com/item?id=50509141
> My personal preference would be dots + ".v6" suffix, "fe80.x.1.ipv6". Simple to parse, 100% backwards compat (apps which don't know how to handle this treat it as a hostname).
That's not awful, I'll grant, but I'm not in love with forcing that extra info into an IP address. I'd hate to have to `ping 127.0.0.1.ipv4`, for instance.
> This exists already, and could have simplified so many porting efforts.
It's a mixed bag. Itojun raised some serious concerns[0] about the idea. Those could be fixed, but could also become an endless stream of security vulnerabilities were extra-complex kernel and library codepaths get knocked down one at a time.
> That argument would have been much stronger if the initial design did not require DHCPv6.
SLAAC came out in '95. DHCPv6 was standardized in '03. Now I'll grant you that DNS was a PITA until RDNSS came along. We completely agree on that.
My background's more in the tens to many hundreds of machines, neither home lab nor hyperscalar. I still think it's quite pleasant, and the bonus of never having to jump through hoops to connect RFC-1918 networks is lovely.
> you can't just give out address and hope people could reach you.
Yeah, you'll always have to configure a firewall, but that's way simpler when you don't also have to involve NAT. Quick example: you want to run 2 webservers behind the same on-premise router. With IPv6, you just open those ports. With IPv4, first decide which one's going to run on a non-standard port, or build a public-facing reverse proxy you can put them both behind or...
> Are you saying that things like IPv6 Delegation [0] is "simpler in every way" than equivalent IPv4 setup (changing IP on NAT box)?
No. I'm saying that configuring ULA is simpler. Use ULA for internal addressing and it stays put, no matter what happens to your publicly routable subnet.
[0] https://datatracker.ietf.org/doc/draft-itojun-v6ops-v4mapped...
This is why I exclusively use IPv8. One another node joins the network it's going to be the best.
Unfortunately I had to switch to IPv16 because IPv8 only allowed 256 quadrillion private IPs.
Now you can assign an IP address to every atom in the galaxy!
Listen, do you want to simulate a whole universe inside of our universe or not?
I really appreciate IPv8 and its totally-not-batshit proposal to use JWT auth at the IP layer.
Futher down on HN: No NAT November 2: Year of the IPv6-only network
https://news.ycombinator.com/item?id=50753770
> causing an internal byte offset calculation to overflow and truncate
Another feather in the hat for the formal verification and memory safety guarantee folks.
I'm reading the description and all i've got is the quote from Spaceballs:
Dark Helmet: Before you die, there is something you should know about us, Lone Starr.
Lone Starr: What?
Dark Helmet: I am your father's brother's nephew's cousin's former roommate.
Lone Starr: What's that make us?
Dark Helmet: Absolutely nothing! Which is what you are about to become. Prepare to die!
(They ignite their Schwartz rings)
ELI5: are we doomed yet again? or what? getting confused here
Now I feel justified in always using ipv6.disable=1, never had a single problem by forgetting it exists.
The IPv4 rent seeking cartel is thankful for your public message :)
Having switched most ssh services to IPv6 I'm more appreciative of the quiet auth attempt logs.
Shhh, let them cling to their 32bits, that's how I get great discounts on hosting!
It's kind of amusing that using IPv6 is a form of security via obscurity.
That's one of the most common report/response pairs you can find on a bug bounty platform.
Report: anyone can see the photo at https://www.example.com/photos/b8b56ad5-5006-4ef1-9463-c66c4...
Response: Since the URLs associated with these photos can't be guessed, the fact that there are no access controls is not a security issue.
It becomes a security issue if you leak the URLs somewhere, but that would be a completely different report.
If you have a problem with securing things behind UUIDs, wait until you see what people use passwords for.
(Something that I don't quite get about IPv6 is that it's still assigned hierarchically, so much less of an address is up for grabs than the raw brute length of the address might suggest. But discussions always assume that you benefit from the length as if the whole thing were randomly chosen.)
Hope you also had ipv4 disabled to mitigate against CVE-2026-98432.
This is why I keep both IPv4 and IPv6 disabled at all times.
Yet another win for IPX/SPX
I bet everything on NetBEUI /s
Because it's not even routable!
At my company there is a team dedicated to ipv6 adoption for years and I have to imagine that being the most soul sucking job possible.
They are probably focused on ensuring your services are accessible to ipv6 users, on mobile connections or in regions that were severely under-allocated ipv4 space.
I worked with a guy that was doing that ... 25 years ago!
ah the 6bone.
I assume that kind of works like a monastery. You take a vow of IPv6, never to use the 32 bit addressing scheme again?
Almost like a scary devil monastery.
It's the new ISDN (I Still Don't Need it).
Except ISDN really was the shiznit for a couple of years before cable modems became widely available.
shotgun 56k modems got you so close to broadband but not many dialup ISPs supported it
Couple of years were more like 8 in my country back then. And when DSL went up sorta, it was flaky as fuck. There was no cable. So you either paid out of yer bleeding eyes for isdn, or left with that 28.8 modem which might work at 14.4 most of the time. (or good luck remote-debugging that DSLAM via clueless tier2 support)
Which is why by mid 2010s symmetric fiber-to-the-apartment block and then 100Base-T to the flats was the dominant tech, and still is in eastern europe. By the end of 2010s people experimented with fiber-to-the-flat, but utp5 won on maintainability and price. GPON only made inroads in rural.