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 < 1%, and the vulnerability is not listed in CISA’s KEV catalog, so publicly known exploitation is not documented. The CVSS score of 5.5 indicates medium severity. 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. The possibility of denial of service and the absence of mitigation in the unpatched kernel make the risk moderate in environments with heavy cryptographic workloads.

Generated by OpenCVE AI on June 18, 2026 at 02:16 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 June 18, 2026 at 02:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4664-1 linux security update
Debian DLA Debian DLA DLA-4665-1 linux security update
Debian DLA Debian DLA DLA-4671-1 linux-6.1 security update
Ubuntu USN Ubuntu USN USN-8488-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8489-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8488-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8507-1 Linux kernel (NVIDIA) vulnerabilities
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-17T10:52:51.137

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-06-18T02:30:15Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime

  • CWE-772

    Missing Release of Resource after Effective Lifetime