Kernel TLS lets the kernel, rather than a library, encrypt and decrypt a TCP connection, and between Linux 6.0 and the September 2025 fixes its receive path got one corner wrong: a zero-length record queued on the socket’s rx_list could be picked up by a later recvmsg() in a state the code assumed was impossible. The peer on the other end of the connection controls the records, so this is a remote bug, and the kernel CNA scored it 9.8. If a host of yours has the tls module loaded — nginx with kernel TLS offload, NFS with TLS, or anything built on OpenSSL’s kTLS support — and is running a kernel older than your distribution’s fix, reboot it into the current kernel. A host where the module is not loaded is not reachable by this bug, and that is most of them.
CVE-2025-39682 at a glance.
| Component | Linux kernel, net/tls/tls_sw.c — the software kernel-TLS receive path (CONFIG_TLS, module tls) |
| Affected versions | Mainline 6.0 (where the record-list handling was introduced) up to 6.17-rc2; stable branches before 6.1.149, 6.6.103, 6.12.44 and 6.16.4. 5.x kernels are not affected unless the code was backported — Red Hat’s RHEL 9 kernel was |
| Fixed in | Mainline 6.17; stable 6.1.149, 6.6.103, 6.12.44, 6.16.4 (September 2025). Distribution kernels below |
| Severity | CVSS 3.1 9.8 Critical (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, kernel CNA and NVD). Red Hat and SUSE both score it 7.0 with attack complexity high and low confidentiality and integrity impact; Red Hat rates it Moderate. CWE-754 (CISA); Red Hat files CWE-1287 |
| Exploited in the wild | Yes. Added to CISA’s Known Exploited Vulnerabilities catalogue on 18 September 2026; federal remediation due 21 September 2026. EPSS 0.03 (87th percentile) on 19 October 2026 |
| Who is exposed | Hosts running a pre-fix 6.x kernel (or RHEL 9’s 5.14 with the backport) with the tls module in use: web servers with kTLS sendfile offload, NFS clients and servers using xprtsec=tls, and services that attach the TLS ULP through OpenSSL 3 built with kTLS. Not hosts where lsmod does not list tls |
| Published | CVE record 5 September 2025; this page built 30 November 2026, last updated 30 November 2026 |
What it is
With kernel TLS, an application does its handshake in user space as usual, then hands the session keys to the kernel with setsockopt() and the TLS upper-layer protocol takes over the socket: sendfile() can push a file straight into an encrypted connection, and recvmsg() returns plaintext. The receive side in net/tls/tls_sw.c has a rule the fix commit states plainly: each recvmsg() call processes either any number of contiguous data records or exactly one non-data record. When the next record is of a different type the loop stops; if that record has already been decrypted — which in TLS 1.3 is the only way to learn its type — it is queued on rx_list for the next call.
The corner case is a zero-copy decrypt. Data records may be decrypted straight into the user’s buffer, in which case there is no kernel-side copy to queue. The code assumed this could never collide with a type change, because zero-copy is only allowed for data records and the loop breaks after every non-data record. The case it missed was the first record of a call coming from rx_list and being zero length. The fix, commit 62708b9452f8 in 6.17 and backported to the four stable branches, handles that corner case explicitly instead of relying on the assumption. The only file touched is net/tls/tls_sw.c.
The severity scores disagree more than usual, and both sides have a point. The kernel CNA and NVD give the vector of a remote, unauthenticated, no-interaction flaw with full impact, which is what a kernel memory-safety bug reachable from the network earns by default. Red Hat and SUSE score 7.0 with high attack complexity and low confidentiality and integrity impact, reading it as primarily a crash. CISA’s SSVC entry sides with the higher reading — exploitation active, automatable yes, technical impact total — and the catalogue listing is what puts it on this page. Red Hat’s statement adds the fact that governs exposure: the issue is reachable only when the kernel TLS ULP is actually attached to a socket.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 30 November 2026; the link in the row is the tracker page, which will be newer than this one. Note the pattern: anything on a 5.x kernel that did not backport the 6.0 code is not affected, and RHEL 9 is the exception.
| Distribution | Status | Fixed package |
|---|---|---|
| Debian bookworm | Fixed | linux 6.1.153-1 (DSA-6009-1); current 6.1.192-3 |
| Debian trixie | Fixed | linux 6.12.48-1 (DSA-6008-1); current 6.12.118-1 |
| Debian bullseye (LTS) | Not affected (5.10); backport kernel fixed | linux-6.1 6.1.153-1~deb11u1 (DLA-4328-1) |
| Ubuntu 24.04 noble | Fixed (priority Medium) | linux 6.8.0-86.87; cloud flavours have their own versions on the tracker page |
| Ubuntu 22.04 jammy | Not affected (5.15 GA kernel); HWE kernel fixed | linux-hwe-6.8 6.8.0-86.87~22.04.1 |
| Ubuntu 25.04 plucky | Fixed | linux 6.14.0-34.34 |
| Ubuntu 20.04 and older, 25.10, 26.04, 26.10 | Not affected | — |
| RHEL 10, Rocky, Alma | Fixed (Moderate) | RHSA-2025:16904, kernel 6.12.0-55.37.1.el10_0, 29 September 2025 |
| RHEL 9 | Fixed | RHSA-2025:16880, kernel 5.14.0-570.49.1.el9_6, 29 September 2025; 9.4 EUS RHSA-2025:19104, 9.2 E4S RHSA-2025:19224 and 19223 |
| RHEL 8, 7, 6 | Not affected | — |
| SUSE / openSUSE | Resolved (important, 7.0) | SLE 15 SP6 6.4.0-150600.23.73.1, SP7 6.4.0-150700.53.19.1, SLE 16.0 6.12.0-160000.6.1, Leap 15.6 as SP6; the SUSE page has the full list |
| Fedora, Arch, Alpine | Not consulted | rolling kernels passed 6.16.4 / 6.17 in September–October 2025; Alpine tracker unreachable at build time |
How to check
Three questions: is the running kernel old enough, is kernel TLS in the kernel and loaded, and is anything using it right now. The second question clears most hosts: the tls module loads only when something asks for the ULP.
# 1. running kernel versus the newest installed one
uname -r
dpkg -l 'linux-image-*' 2>/dev/null | awk '/^ii/ {print $2, $3}' | sort -V | tail -3 # Debian, Ubuntu
rpm -q kernel kernel-core 2>/dev/null | sort -V | tail -3 # RHEL family, Fedora, SUSE
# upstream reference points: 6.1.149, 6.6.103, 6.12.44, 6.16.4, 6.17
# 2. kernel TLS present, and loaded
grep -E '^CONFIG_TLS=' /boot/config-"$(uname -r)" 2>/dev/null
lsmod | grep '^tls '
# 3. sockets with the TLS ULP attached right now (ss prints tcp-ulp-tls for them)
ss -tin 2>/dev/null | grep -c 'tcp-ulp-tls'
grep -rl 'KTLS\|ktls' /etc/nginx 2>/dev/null; grep -l 'xprtsec=tls' /etc/fstab /etc/exports 2>/dev/nullA kernel at or above your distribution’s fixed version ends it. Otherwise, CONFIG_TLS unset or lsmod silent means the vulnerable code is not in memory and the host is not reachable until something loads it. A loaded module with step 3 reporting sockets is the exposed case: a remote peer of any of those connections can send the records. The nginx and fstab greps are the two most common reasons the module is loaded on a server; OpenSSL 3 applications built with kTLS are the third and show up only in step 3.
Because this one was exploited before it was listed, also look back. The receive path is kernel code running on behalf of whichever process owns the socket, so a failed attempt looks like a kernel warning or a crash in tls_sw, and a successful one looks like nothing at all. Start with the kernel log, then with the services that own kTLS sockets.
journalctl -k --since '2025-09-01' | grep -iE 'tls_sw|tls_|rx_list|BUG:|WARNING:.*tls' | head
journalctl --list-boots | head # unexplained reboots in the window are the crash form
zgrep -hiE 'tls_sw|tls_' /var/log/kern.log* /var/log/messages* 2>/dev/null | headA warning or oops naming tls_sw, or a reboot nobody ordered, on a host that was running kTLS on a pre-fix kernel is an attempt. Evidence of a success would be in what the service that owned the socket did afterwards — new processes under the nginx or rpc users, outbound connections they do not make — and if you find it, Restoring a Linux Server is the page.
How to fix it
Install the current kernel and reboot. The fix has been in every supported distribution kernel for over a year, so the package is already on most hosts; the reboot is what has not happened.
# Debian / Ubuntu
apt update && apt upgrade
reboot
uname -r
# RHEL family
dnf update kernel && reboot
# SUSE
zypper patch && rebootIf a reboot cannot happen today, Red Hat’s mitigation is to prevent the tls module from loading. That is a real mitigation for a host where nothing depends on kTLS, and a self-inflicted outage for one where something does: nginx with ssl_conf_command Options KTLS falls back to user-space TLS quietly, but an NFS mount with xprtsec=tls will fail to mount. Blacklisting does not unload a module that is already in; check lsmod after the next boot, or rmmod tls once no socket uses it.
# only where nothing on the host needs kernel TLS
printf 'install tls /bin/false\n' > /etc/modprobe.d/no-ktls.conf
ss -tin | grep -c 'tcp-ulp-tls' # 0 before rmmod will succeed
rmmod tls 2>/dev/null; lsmod | grep '^tls ' || echo "not loaded"
# delete the modprobe file once the host runs a fixed kernelSources
- CVE-2025-39682 at CVE.org — the record, the kernel CNA’s CVSS vector, the affected and fixed ranges and the file touched (published 5 September 2025)
- NVD entry — analysis status, NVD’s own 9.8 score, CPE ranges per stable branch and the KEV cross-reference
- CISA Known Exploited Vulnerabilities — added 18 September 2026, action due 21 September 2026
- Fix commit 62708b9452f8, “tls: fix handling of zero-length records on the rx_list” (mainline 6.17), with the stable backports listed in the CVE record
- Distribution trackers: Debian · Ubuntu · Red Hat (statement and mitigation) · SUSE
- EPSS score for this CVE, 19 October 2026
Related reading
- The Life of a TCP Connection — where an upper-layer protocol such as kernel TLS hooks into the socket, and what
recvmsg()is doing underneath - What a TLS Certificate Actually Proves — the handshake stays in user space even with kTLS; this page is about the record layer that moves into the kernel
- Set Up a Web Server with Nginx — the server most likely to have asked for kernel TLS on your estate
- The Half of Patching That Happens After the Patch is Installed — a year-old kernel fix that is still not running is this page’s whole subject
- CVE-2026-46300: Linux kernel loses the shared-page marker when merging socket buffers — another kernel networking-path bug on the KEV list
- ss — the command reference, including the
-ioutput used above
This advisory page was assembled from the primary sources listed above on 30 November 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.

