Bug 1997467 (CVE-2021-3764) - CVE-2021-3764 kernel: DoS in ccp_run_aes_gcm_cmd() function
Summary: CVE-2021-3764 kernel: DoS in ccp_run_aes_gcm_cmd() function
Keywords:
Status: NEW
Alias: CVE-2021-3764
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1997593 1997594 1997595 1997591 1997592
Blocks: 1996557
TreeView+ depends on / blocked
 
Reported: 2021-08-25 09:59 UTC by Alex
Modified: 2021-11-09 11:11 UTC (History)
42 users (show)

Fixed In Version: Linux kernel 4.12-rc1
Doc Type: If docs needed, set a value
Doc Text:
A memory leak flaw was found in the Linux kernel's ccp_run_aes_gcm_cmd() function that allows an attacker to cause a denial of service. The vulnerability is similar to the older CVE-2019-18808. The highest threat from this vulnerability is to system availability.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Alex 2021-08-25 09:59:08 UTC
A memory leak in the ccp_run_aes_gcm_cmd() function in drivers/crypto/ccp/ccp-ops.c in the Linux kernel allows attackers to cause a denial of service (memory consumption).
It happens if function ccp_init_data(&src) returns error code (that is being called from the ccp_run_aes_gcm_cmd).
This vulnerability is similar with the older CVE-2019-18808 and both with the CVE-2021-3744 (and the patch for the CVE-2021-3744 contains fix for this one too).

Reference:
TODO: add link to the patch when available

Comment 11 Vladis Dronov 2021-11-09 11:11:31 UTC
the fixing upstream commit is present since v5.15-rc4 and is:
505d9dcb0f7d ("crypto: ccp - fix resource leaks in ccp_run_aes_gcm_cmd()")


Note You need to log in before you can comment on or make changes to this bug.