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

crypto: ccree - fix a memory leak in cc_mac_digest()

Add cc_unmap_result() if cc_map_hash_request_final()
fails to prevent potential memory leak.
Published: 2026-05-27
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel contained a flaw in the crypto cc_mac_digest function where a failing cc_map_hash_request_final call could leave allocated memory unmapped, creating a memory leak. This vulnerability is a textbook case of CWE-401 Memory Leak and can cause accumulated memory usage to grow until the system exhausts resources, leading to service disruption. Based on the description, it is inferred that an attacker would need to trigger cryptographic operations that exercise the failing path, which could be done locally or through a vulnerable kernel crypto API exposed to userspace.

Affected Systems

All Linux kernel releases that implement the cc_mac_digest routine are susceptible until the patch that introduces cc_unmap_result is applied. The vulnerability is not tied to a specific kernel sub‑release, so any kernel without the fix—regardless of distribution—may be affected.

Risk and Exploitability

The EPSS score is not available, and the vulnerability is not in CISA’s KEV catalog, so publicly known exploitation is not documented. Nonetheless, the memory leak can be abused by a local attacker who can trigger the problematic function, or by a remote attacker if the kernel exposes a crypto service that can be manipulated. Without a CVSS score, severity cannot be formally rated, but the possibility of denial of service and the absence of mitigation in the unpatched kernel make the risk moderate to high in environments with heavy cryptographic workloads.

Generated by OpenCVE AI on May 27, 2026 at 20:33 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the Linux kernel patch that adds cc_unmap_result to cc_mac_digest.
  • Reboot or reload the kernel after the patch to ensure the fix is active.
  • Monitor memory usage for abnormal growth and restrict cryptographic operations if necessary.

Generated by OpenCVE AI on May 27, 2026 at 20:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 27 May 2026 21:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Wed, 27 May 2026 14:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: crypto: ccree - fix a memory leak in cc_mac_digest() Add cc_unmap_result() if cc_map_hash_request_final() fails to prevent potential memory leak.
Title crypto: ccree - fix a memory leak in cc_mac_digest()
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-05-27T12:55:35.838Z

Reserved: 2026-05-13T15:03:33.090Z

Link: CVE-2026-45986

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-27T14:17:15.963

Modified: 2026-05-27T14:48:03.013

Link: CVE-2026-45986

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-27T21:30:34Z

Weaknesses