A 9.8 on a kernel networking bug sounds scary, and it can be — but only if your server has handed its TLS work to the kernel.

At a glance

  • CVE: CVE-2025-39682 — a mishandled corner case with zero-length records in the Linux kernel’s TLS receive code (kTLS).
  • Severity: 9.8 (Critical) at NVD and from the kernel’s CVE team. Red Hat is much calmer about it: Moderate, 7.0, and it mainly describes a remote denial of service.
  • Affected: Linux kernels from 6.0 up to (but not including) 6.1.149, 6.6.103, 6.12.44 and 6.16.4. Mainline is fixed from 6.17. Older kernels don’t have the vulnerable code: Debian says its 5.10 kernel isn’t affected, and Red Hat lists RHEL 6, 7 and 8 as not affected.
  • Known exploited: Yes — CISA added it to the KEV list on 2026-09-18, about a year after the fix came out.

What’s going on

Linux can run TLS inside the kernel. Once the handshake is done, an application can hand the encrypting and decrypting of a TCP connection over to the kernel — that’s kTLS. On the receiving side there’s a rule: each read should return either a run of normal data records or a single non-data record, never a mix. The code missed one corner case involving a zero-length record left waiting in a queue, so the other end of the connection can break that rule by sending a short, specific sequence of records.

According to the kernel’s CVE team, the fallout is the kernel using and freeing network buffers it has already freed. That can leak kernel memory, crash the machine, and potentially let an attacker take control — all from the network, with no login. Red Hat reads it more narrowly, as a way to knock the server over. The bug was reported by researchers at STAR Labs.

Here’s the big “if”: Red Hat notes this can only be triggered when kTLS is actually in use on a connection. The kernel’s CVE team gives examples of what that looks like: OpenSSL-based servers or clients with kTLS turned on, NFS over TLS, and SMB/RPC over TLS through the kernel’s handshake service. If nothing on your box hands TLS to the kernel, this code path never runs. Red Hat’s mitigation is to stop the tls kernel module from loading, which also gives you a quick check: if lsmod | grep -w tls prints nothing, that module isn’t loaded right now. If you did switch kTLS on in your web server or OpenSSL config, treat this as urgent.

Timeline

  • Fix committed upstream: 2025-08-21 (commit 62708b9452f8, released in 6.17-rc3)
  • Disclosed (CVE published): 2025-09-05
  • Red Hat kernel updates for RHEL 9 and 10: 2025-09-29
  • Added to CISA KEV: 2026-09-18

== UPDATE ==

Fixes have been out since late summer 2025 — another one where the main risk is a server that hasn’t rebooted in a while.

  • Patch available: Yep.
  • Fixed in: upstream 6.1.149, 6.6.103, 6.12.44, 6.16.4 and 6.17. Distro packages: Debian 12 linux 6.1.153-1, Debian 13 6.12.48-1, and linux-6.1 6.1.153-1~deb11u1 for Debian 11 users on the newer kernel; RHEL 9 kernel-5.14.0-570.49.1.el9_6, RHEL 10 kernel-6.12.0-55.37.1.el10_0.
  • How to apply: install your distro’s kernel update and reboot. On Debian/Ubuntu: sudo apt update && sudo apt upgrade; on RHEL, Alma, Rocky or Fedora: sudo dnf upgrade --refresh. Then sudo reboot and confirm with uname -r. Check your distro’s security tracker (linked below) for the exact package for your release.
  • If you can’t patch yet: follow Red Hat’s advice and stop the tls module from loading — for example echo "install tls /bin/false" | sudo tee /etc/modprobe.d/disable-tls.conf, then reboot if it was loaded. Anything relying on kTLS will lose it, so switch kTLS off in your web server or OpenSSL config first.

References