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

xfrm: fix xfrm_state_construct() auth-trunc leak

attach_auth_trunc() can allocate x->aalg while leaving
x->props.aalgo at zero when the selected auth algorithm has no
sadb_alg_id. One real case is cmac(aes).

xfrm_state_construct() then treats !x->props.aalgo as "no auth
algorithm attached yet" and calls attach_auth(). That overwrites
x->aalg and loses the first allocation. Any later failure or teardown
only frees the replacement pointer.

Check whether x->aalg is already attached instead of inferring that
state from x->props.aalgo.
Published: 2026-09-04
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability exists in the Linux kernel's XFRM subsystem. When the function attach_auth_trunc() allocates the algorithm data structure (x->aalg) but leaves the corresponding algorithm selector zero, the subsequent xfrm_state_construct() call mistakenly interprets this as no authentication algorithm being present. It then calls attach_auth(), overwriting the earlier allocation. This leads to a resource leak, as the original allocation is never freed. If abused, repeated allocation and leakage could exhaust kernel memory or expose partial authentication data.

Affected Systems

All Linux kernel variants are potentially affected, as the issue is present in the core kernel code. No specific versions are listed in the alert; therefore any system running a Linux kernel before the patch should be considered at risk. The vulnerability applies to the generic Linux kernel distribution.

Risk and Exploitability

The vulnerability could be triggered by maliciously crafted network traffic that engages the XFRM subsystem, such as IPsec packets using unsupported authentication algorithms. It is inferred that an attacker with the ability to send such traffic could repeatedly provoke the memory leak, leading to kernel memory exhaustion or denial of service. The CVSS score is not provided, but the absence of an EPSS score or KEV listing suggests that widespread exploitation is not currently documented. Nonetheless, the potential impact on availability warrants monitoring and patching.

Generated by OpenCVE AI on September 4, 2026 at 18:44 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the fix for xfrm_state_construct() auth-trunc leak.
  • If upgrading is not immediately possible, isolate the system from untrusted network traffic that could trigger XFRM processing by restricting IPsec or XFRM traffic through firewall rules.
  • Monitor kernel memory usage and audit logs for signs of repeated memory allocation failures, lockups, or kernel panics, and apply additional patches or mitigations as they become available.

Generated by OpenCVE AI on September 4, 2026 at 18:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 19:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362

Fri, 04 Sep 2026 16:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: xfrm: fix xfrm_state_construct() auth-trunc leak attach_auth_trunc() can allocate x->aalg while leaving x->props.aalgo at zero when the selected auth algorithm has no sadb_alg_id. One real case is cmac(aes). xfrm_state_construct() then treats !x->props.aalgo as "no auth algorithm attached yet" and calls attach_auth(). That overwrites x->aalg and loses the first allocation. Any later failure or teardown only frees the replacement pointer. Check whether x->aalg is already attached instead of inferring that state from x->props.aalgo.
Title xfrm: fix xfrm_state_construct() auth-trunc leak
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-04T15:54:53.328Z

Reserved: 2026-08-26T14:34:25.796Z

Link: CVE-2026-80843

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T16:18:12.877

Modified: 2026-09-04T16:18:12.877

Link: CVE-2026-80843

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T18:45:03Z

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')