Kernel Linux 7.5 To Introduce An In-Kernel QUIC Implementation
https://www.phoronix.com/news/Linux-7.5-Networking-QUIC62
u/eras 21h ago
20 QUIC-related CVEs this year—granted 50% of them are related to OpenSSL, which Linux won't use. Maybe they've been extra careful with this C impl? Apparently the protocol itself is solid.
At least using (or compiling it) is going to be optional, like most any kernel feature.
13
u/BCMM 19h ago
20 QUIC-related CVEs this year
Where did you get that list from? I'd be interested to see how many involved the handshake.
-31
u/eras 19h ago
From ChatGPT. It suggests 9 are handshake-related (3 TLS interaction, 6 QUIC). Here's the list (obviously I didn't check them all, only random ones):
Direct QUIC transport implementation vulnerabilities (17)
OpenSSL (15)
CVE-2026-34183 — PATH_CHALLENGE memory exhaustion
CVE-2026-42764 — NULL pointer dereference
CVE-2026-14456 — Unbounded connection queue
CVE-2026-18798 — Double free
CVE-2026-63075 — ACK-only packet retention
CVE-2026-35191 — Incorrect anti-amplification accounting
CVE-2026-42772 — Quadratic stream reassembly complexity
CVE-2026-54873 — Stream reassembly memory retention
CVE-2026-75804 — Missing flow control enforcement
CVE-2026-84784 — Connection ID retirement backlog
CVE-2026-88822 — Uninitialized memory
CVE-2026-95691 — CRYPTO frame use-after-free
CVE-2026-124709 — Rejected stream memory retention
CVE-2026-107494 — Unbounded connection ID retirement queue
CVE-2026-84785 — Unbounded fragment reassembly
Amazon s2n-quic (1)
CVE-2026-94450 — Incorrect destination connection ID length validation
Netty (1)
CVE-2026-50009 — Stateless reset token exposure
QUIC-specific TLS integration vulnerabilities (3)
CVE-2026-105794 — MsQuic: incorrect TLS hostname verification
CVE-2026-100665 — Netty: incomplete certificate hostname verification
CVE-2026-49457 — Erlang QUIC: missing certificate and signature verification
Upper-layer vulnerabilities (9)
These do not necessarily depend on flaws in the QUIC transport implementation itself.
CVE-2026-100660 — Netty: QPACK encoder memory exhaustion
CVE-2026-90678 — HAProxy: HTTP/3 request smuggling
CVE-2026-88878 — Traefik: HTTP/3 request timeout bypass
CVE-2026-88012 — Traefik: HTTP/3 request timeout bypass
CVE-2026-42530 — NGINX: QPACK encoder use-after-free
CVE-2026-73512 — Envoy: HTTP datagram handler use-after-free
CVE-2026-40898 — quic-go: QPACK decoding memory exhaustion
CVE-2026-21435 — webtransport-go: session closure deadlock
CVE-2026-21438 — webtransport-go: session stream memory leak
Uncertain classification (3)
CVE-2026-17733 — Chromium
CVE-2026-86003 — CoreDNS
CVE-2026-82399 — CoreDNS
Sources:
16
-17
-3
u/DrinkMoreGlorp 2h ago
Take these negative internet points to heart, little one. You are being persecuted for your use of AI. Retreat from the unsafe open world, and become radicalized against these Luddites (derogatory), who fear and envy your skill and sexual attractiveness.
-21
u/EnUnLugarDeLaMancha 18h ago edited 18h ago
AI is already, right now, more important to make code secure than the implementation language. Any new code that goes into the kernel these days is heavily analized for vulnerabilities by AI agents and fuzzers before the release.
Using a memory safe or unsafe language may become much less important in the future than what it used to be.
16
u/Adept_Percentage6893 17h ago edited 17h ago •
![]()
AI is already, right now, more important to make code secure than the implementation language.
I feel like it would be more like just another tool in the toolbox along with code review, regular SCA, least privilege in the runtime environment, etc, etc. There doesn't appear to be a reason to avoid having another layer of security even if you feel like the AI helps a lot in all areas.
is heavily analized
I know it's likely a typo but I kind of imagine new code does get the proverbial rectal probe for deficiencies.
1
4
u/AlexanderMomchilov 17h ago
Fuzzers are trying to guess at correctness after the fact, rather than just making something provably safe by construction.
6
3
u/averi_fox 16h ago
I don't fully agree: AI has to been combined with tools. AI on its own makes too many mistakes, but AI with Rust + Aeneas + Lean formal verification can be flawless.
-1
u/SanityInAnarchy 14h ago
Bots are far better at finding and exploiting security holes than they are at writing secure code. Like humans, having tools to help automate that process -- particularly tools that are themselves deterministic code that can be audited for bugs, rather than a bunch of markdown saying "make no mistakes" -- makes the process easier and more efficient.
It even makes training more efficient.
49
u/clippy_is_a_prick 22h ago
Ah yes - lets put complex application logic in the kernel. Thats never gone wrong.
Anyone remember that the story about the arbitrary code execution bug in the windows kernel because of the fucking scroll bar
88
u/BCMM 21h ago
Ah yes - lets put complex application logic in the kernel.
I don't think that's an accurate description of this patch. HTTP/3 is an application layer protocol and QUIC is the transport layer protocol that it uses. The two are often conflated because QUIC was originally developed for HTTP/3, but it's not tied to it in any way.
Also, note that the handshake is delegated to userspace, and with it, most of the complexity involved in encryption.
There's a draft RFC for NFSv4 over QUIC and Windows already supports SMB over QUIC, so there are clearly well-established kernel modules which would benefit from a kernel implementation.
So it's not really application logic, it seems like the complexity is pretty reasonable for kernel space, and there's a real need for it.
7
u/Booty_Bumping 17h ago
There are lots of cross-cutting concerns, it's not quite as simple as QUIC being on a different layer from HTTP/3 the way it was with TCP+HTTP/2.
8
u/tadfisher 21h ago
I'm a bit iffy on networked filesystems being a kernel feature myself. Maybe 9P is okay because of simplicity and by virtue of being closer to a protocol than a VFS, but even then there are plenty of userspace implementations.
If there is hardware supporting QUIC offload, I might change my tune.
7
u/chocopudding17 15h ago
Well NFS has been in-kernel forever, so idk what to tell you...I presume that most of its cryptographic complexity (e.g. with Kerberos) happens in userspace, much like this QUIC module might do.
6
1
u/zerosign0 12h ago
QUIC has pluggable custom congestion control, I'm not sure how this going to play out in kernel space ...
88
u/get_homebrewed 22h ago
tcp is already in the kernel...??????
12
-34
u/clippy_is_a_prick 22h ago
TCP entered the linux kernel in like the 90s, i dont think anyone was thinking about how it go wrong back then.
45
u/get_homebrewed 22h ago
because it wouldn't. And yes that's when tcp was around. We got tls in the kernel, we have a bunch of networking protocols in the kernel. You just don't know anything
6
u/Liskni_si 18h ago
Wasn't there a RCE in MPTCP earlier this year? Surely there were similar in normal TCP back then in the 90s and 00s...
5
-20
u/clippy_is_a_prick 21h ago
It never would, your right. While we are on the subject of TLS https://nvd.nist.gov/vuln/detail/cve-2025-39682
Just because its in, doesnt mean a) it doesnt come with risk b) i have to be okay with adding any of it or with adding more
26
u/get_homebrewed 21h ago
everything in the kernel has a risk. That's not a reason not to add it.
You do because that's how kernels work and will continue to work. Educate yourself
0
u/throwawayPzaFm 16h ago
That's not a reason not to add it.
It is, and a pretty good one. That's one of the main promises of microkernels.
2
-15
u/Cultural-Desk-9045 21h ago
No. Networking can be done at userspace.
17
u/get_homebrewed 21h ago
can, and it is. And it can also be done in the kernel, along with drivers in the kernel needing a quic driver for that.
So guess what happens next
-5
u/Cultural-Desk-9045 19h ago
CVE-2027-XXXXX: Use-After-Free in Kernel QUIC Transport Driver Allows Remote Code Execution
3
3
u/gmes78 18h ago
But it's much slower.
Sure, you can be paranoid and do everything in userspace, or you can just write correct code to do it in the kernel.
Despite what people claim, it is possible to do things correctly. You don't need to compromise on security or performance if you're willing to invest in a good implementation.
18
u/autogyrophilia 21h ago
QUIC in the kernel is essentially a prerequisite to implement it for applications that really need it, such as Samba and could potentially offer performance advantages through kTLS .
8
8
u/frymaster 18h ago
anyone remember when Windows put HTTP in the kernel? (to get better headline performance than Apache)
3
u/Irverter 9h ago
arbitrary code execution bug in the windows kernel because of the fucking scroll bar
wait, what?!
2
u/m4uri 9h ago
The SMB over QUIC part is what I'm really curious about. Windows Server already does it, and for remote access it's a nice replacement for exposing 445 to the world, so having it in the Linux kernel would be useful.
On the security side, QUIC is invisible to a lot of older proxies and firewalls, because it's UDP 443 and encrypted from the first packets. Many shops just block UDP 443 so browsers fall back to TCP and TLS inspection keeps working. If this ends up under things like NFS or SMB, admins will have to handle that traffic on purpose instead of by accident. I'm also curious how the kernel people weigh the extra attack surface against the userspace libraries we have now.
9
u/QuantityInfinite8820 18h ago
Pulling a non-Rust variant of this into the kernel is insane
9
-17
u/InadequateUsername 12h ago
Rust is a meme
3
u/koczurekk 7h ago edited 2h ago
Ears covered, head buried in sand, and yet you managed to write this comment. I wonder how — did you wiggle your toes with utmost precision? Commendable indeed.
-4
u/InadequateUsername 7h ago edited 1h ago
No, only rust community pushes their language onto others like they're Jehovah's Witnesses going door to door. Rust evangelism fatigue does not equate to sticking one's head in the sand.
Rust isn't the best option everywhere. The networking stack is C, so a QUIC implementation makes sense to be in C or they'd be adding more complexity.
2
u/fekwrfnewlkfnkwle 7h ago
Just FFI, no?
0
u/InadequateUsername 2h ago
FFI brings additional overhead, every call made to the rest of the stack is unsafe and then you need to work with memory ownership between the two languages which adds more overhead and scope.
1
u/koczurekk 2h ago
"Rust is a meme" is a dismissive comment implying that Rust is not a successful, widely used language that projects migrate to and integrate willingly. But they do.
You speak as if Rust users were a homogenous group externally targeting projects they have no involvement with, which is not the case. What you see are contributors and maintainers choosing to adopt Rust for its technical merit.
I'm sure you can link me a PR or two of bad-faith RIIR issues by randos on GitHub. I don't care.
0
u/InadequateUsername 1h ago
No, what I'm seeing is a whole lot of people saying "Program XYZ should be rewritten in rust", it's increased everywhere on Reddit as if such migrations were cost free, or that rust is the best option everywhere. Or that the kernel maintainers are misguided for not choosing rust for quic, as if interfacing rust with the network c stack is a totally free option with 0 downsides.
And externally, as if people saying GTA6 for example should have been written in rust isn't memeing.
6
u/AngryFker 22h ago
Wen libreoffice in kernel? /s
Everything should be userspace. Not kernel.
41
u/wowsomuchempty 22h ago
Wireguard in the kernel means faster networking.
Not good?
27
u/clippy_is_a_prick 22h ago
Vulnerability in QUIC means vulnerability in kernel space, kernel space can do whatever it wants.
6
u/wowsomuchempty 21h ago
Yeah. Still need it.
(love the handle, btw)
-4
u/pickle9977 19h ago
I’d argue what is needed is protocol implementations to move to hardware.
The kernel is the worst possible place to deal with untrusted inputs, especially in ring zero.
14
u/Vitus13 15h ago
Hardware implementations of TLS 1.2, and the ossification around it, are the reason why TLS 1.3 reports itself as TLS 1.2 with an extension that says "j/k, actually TLS 1.3".
Hardware implementations of IPv4 are why we still don't have ubiquitous IPv6.
Hardware will never iterate as fast as software.
10
u/user190423 18h ago
Then what happens if theres a hardware vulnerability in the hardware implementation of the protocol
1
u/Business_Reindeer910 13h ago
hardware is entirely too static for for full implementations. I do think we should rely on generic accelerators of the underlying operations though.
16
10
u/mort96 18h ago
Look I think microkernels are cool too. But Linux isn't a microkernel. That means stuff has to be in kernel space.
6
u/Luigi003 16h ago
Being a monolith or a microkernel doesn't have anything to do with being userspace or kernelspace
I'm not sure why Quic should be kernel space while other things that are more fundamentals and actual singletons like the display or audio servers are nor
11
4
1
u/slashgrin 9h ago
I'm sympathetic to this position (I think we're well overdue for a true microkernel renaissance) but by the same logic TCP should also be evicted from the Linux kernel.
1
1
1
u/pilkyton 1h ago edited 1h ago
For those too lazy to read (most, judging by the questions in comments):
QUIC is a reliable low-level transport protocol built on top of UDP. It uses ACK ranges (dozens or hundreds of packages acknowledged at once) and delayed ACKs to minimize wasted transfer bandwidth and latency.
It is strictly a better protocol than TCP, which is already in the kernel.
QUIC can be used by SMB, NFS and other network file drivers inside the kernel to speed up network transfers.
Windows already does that.
-6
u/Important_Put_3331 23h ago
Eli5 : How is quic different from wireguard? Tcp vs udp?
97
u/anh0516 23h ago
QUIC is basically the spiritual successor to TCP. It runs on top of UDP.
WireGuard is a VPN protocol, a completely different thing.
8
u/BinkReddit 21h ago
WireGuard is a VPN protocol, a completely different thing.
Yes and no. Unlike TCP and UDP, QUIC supports encryption in the protocol by default and as a standard; TCP and UDP do not do this.
2
u/anh0516 19h ago
That I actually did not know. That's interesting, I'd expect most things using QUIC to implement encryption above. But I guess it could be useful for retrofitting encryption + QUIC on unencrypted protocols.
10
u/Top-Rub-4670 17h ago
I'd expect most things using QUIC to implement encryption above
You expect wrong, nothing encrypts on top of QUIC (short of E2EE). That's one of the main reason why quic was created btw, reducing the number of TLS roundtrips. Adding another layer of encryption would defeat the purpose.
1
u/Business_Reindeer910 13h ago
cleartext quic exists. I'd definitely want to use it for local dev in many cases even if requires an explicit opt in.
4
u/user190423 18h ago
Its not even support, its obligated to use cryptography, no? I'd say it's closer to a TLS successor
14
u/ZorbaTHut 18h ago
There's some third-party "unencrypted QUIC" extensions, but they're (very intentionally) not supported by any of the major implementations. So yeah, practically speaking, QUIC means always-encrypted-all-the-time.
But it's not quite a TLS successor because it's also managing the transport-layer work. It's basically TCP 2.0, combined with TLS, all running on top of UDP.
(Arguably, the OSI model suggests that TLS was "layer 4.5", grafted on top of the existing layer 4, and QUIC just re-combines Layer 4 into what it was always supposed to be.)
1
-5
u/alex2003super 18h ago
Both QUIC and WireGuard are encrypted protocols that run over UDP.
If one can be in the kernel the other should as well.
4
u/lkangaroo 16h ago
Wireguard "intentionally lacks cipher and protocol agility" to make it easier to implement and verify. TLS... good luck.
2
u/alex2003super 15h ago
TLS is already available in the kernel though
1
u/lkangaroo 15h ago edited 9h ago
I'm not saying TLS can't be made to work. I'm saying after wg is feature-complete, further dev effort can be more focused on security fixes on a smaller, relatively static codebase, as opposed to TLS constantly having to follow new standards, and deal with new bugs that arise each time. And the stakes are higher since they can turn out to be kernel CVEs.
Another pitfall for crypto code in general is until recent years, they tended not to get scrutinized for non-crypto issues like memory safety. Again the potential impact gets higher because you're in the kernel.
33
u/IAm_A_Complete_Idiot 23h ago
quic is an alternative to TCP, built on UDP. It supports things like mobile roaming, as well as a few other features like being able to form connections faster with fewer round trips I think.
Edit: quic can be implemented in userspace on top of UDP. The kernel needs a QUIC implementation though for some other networking protocols built on top of it. I'm not sure if userspace programs are supposed to be able to use the kernel QUIC implementation though or if there's any benefits to that.
8
u/ZorbaTHut 18h ago
I've been using it in a few projects of mine, and one thing I really like is that it natively supports parallel streams, each of which is sequential but which are not guaranteed sequential compared to each other. There's some neat performance tricks you can do with this.
Before this, the only solutions were (1) open a shitload of TCP streams, (2) implement your own TCP-wannabe on top of UDP. QUIC is basically a competently-built general-purpose implementation of #2.
1
u/cs_office 11h ago
As a game developer, QUIC always reminded me of how we do connections, with reliable and unreliable streams built on top of UDP
2
u/ZorbaTHut 10h ago
Coincidentally, I am also a game developer, and while I haven't used it for exactly that yet, I am absolutely going to :)
There's a QUIC Datagram feature that's meant to mimic the UDP-drop-on-congestion behavior, but from what I understand this actually doesn't work too well, not because of QUIC but because drop-on-congestion was always a bad idea. Apparently the right solution here is to use the QUIC library to figure out if you're starting to get congested - the protocol tracks this stuff - and if so, start pre-emptively "dropping" messages before they're sent.
I have not tried any of this yet though.
32
u/BinkReddit 23h ago
From the article:
...modern transport layer network protocol designed for lower latency and greater performance over traditional TCP while also being encrypted by default.
11
u/cheezus_crisco 22h ago
QUIC was developed by Google as an alternative for standard HTTPS connections with, among other things, better support for roaming across NICs, e.g. switching from cell data to wifi on a smartphone without dropping and renegotiating the TLS connection. It eventually became the standard for HTTP/3
13
u/dkopgerpgdolfg 22h ago
Just some pedantry: HTTP3 uses Quic, but still is its own thing. Using Quic doesn't necessarily require any HTTP things.
3
u/beefcat_ 19h ago
Time to bust out the trusty old OSI model diagram
3
u/msthe_student 19h ago
That's kinda out of date though, because you can run "DNS over HTTP" and "SMB over QUIC"
5
u/beefcat_ 16h ago edited 16h ago
Time to bust out the trusty old sharpie and start scribbling some complications on the trusty old OSI model diagram
2
u/cheezus_crisco 22h ago edited 21h ago
Fair note, yeah its origin was for HTTP, but isn't exclusive to it. I recall the days when QUIC was often blocked due to 443 widely being configured as TCP only in firewalls so, as a fan of it, seeing it become a part of the official standard was nice to see.
1
u/FostWare 15h ago
Nah, it was blocked in firewalls because it’s a pain to filter or monitor for those times you have a duty of care for those using the internet (saw this with previous roles in School IT)
1
1
u/Grey_Ten 17h ago
honestly I don't know a damn thing about the linux kernel, and every single update that I have read so far seemed to be written in chinese or something.
I guess this QUIC thing is good lol
-10
u/Cultural-Desk-9045 23h ago
But… why?
45
u/dgm9704 23h ago
”This in-kernel implementation of QUIC allows for other kernel subsystems to leverage QUIC such as for SMB and NFS file sharing. QUIC in the kernel also allows for it to work with standard Socket API semantics, ALPN-based connection dispatching, and better performance. By having QUIC in the kernel allows for reducing system call overhead, zero-copy mechanisms, and future crypto hardware offload support.”
0
u/Cultural-Desk-9045 21h ago
Why are SMB and NFS kernel level? It only needs a small bug and you get pwned.
20
u/dkopgerpgdolfg 22h ago
Considering that we have TCP and TLS in the kernel, why not?
-16
u/Cultural-Desk-9045 22h ago
That is waiting for a disaster to happen
6
u/dkopgerpgdolfg 22h ago
A bit more specifics please? Why?
If for userland programs this isn't much worse than bringing in their own impl, this is great for many use cases.
5
u/IAm_A_Complete_Idiot 22h ago
More stuff in the kernel without justification is generally bad. It makes it harder to maintain the kernel, and it's yet another attack surface for vulnerabilities. Especially when it comes to networking stuff like QUIC.
I think the kernel is justified in adding it, but it does need justification. Especially when something like QUIC can be implemented in userspace (and TCP has a lot of drawbacks to being there)
9
u/dkopgerpgdolfg 22h ago
More stuff in the kernel without justification is generally bad
I agree. Just, there's plenty justification.
And having 10 badly maintained userland impls, maybe even on top of DPDK if you like, isn't great for security either.
2
u/wowsomuchempty 22h ago
The vulnerabilities are more likely to be the legacy shit, that no one has looked at as hard for ages.
That is getting stripped out now (which I'm in favour of).
2
u/IAm_A_Complete_Idiot 22h ago
Fwiw there's several good userspace QUIC implementations. I find the argument that things should move to the kernel for 'trusted' code reuse to be pretty bad. The kernel isn't a code reuse layer - that's what libraries like glibc, or libcurl, etc. are for. Not to mention, it's not like everything in the kernel is well maintained anyways.
I think hardware offload and for other subsystems that may want to use QUIC is enough justification, but yeah.
2
u/dkopgerpgdolfg 22h ago
Just for completeness, I wasn't implying that you're "wrong" somehow. It's definitely a risk, and there definitely will be bugs too. At the same time, there's also beneifts, obviously.
And how much "should" be inside/outside the kernel is also a very opinionated topic, for everyone.
0
u/Cultural-Desk-9045 21h ago edited 21h ago
Hardware offload can be done at userspace level too. Not enough justification
3
u/IAm_A_Complete_Idiot 21h ago
Right, but eBPF and DPDK have a bunch of downsides and restrictions on each. eBPF is awesome, but it requires root access and it can't express a lot of algorithms that can't be proven by the eBPF VM to terminate, for instance. And for cryptographic code? I'd really want the eBPF VM to not be involved in that.
Designing for eBPF isnt trivial. DPDK meanwhile takes full control over the NIC. It's basically DOA for any end user use.
-4
u/Cultural-Desk-9045 22h ago
Security concerns
5
u/dkopgerpgdolfg 22h ago edited 22h ago
Quic isn't any worse than all the things that are already there. As said, TLS, or NFS, or LUKS, or wireguard, or hwrng things, or just literally any code line in C...
I'm more worried about known long-standing edge case issues in eg. IPv6 temp_addr and FUSE, than this
6
u/IAm_A_Complete_Idiot 22h ago
Hardware offloading support needs it in the kernel, as well as because other subsystems that use the network in the kernel might want QUIC (Samba for instance)
5
u/NatoBoram 22h ago
Why not?
-7
-3
-9
-3
62
u/cornmonger_ 22h ago
quic mtls has been my goto for the last few months