cve.bz

CVE-2025-39964 Linux Kernel Race Condition Vulnerability

5.5 mediumKEVEPSS 1.6%Fix available

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

On this page
In the Linux kernel, the following vulnerability has been resolved: crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg Issuing two writes to the same af_alg socket is bogus as the data will be interleaved in an unpredictable fashion. Furthermore, concurrent writes may create inconsistencies in the internal socket state. Disallow this by adding a new ctx->write field that indiciates exclusive ownership for writing.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
1.6% (unchanged from 1.6% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 76th 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: no · Technical impact: total, assessed 2026-09-18. 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-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
Assigned by
Linux (CNA)
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-39964 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-39964?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-39964?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-39964 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-39964

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-39964](https://cve.bz/cve/badge/CVE-2025-39964.svg)](https://cve.bz/cve/CVE-2025-39964)

HTML:

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

Affected

  • linux:linux_kernel
  • siemens:simatic_s7-1500_cpu_1518-4_pn\/dp_mfp_firmware
  • siemens:simatic_s7-1500_cpu_1518f-4_pn\/dp_mfp_firmware

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux2.6.38 and later

Fixed in

ProductRelease lineFixed in
Linux5.105.10.245
Linux5.155.15.194
Linux6.16.1.154
Linux6.66.6.108
Linux6.126.12.49
Linux6.166.16.9
Linuxlater releases6.17

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11linux5.10.247-1DLA-4404-1
Debian11linux-6.16.1.158-1~deb11u1DLA-4379-1
Debian12linux6.1.158-1DEBIAN-CVE-2025-39964 DSA-6053-1
Debian13linux6.12.57-1DEBIAN-CVE-2025-39964
Debian14linux6.16.9-1DEBIAN-CVE-2025-39964
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2025-39964
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2025-39964
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2025-39964
Ubuntu22.04:LTSlinux, linux-lowlatency5.15.0-164.174UBUNTU-CVE-2025-39964 USN-7928-1
Ubuntu22.04:LTSlinux-aws5.15.0-1098.105UBUNTU-CVE-2025-39964 USN-7928-1
Ubuntu22.04:LTSlinux-aws-6.86.8.0-1044.46~22.04.1UBUNTU-CVE-2025-39964 USN-7931-1
Ubuntu22.04:LTSlinux-azure5.15.0-1102.111UBUNTU-CVE-2025-39964 USN-7928-1
Ubuntu22.04:LTSlinux-azure-6.86.8.0-1044.50~22.04.1UBUNTU-CVE-2025-39964 USN-7935-1
Ubuntu22.04:LTSlinux-azure-fde5.15.0-1102.111.1UBUNTU-CVE-2025-39964
Ubuntu22.04:LTSlinux-azure-fde-6.86.8.0-1046.53~22.04.1UBUNTU-CVE-2025-39964
Ubuntu22.04:LTSlinux-gcp5.15.0-1098.107UBUNTU-CVE-2025-39964 USN-7928-1
Ubuntu22.04:LTSlinux-gcp-6.86.8.0-1045.48~22.04.1UBUNTU-CVE-2025-39964 USN-7931-1
111 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-553.166.1.el8_10RHSA-2026:70402
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-553.166.1.el8_10RHSA-2026:70402
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-553.166.1.rt7.507.el8_10RHSA-2026:70403
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-553.166.1.rt7.507.el8_10RHSA-2026:70403
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 29 more0:5.14.0-687.50.1.el9_8RHSA-2026:70459
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 45 more0:5.14.0-687.50.1.el9_8RHSA-2026:70459
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 16 more0:5.14.0-687.50.1.el9_8RHSA-2026:70459
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-687.50.1.el9_8RHSA-2026:70459
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-64k, kernel-rt-core and 35 more0:5.14.0-687.50.1.el9_8RHSA-2026:70459
Red Hatenterprise_linux:10.2rv, perf, rtla and 87 more0:6.12.0-211.58.1.el10_2RHSA-2026:70498
Red Hatenterprise_linux_eus:10.0rv, perf, rtla and 88 more0:6.12.0-55.106.1.el10_0RHSA-2026:71326
Red Hatenterprise_linux_nvidia:10::el10rv, perf, rtla and 49 more0:6.12.0-231.20.el10nvRHSA-2026:72059
26 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4kernel-default5.14.21-150400.24.243.1SUSE-SU-2026:4668-1
SUSELinux Enterprise High Availability Extension 15 SP6, Linux Enterprise Live Patching 15 SP6kernel-default6.4.0-150600.23.92.1SUSE-SU-2026:1041-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.34.1SUSE-SU-2026:1081-1
SUSELinux Enterprise High Availability Extension 16.0kernel-default6.12.0-160000.37.1SUSE-SU-2026:23237-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150400.24.243.1SUSE-SU-2026:4668-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 3 morekernel-default-base5.14.21-150400.24.243.1.150400.24.122.1SUSE-SU-2026:4668-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSSkernel-64kb, kernel-source, kernel-default and 1 more5.14.21-150500.55.192.2SUSE-SU-2026:4667-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 2 morekernel-default-base5.14.21-150500.55.192.2.150500.6.89.2SUSE-SU-2026:4667-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Server 15 SP5-LTSS and 1 morekernel-docs, kernel-syms5.14.21-150500.55.192.1SUSE-SU-2026:4667-1
SUSELinux Enterprise Live Patching 12 SP5kernel-default4.12.14-122.296.1SUSE-SU-2026:1078-1
SUSELinux Enterprise Live Patching 12 SP5kernel-default4.12.14-122.328.1SUSE-SU-2026:4282-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_781-8.3.1SUSE-SU-2026:1078-1
49 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.92.1SUSE-SU-2026:1041-1
openSUSELeap 15.6kernel-default-base6.4.0-150600.23.92.1.150600.12.42.2SUSE-SU-2026:1041-1
openSUSELeap 16.0kernel-default-base6.12.0-160000.27.1.160000.2.8openSUSE-SU-2026:20416-1
openSUSELeap 16.0kernel-default-base6.12.0-160000.37.1.160000.2.19openSUSE-SU-2026:21555-1
openSUSELeap 16.0kernel-rt, dtb-aarch64, kernel-64kb and 9 more6.12.0-160000.27.1openSUSE-SU-2026:20416-1
openSUSELeap 16.0kernel-rt, dtb-aarch64, kernel-64kb and 9 more6.12.0-160000.37.1openSUSE-SU-2026:21555-1
AlmaLinux8kernel-rt, kernel-rt-core, kernel-rt-debug and 7 more4.18.0-553.166.1.rt7.507.el8_10ALSA-2026:70403
AlmaLinux8perf, kernel, bpftool and 22 more4.18.0-553.166.1.el8_10ALSA-2026:70402
AlmaLinux9rv, perf, rtla and 71 more5.14.0-687.50.1.el9_8ALSA-2026:70459
AlmaLinux10rv, perf, rtla and 59 more6.12.0-211.58.1.el10_2ALSA-2026:70498
Rocky Linux8kernel0:4.18.0-553.166.1.el8_10RLSA-2026:70402
Rocky Linux8kernel-rt0:4.18.0-553.166.1.rt7.507.el8_10RLSA-2026:70403
Rocky Linux9kernel0:5.14.0-687.50.1.el9_8RLSA-2026:70459
Rocky Linux10kernel0:6.12.0-211.58.1.el10_2RLSA-2026:70498
Azure Linux2kernel5.15.200.1-1AZL-76437
Azure Linux3kernel6.6.112.1-1AZL-68460
Alpaquita23linux-lts6.1.155-r0BELL-CVE-2025-39964
Alpaquita25linux-lts6.12.51-r0BELL-CVE-2025-39964
Alpaquitastreamlinux-lts6.18.35-r1BELL-CVE-2025-39964

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

The AF_ALG datapath allowed two writers on the same socket, causing request payloads to interleave unpredictably and leaving the per-socket context inconsistent. The fix introduces an exclusive write ownership (ctx->write) so that only one writer can issue sendmsg() at a time, preventing state corruption.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
NVIDIA for RHEL 10kernel-0:6.12.0-231.20.el10nvFixed 2026-09-25RHSA-2026:72059
NVIDIA for RHEL 10kernel-0:6.12.0-259.27.el10nvFixed 2026-09-30RHSA-2026:73788
Red Hat Enterprise Linux 10kernel-0:6.12.0-211.58.1.el10_2Fixed 2026-09-23RHSA-2026:70498
Red Hat Enterprise Linux 10.0 Extended Update Supportkernel-0:6.12.0-55.106.1.el10_0Fixed 2026-09-24RHSA-2026:71326
Red Hat Enterprise Linux 7 Extended Lifecycle Supportkernel-rt-0:3.10.0-1160.164.1.rt56.1316.el7Fixed 2026-09-24RHSA-2026:71657
Red Hat Enterprise Linux 7 Extended Lifecycle Supportkernel-0:3.10.0-1160.164.1.el7Fixed 2026-09-24RHSA-2026:71687
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-553.166.1.rt7.507.el8_10Fixed 2026-09-22RHSA-2026:70403
Red Hat Enterprise Linux 8kernel-0:4.18.0-553.166.1.el8_10Fixed 2026-09-22RHSA-2026:70402
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportkernel-0:4.18.0-305.209.1.el8_4Fixed 2026-09-24RHSA-2026:71565
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onkernel-0:4.18.0-305.209.1.el8_4Fixed 2026-09-24RHSA-2026:71565
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportkernel-0:4.18.0-372.218.1.el8_6Fixed 2026-09-24RHSA-2026:71592
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onkernel-0:4.18.0-372.218.1.el8_6Fixed 2026-09-24RHSA-2026:71592
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicekernel-0:4.18.0-477.170.1.el8_8Fixed 2026-09-24RHSA-2026:71594
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionskernel-0:4.18.0-477.170.1.el8_8Fixed 2026-09-24RHSA-2026:71594
Red Hat Enterprise Linux 9kernel-0:5.14.0-687.50.1.el9_8Fixed 2026-09-23RHSA-2026:70459
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-0:5.14.0-284.194.1.el9_2Fixed 2026-09-24RHSA-2026:71601
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-rt-0:5.14.0-284.194.1.rt14.479.el9_2Fixed 2026-09-24RHSA-2026:71606
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionskernel-0:5.14.0-427.152.1.el9_4Fixed 2026-09-24RHSA-2026:71569
Red Hat Enterprise Linux 9.6 Extended Update Supportkernel-0:5.14.0-570.143.1.el9_6Fixed 2026-09-24RHSA-2026:71327
Red Hat Enterprise Linux 6kernelNot 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-39964.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-295-11Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP2026-10-13Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.7, SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.7, SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.7 and 2 morenone listed
ICSA-26-209-04Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP2026-07-14Critical ManufacturingSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.6, SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.6, SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.6 and 2 morenone 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-39964 0 stars, Shell, created
    Tracking CVE-2025-39964, the Linux kernel AF_ALG concurrent-write race

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON