cve.bz

CVE-2025-39682 Linux Kernel Improper Check for Unusual or Exceptional Conditions Vulnerability

9.8 criticalKEVEPSS 3.3%Fix available

Critical (9.8) in Linux Kernel. In CISA KEV since 2026-09-18. EPSS 3.3% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: tls: fix handling of zero-length records on the rx_list Each recvmsg() call must process either - only contiguous DATA records (any number of them) - one non-DATA record If the next record has different type than what has already been processed we break out of the main processing loop. If the record has already been decrypted (which may be the case for TLS 1.3 where we don't know type until decryption) we queue the pending record to the rx_list. Next recvmsg() will pick it up from there. Queuing the skb to rx_list after zero-copy decrypt is not possible, since in that case we decrypted directly to the user space buffer, and we don't have an skb to queue (darg.skb points to the ciphertext skb for access to metadata like length). Only data records are allowed zero-copy, and we break the processing loop after each non-data record. So we should never zero-copy and then find out that the record type has changed. The corner case we missed is when the initial record comes from rx_list, and it's zero length.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
3.3% (unchanged from 3.3% a week ago; 2.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2026-09-18, due 2026-09-21
CISA's assessment (SSVC)
Exploitation: active · Automatable: yes · Technical impact: total, assessed 2026-09-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-754 Improper Check for Unusual or Exceptional Conditions
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-39682 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-39682?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-39682?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-39682 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2025-39682

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2025-39682](https://cve.bz/cve/badge/CVE-2025-39682.svg)](https://cve.bz/cve/CVE-2025-39682)

HTML:

<a href="https://cve.bz/cve/CVE-2025-39682"><img src="https://cve.bz/cve/badge/CVE-2025-39682.svg" alt="CVE-2025-39682"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux6.0 and later

Fixed in

ProductRelease lineFixed in
Linux6.16.1.149
Linux6.66.6.103
Linux6.126.12.44
Linux6.166.16.4
Linuxlater releases6.17

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11linux-6.16.1.153-1~deb11u1DLA-4328-1
Debian12linux6.1.153-1DEBIAN-CVE-2025-39682 DSA-6009-1
Debian13linux6.12.48-1DEBIAN-CVE-2025-39682 DSA-6008-1
Debian14linux6.16.5-1DEBIAN-CVE-2025-39682
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2025-39682
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2025-39682
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2025-39682
Ubuntu22.04:LTSlinux-aws-6.86.8.0-1041.43~22.04.1UBUNTU-CVE-2025-39682 USN-7835-6
Ubuntu22.04:LTSlinux-azure-6.86.8.0-1041.47~22.04.1UBUNTU-CVE-2025-39682 USN-7835-1
Ubuntu22.04:LTSlinux-gcp-6.86.8.0-1042.45~22.04.1UBUNTU-CVE-2025-39682 USN-7835-3
Ubuntu22.04:LTSlinux-hwe-6.8, linux-riscv-6.86.8.0-86.87~22.04.1UBUNTU-CVE-2025-39682 USN-7835-4
Ubuntu22.04:LTSlinux-ibm-6.86.8.0-1039.39~22.04.1UBUNTU-CVE-2025-39682 USN-7835-1
Ubuntu22.04:LTSlinux-lowlatency-hwe-6.86.8.0-86.87.1~22.04.1UBUNTU-CVE-2025-39682 USN-7835-1
Ubuntu22.04:LTSlinux-nvidia-6.86.8.0-1041.44~22.04.2UBUNTU-CVE-2025-39682 USN-7835-3
Ubuntu22.04:LTSlinux-oracle-6.86.8.0-1038.39~22.04.1UBUNTU-CVE-2025-39682 USN-7835-5
Ubuntu22.04:LTSlinux-riscv, linux-aws-6.2, linux-aws-6.5 and 30 moreno fix listedUBUNTU-CVE-2025-39682
33 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 29 more0:5.14.0-570.49.1.el9_6RHSA-2025:16880
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 45 more0:5.14.0-570.49.1.el9_6RHSA-2025:16880
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 16 more0:5.14.0-570.49.1.el9_6RHSA-2025:16880
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-570.49.1.el9_6RHSA-2025:16880
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-64k, kernel-rt-core and 35 more0:5.14.0-570.49.1.el9_6RHSA-2025:16880
Red Hatenterprise_linux:10.0rv, perf, rtla and 88 more0:6.12.0-55.37.1.el10_0RHSA-2025:16904
Red Hatrhel_e4s:9.2::appstreambpftool-debuginfo0:7.0.0-284.144.1.el9_2RHSA-2025:19224
Red Hatrhel_e4s:9.2::appstreamperf, rtla, kernel-doc and 22 more0:5.14.0-284.144.1.el9_2RHSA-2025:19224
Red Hatrhel_e4s:9.2::baseosbpftool, bpftool-debuginfo0:7.0.0-284.144.1.el9_2RHSA-2025:19224
Red Hatrhel_e4s:9.2::baseoskernel, kernel-64k, kernel-core and 40 more0:5.14.0-284.144.1.el9_2RHSA-2025:19224
Red Hatrhel_e4s:9.2::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 14 more0:5.14.0-284.144.1.rt14.429.el9_2RHSA-2025:19223
Red Hatrhel_e4s:9.2::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 12 more0:5.14.0-284.144.1.rt14.429.el9_2RHSA-2025:19223
7 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP6, Linux Enterprise Live Patching 15 SP6, Linux Enterprise Module for Legacy 15 SP6 and 1 morekernel-default6.4.0-150600.23.73.1SUSE-SU-2025:03600-1
SUSELinux Enterprise High Availability Extension 15 SP7, Linux Enterprise Live Patching 15 SP7, Linux Enterprise Module for Legacy 15 SP7 and 1 morekernel-default6.4.0-150700.53.19.1SUSE-SU-2025:03601-1
SUSELinux Enterprise High Availability Extension 16.0kernel-default6.12.0-160000.6.1SUSE-SU-2025:21179-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_161-150600.1.3.1SUSE-SU-2025:3751-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_1011-150600.2.1SUSE-SU-2026:0274-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_139-150600.2.1SUSE-SU-2026:0283-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_145-150600.2.1SUSE-SU-2026:0202-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_155-150600.2.1SUSE-SU-2026:0203-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_161-150600.13.3.1SUSE-SU-2025:03600-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_617-150600.2.1SUSE-SU-2026:0269-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_717-150600.2.1SUSE-SU-2026:0270-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_812-150600.2.1SUSE-SU-2026:0262-1
71 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6dtb-aarch64, kernel-64kb, kernel-docs and 8 more6.4.0-150600.23.73.1SUSE-SU-2025:03600-1
openSUSELeap 15.6kernel-azure, kernel-syms-azure, kernel-source-azure6.4.0-150600.8.52.1SUSE-SU-2025:03634-1
openSUSELeap 15.6kernel-default-base6.4.0-150600.23.73.1.150600.12.32.1SUSE-SU-2025:03600-1
openSUSELeap 15.6kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more6.4.0-150600.10.55.1SUSE-SU-2025:3751-1
openSUSELeap 16.0kernel-default-base6.12.0-160000.6.1.160000.2.4openSUSE-SU-2025:20081-1
openSUSELeap 16.0kernel-rt, dtb-aarch64, kernel-64kb and 8 more6.12.0-160000.6.1openSUSE-SU-2025:20081-1
AlmaLinux9rv, perf, rtla and 73 more5.14.0-570.49.1.el9_6ALSA-2025:16880
AlmaLinux10kernel-doc, kernel-abi-stablelists6.12.0-55.37.1.el10_0ALSA-2025:16904
Rocky Linux9kernel0:5.14.0-570.49.1.el9_6RLSA-2025:16880
Rocky Linux10kernel0:6.12.0-55.37.1.el10_0RLSA-2025:16904
Azure Linux3kernel6.6.104.2-1AZL-67001
Alpaquita23linux-lts6.1.151-r0BELL-CVE-2025-39682
Alpaquita25linux-lts6.12.44-r0BELL-CVE-2025-39682
Alpaquitastreamlinux-lts6.18.35-r1BELL-CVE-2025-39682

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A logic bug in the kTLS receive path mishandles zero-length records taken from the rx_list, allowing a mixed record-type sequence to slip past the per-recvmsg() type constraint and proceed to data processing. The fix initializes and checks the per-call content type (using 0 as “unset”) and bails out when a non-DATA record is encountered after DATA. This can be remotely triggered only when kernel TLS (CONFIG_TLS with the TLS ULP) is in use.

This issue can only be triggered when the kernel TLS ULP (kTLS, enabled via CONFIG_TLS and attached to TCP sockets with SOL_TLS) is in use

Red Hat's mitigation

To mitigate this issue, prevent module tls from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10kernel-0:6.12.0-55.37.1.el10_0Fixed 2025-09-29RHSA-2025:16904
Red Hat Enterprise Linux 9kernel-0:5.14.0-570.49.1.el9_6Fixed 2025-09-29RHSA-2025:16880
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-0:5.14.0-284.144.1.el9_2Fixed 2025-10-29RHSA-2025:19224
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-rt-0:5.14.0-284.144.1.rt14.429.el9_2Fixed 2025-10-29RHSA-2025:19223
Red Hat Enterprise Linux 9.4 Extended Update Supportkernel-0:5.14.0-427.96.1.el9_4Fixed 2025-10-27RHSA-2025:19104
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-39682.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-134-10Siemens SIMATIC2026-05-12Critical ManufacturingSIMATIC CN 4100none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

  • suominen/CVE-2025-39682 0 stars, Shell, created
    Tracking CVE-2025-39682, the Linux kernel kTLS zero-length record use-after-free

References

Check your stackJSON