Cloudanix VulnDB

CVE-2026-52972

Medium · 5.5

CVSS

5.5

EPSS

0.1%

Published

Jun 24, 2026

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A flaw in the Linux kernel’s built-in cryptography interface could let a local attacker crash or potentially take deeper control of a system if it is not patched.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Moderate
Impact
Denial Of Service
Component
OS kernel
Class
Memory Corruption
Remediation
Patch
Effort
Medium
Patch risk
Medium

What it actually does

This is an integer-overflow flaw in the Linux kernel AF_ALG userspace cryptographic API, specifically in AEAD handling. When a caller supplies an excessively large associated-data length, arithmetic used to validate the transmit buffer size can wrap, causing the kernel to make an incorrect bounds decision. Depending on kernel configuration, available crypto algorithms, and reachable AF_ALG socket operations, this can potentially lead to memory corruption, kernel crash, or other unintended kernel behavior from a local context.

Why it matters to the business

The primary risk is local system compromise or denial of service on Linux systems that expose the affected kernel code path. Successful exploitation could allow an attacker who already has local code execution, such as a compromised low-privileged account, container workload, or malicious local process, to destabilize the host or potentially escalate privileges. There is no current CISA KEV listing, no ransomware association, no known public exploit maturity, and the EPSS score is very low, so urgency is lower than actively exploited internet-facing vulnerabilities; however, kernel memory-corruption issues should still be remediated through normal kernel patch cycles because impact can be severe if weaponized.

How an attack unfolds

An attacker first needs the ability to run code on a Linux system where the vulnerable kernel is present and AF_ALG crypto sockets are available. The attacker opens an AF_ALG socket for an AEAD algorithm, configures the operation, and submits crafted socket options and transmit data that include an associated-data length near the overflow boundary. Because the vulnerable kernel does not cap that length before performing buffer-size arithmetic, the validation calculation can wrap and incorrectly accept an invalid buffer layout. The resulting mismatch between expected and actual buffer sizes may trigger kernel memory corruption or a crash. Practical exploitation depends heavily on kernel version, mitigations, algorithm availability, namespace/container restrictions, and whether unprivileged local processes can reach AF_ALG.

How to fix it

Apply Linux kernel updates that include the AF_ALG AEAD associated-data length cap at 0x80000000. Because no affected product list or fixed package versions were provided, use the fixed kernel packages from the relevant Linux distribution, vendor kernel stream, or upstream stable branch and reboot into the patched kernel. Where immediate patching is not possible, reduce exposure by limiting untrusted local code execution, restricting container workloads from unnecessary kernel attack surface, using seccomp or equivalent controls to block AF_ALG socket creation where applications do not require it, and ensuring kernel hardening features are enabled. Mitigations should be treated as temporary because the durable fix is the patched kernel.

How to confirm the fix worked

Confirm the running kernel, not only the installed package, contains the fix. Validate by checking the active kernel version after reboot, reviewing vendor advisories or changelogs for the AF_ALG AEAD associated-data length cap, and confirming the relevant kernel package has been updated in the package manager. On source-built kernels, verify the patch that caps AEAD associated-data length before transmit-buffer size arithmetic is present. For exposure validation, identify systems where untrusted users or workloads can create AF_ALG sockets and where AEAD algorithms are available. If seccomp or policy-based mitigation is used, test that non-approved processes cannot create AF_ALG sockets while approved crypto-dependent workloads still function.

Typical attack path

  1. Obtain local code execution on a Linux host, container, or service account.
  2. Check that AF_ALG sockets and AEAD algorithms are available to the process.
  3. Create and configure an AF_ALG socket for an AEAD crypto operation.
  4. Set an abnormally large AEAD associated-data length intended to trigger arithmetic wraparound in kernel buffer validation.
  5. Submit crafted transmit data through the socket interface.
  6. Trigger kernel memory corruption, kernel panic, or other unintended behavior; in a mature exploit, attempt privilege escalation or host escape depending on reachable memory effects.

How to detect it

There may be no reliable application-level log evidence because exploitation occurs through local kernel socket operations. Investigate signs of prior exploitation by reviewing kernel logs, crash dumps, audit logs, and endpoint telemetry for AF_ALG socket use followed by kernel warnings, oopses, panics, or unexplained reboots. Useful sources include system journal logs, dmesg output, kernel ring buffer captures, auditd syscall records for socket creation, EDR telemetry for unusual local proof-of-concept binaries, and crash dump artifacts from kdump or vendor crash collectors. Look for processes creating AF_ALG sockets and then invoking AEAD-related setsockopt/sendmsg operations with unusually large associated-data lengths. Because no public exploit indicators, threat actors, or fixed product versions were provided, detection should focus on behavioral anomalies rather than static IOCs.

What your security team should do

  • Prioritize patching Linux kernels on multi-user systems, container hosts, build runners, shared compute platforms, and systems that run untrusted or semi-trusted code.
  • Reboot systems after kernel package updates and verify the active running kernel is the fixed version.
  • If patching must be delayed, apply compensating controls such as seccomp profiles or sandbox policies that deny AF_ALG socket creation for workloads that do not explicitly need it.
  • Review container and workload isolation assumptions because local kernel bugs can become host-impacting when reachable from containers.
  • Monitor for unusual AF_ALG socket activity, repeated crypto API errors, kernel warnings, oops messages, or unexplained host crashes.
  • Track Linux distribution advisories for exact fixed package versions because fixed versions were not provided in the input.
  • Treat current exploitation likelihood as low due to very low EPSS, no KEV status, and no known exploit maturity, but do not defer indefinitely because the vulnerability affects kernel memory-safety logic.

The record

In the Linux kernel, the following vulnerability has been resolved: crypto: af_alg - Cap AEAD AD length to 0x80000000 In order to prevent arithmetic overflows when checking the TX buffer size, cap the associated data length to 0x80000000.

Affected packages

Ecosystem Package Introduced Fixed