CVE-2021-3764
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-3764 is a memory leak vulnerability discovered in the Linux kernel's ccp_run_aes_gcm_cmd() function within the AMD Cryptographic Coprocessor (CCP) driver. The vulnerability was identified in 2021 and is similar to the older CVE-2019-18808. This flaw allows an attacker to cause a denial of service through memory consumption when the ccp_init_data() function returns an error code (Ubuntu Security, Debian Security).

Technical details

The vulnerability exists in the drivers/crypto/ccp/ccp-ops.c file of the Linux kernel. The issue occurs specifically in the ccp_run_aes_gcm_cmd() function when ccp_init_data(&src) returns an error code. There were three specific bugs identified: incorrect error handling after ccp_init_data() failure, incorrect label naming for freeing final_wa resources, and a memory leak in the tag handling path (GitHub Commit). The vulnerability has been assigned a CVSS 3 Severity Score of 5.5 (Medium) (Ubuntu Security).

Impact

The primary impact of this vulnerability is to system availability through denial of service caused by memory exhaustion. The highest threat from this vulnerability is to system availability, as it allows attackers to cause memory consumption through resource leaks (Ubuntu Security).

Mitigation and workarounds

The vulnerability was fixed in Linux kernel version 5.15-rc4 through commit 505d9dcb0f7d. The fix addresses all three identified bugs by correcting error handling paths and proper resource cleanup. Various Linux distributions have backported the fix to their supported kernel versions, including Ubuntu, Red Hat, and Debian (GitHub Commit, Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management