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: 5.5 Medium
EPSS: < 1% Very Low
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 28, 2026 at 01:35 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 28, 2026 at 01:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 16 Jun 2026 14:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Mon, 01 Jun 2026 17:00:00 +0000


Thu, 28 May 2026 00:15:00 +0000


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-06-14T17:46:33.494Z

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

Link: CVE-2026-45986

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

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

Modified: 2026-06-16T14:04:21.353

Link: CVE-2026-45986

cve-icon Redhat

Severity :

Publid Date: 2026-05-27T00:00:00Z

Links: CVE-2026-45986 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-28T01:45:03Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime