Skip to content
Fencer Intel
medium 5.5

CVE-2025-71113 json

crypto: af_alg - zero initialize memory allocated via sock_kmalloc

published 9mo ago modified 21d ago also EUVD-2026-2508

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 4%
public exploits
0
none known

Summary

In the Linux kernel, the following vulnerability has been resolved:

crypto: af_alg - zero initialize memory allocated via sock_kmalloc

Several crypto user API contexts and requests allocated with sock_kmalloc() were left uninitialized, relying on callers to set fields explicitly. This resulted in the use of uninitialized data in certain error paths or when new fields are added in the future.

The ACVP patches also contain two user-space interface files: algif_kpp.c and algif_akcipher.c. These too rely on proper initialization of their context structures.

A particular issue has been observed with the newly added 'inflight' variable introduced in af_alg_ctx by commit:

67b164a871af ("crypto: af_alg - Disallow multiple in-flight AIO requests")

Because the context is not memset to zero after allocation, the inflight variable has contained garbage values. As a result, af_alg_alloc_areq() has incorrectly returned -EBUSY randomly when the garbage value was interpreted as true:

https://github.com/gregkh/linux/blame/master/crypto/af_alg.c#L1209

The check directly tests ctx->inflight without explicitly comparing against true/false. Since inflight is only ever set to true or false later, an uninitialized value has triggered -EBUSY failures. Zero-initializing memory allocated with sock_kmalloc() ensures inflight and other fields start in a known state, removing random issues caused by uninitialized data.

Patch / fix

  • Linux Linux 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 6.18.3, 6.19
  • linux Debian 12 6.1.162-1
  • linux Debian 13 6.12.69-1
  • linux Debian 14 6.18.3-1

debian advisories DEBIAN-CVE-2025-71113

  • linux Ubuntu 22.04 LTS 5.15.0-173.183
  • linux Ubuntu 24.04 LTS 6.8.0-110.110
  • linux Ubuntu 25.10 6.17.0-22.22
  • linux-aws Ubuntu 22.04 LTS 5.15.0-1103.110
  • linux-aws Ubuntu 24.04 LTS 6.8.0-1052.55
  • linux-aws Ubuntu 25.10 6.17.0-1012.12
  • linux-gcp Ubuntu 22.04 LTS 5.15.0-1103.112
  • linux-gcp Ubuntu 24.04 LTS 6.8.0-1054.57

ubuntu advisories UBUNTU-CVE-2025-71113

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel RHEL 9 5.14.0-687.29.1.el9_8
  • rv RHEL 9 5.14.0-687.29.1.el9_8
  • perf RHEL 9 5.14.0-687.29.1.el9_8
  • rtla RHEL 9 5.14.0-687.29.1.el9_8
  • libperf RHEL 9 5.14.0-687.29.1.el9_8
  • kernel-rt RHEL 9 5.14.0-687.29.1.el9_8
  • kernel-64k RHEL 9 5.14.0-687.29.1.el9_8
  • kernel-core RHEL 9 5.14.0-687.29.1.el9_8

red hat advisories RHSA-2026:43307RHSA-2026:42919

  • kernel-64kb SLE Module for Basesystem 15 SP7 6.4.0-150700.53.34.1
  • kernel-syms SLE Module for Development Tools 15 SP7 6.4.0-150700.53.34.1
  • kernel-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.53.34.1
  • kernel-source SLE Module for Development Tools 15 SP7, SLE Module for Basesystem 15 SP7 6.4.0-150700.53.34.1
  • kernel-default SLE Workstation Extension 15 SP7, SLE Module for Legacy 15 SP7, SLE Module for Basesystem 15 SP7 +2 more 6.4.0-150700.53.34.1
  • kernel-zfcpdump SLE Module for Basesystem 15 SP7 6.4.0-150700.53.34.1
  • kernel-obs-build SLE Module for Development Tools 15 SP7 6.4.0-150700.53.34.1
  • kernel-default-base SLE Module for Basesystem 15 SP7 6.4.0-150700.53.34.1.150700.17.23.1

suse advisories SUSE-SU-2026:1081-1SUSE-SU-2026:1078-1SUSE-SU-2026:1041-1SUSE-SU-2026:20845-1SUSE-SU-2026:20876-1SUSE-SU-2026:0962-1

  • kernel-rt openSUSE Leap 16.0 6.12.0-160000.26.1
  • dtb-aarch64 openSUSE Leap 16.0 6.12.0-160000.26.1
  • kernel-64kb openSUSE Leap 16.0 6.12.0-160000.26.1
  • kernel-syms openSUSE Leap 16.0 6.12.0-160000.26.1
  • kernel-azure openSUSE Leap 16.0 6.12.0-160000.26.1
  • kernel-obs-qa openSUSE Leap 16.0 6.12.0-160000.26.1
  • kernel-source openSUSE Leap 16.0 6.12.0-160000.26.1
  • kernel-default openSUSE Leap 16.0 6.12.0-160000.26.1

opensuse advisories openSUSE-SU-2026:20287-1

  • kernel AlmaLinux 9 5.14.0-687.29.1.el9_8
  • rv AlmaLinux 9 5.14.0-687.29.1.el9_8
  • perf AlmaLinux 9 5.14.0-687.29.1.el9_8
  • rtla AlmaLinux 9 5.14.0-687.29.1.el9_8
  • libperf AlmaLinux 9 5.14.0-687.29.1.el9_8
  • kernel-rt AlmaLinux 9 5.14.0-687.29.1.el9_8
  • kernel-64k AlmaLinux 9 5.14.0-687.29.1.el9_8
  • kernel-core AlmaLinux 9 5.14.0-687.29.1.el9_8

almalinux advisories ALSA-2026:43307ALSA-2026:42919

  • kernel Rocky Linux 10 6.12.0-211.37.1.el10_2
  • kernel Rocky Linux 9 5.14.0-687.29.1.el9_8

rocky linux advisories RLSA-2026:42919RLSA-2026:43307

  • kernel Azure Linux 3.0 6.6.121.1-1

azure linux advisories AZL-74612

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Is CVE-2025-71113 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-71113 updated cvss 3.3

kernel: crypto: af_alg - zero initialize memory allocated via sock_kmalloc

  • Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more
    affected: no fix available “Fix deferred”
  • Red Hat Enterprise Linux 9 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +12 more
    affected: no fix available
  • Red Hat Enterprise Linux AppStream (v. 9) rv 5.14.0-687.29.1.el9_8, perf 5.14.0-687.29.1.el9_8, rtla 5.14.0-687.29.1.el9_8, python3-perf 5.14.0-687.29.1.el9_8, kernel-devel-matched 5.14.0-687.29.1.el9_8, kernel-64k-devel-matched 5.14.0-687.29.1.el9_8, +7 more
    fixed: vendor fix RHSA-2026:43307
  • Red Hat Enterprise Linux AppStream (v. 10) rv 6.12.0-211.37.1.el10_2, perf 6.12.0-211.37.1.el10_2, rtla 6.12.0-211.37.1.el10_2, python3-perf 6.12.0-211.37.1.el10_2, kernel-devel-matched 6.12.0-211.37.1.el10_2, kernel-64k-devel-matched 6.12.0-211.37.1.el10_2, +7 more
    fixed: vendor fix RHSA-2026:42919
  • Red Hat Enterprise Linux BaseOS (v. 9) kernel 5.14.0-687.29.1.el9_8, kernel-64k 5.14.0-687.29.1.el9_8, kernel-core 5.14.0-687.29.1.el9_8, kernel-tools 5.14.0-687.29.1.el9_8, kernel-modules 5.14.0-687.29.1.el9_8, kernel-64k-core 5.14.0-687.29.1.el9_8, +27 more
    fixed: vendor fix RHSA-2026:43307
  • Red Hat Enterprise Linux BaseOS (v. 10) kernel 6.12.0-211.37.1.el10_2, kernel-64k 6.12.0-211.37.1.el10_2, kernel-core 6.12.0-211.37.1.el10_2, kernel-tools 6.12.0-211.37.1.el10_2, kernel-modules 6.12.0-211.37.1.el10_2, kernel-64k-core 6.12.0-211.37.1.el10_2, +28 more
    fixed: vendor fix RHSA-2026:42919
  • Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) libperf 5.14.0-687.29.1.el9_8, kernel-debuginfo-common-s390x 5.14.0-687.29.1.el9_8, kernel-debuginfo-common-x86_64 5.14.0-687.29.1.el9_8, kernel-debuginfo-common-aarch64 5.14.0-687.29.1.el9_8, kernel-debuginfo-common-ppc64le 5.14.0-687.29.1.el9_8
    fixed: vendor fix RHSA-2026:43307
  • Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) libperf 6.12.0-211.37.1.el10_2, kernel-debuginfo-common-s390x 6.12.0-211.37.1.el10_2, kernel-debuginfo-common-x86_64 6.12.0-211.37.1.el10_2, kernel-debuginfo-common-aarch64 6.12.0-211.37.1.el10_2, kernel-debuginfo-common-ppc64le 6.12.0-211.37.1.el10_2
    fixed: vendor fix RHSA-2026:42919
show 5 more
  • Red Hat Enterprise Linux Real Time (v. 9) kernel-rt 5.14.0-687.29.1.el9_8, kernel-rt-64k 5.14.0-687.29.1.el9_8, kernel-rt-core 5.14.0-687.29.1.el9_8, kernel-rt-modules 5.14.0-687.29.1.el9_8, kernel-rt-64k-core 5.14.0-687.29.1.el9_8, kernel-rt-debug-core 5.14.0-687.29.1.el9_8, +14 more
    fixed: vendor fix RHSA-2026:43307
  • Red Hat Enterprise Linux Real Time (v. 10) kernel-rt 6.12.0-211.37.1.el10_2, kernel-rt-64k 6.12.0-211.37.1.el10_2, kernel-rt-core 6.12.0-211.37.1.el10_2, kernel-rt-modules 6.12.0-211.37.1.el10_2, kernel-rt-64k-core 6.12.0-211.37.1.el10_2, kernel-rt-debug-core 6.12.0-211.37.1.el10_2, +14 more
    fixed: vendor fix RHSA-2026:42919
  • Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt 5.14.0-687.29.1.el9_8, kernel-rt-core 5.14.0-687.29.1.el9_8, kernel-rt-modules 5.14.0-687.29.1.el9_8, kernel-rt-debug-core 5.14.0-687.29.1.el9_8, kernel-rt-modules-core 5.14.0-687.29.1.el9_8, kernel-rt-debug-modules 5.14.0-687.29.1.el9_8, +4 more
    fixed: vendor fix RHSA-2026:43307
  • Red Hat Enterprise Linux Real Time for NFV (v. 10) kernel-rt 6.12.0-211.37.1.el10_2, kernel-rt-core 6.12.0-211.37.1.el10_2, kernel-rt-modules 6.12.0-211.37.1.el10_2, kernel-rt-debug-core 6.12.0-211.37.1.el10_2, kernel-rt-modules-core 6.12.0-211.37.1.el10_2, kernel-rt-debug-modules 6.12.0-211.37.1.el10_2, +4 more
    fixed: vendor fix RHSA-2026:42919
  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-26-295-11 updated cvss 5.5

Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.7 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.7 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.7 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.7 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.7
    affected: mitigation, no fix available

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-26-209-04 updated cvss 5.5

Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.6 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.6 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.6 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.6 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.6
    affected: mitigation, no fix available

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
4mo ago

Exploit prediction

0.15% chance of exploitation in the next 30 days, higher than 4% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

  • Linux Linux
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-908 Use of Uninitialized Resource
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.