Bug 2035946 (CVE-2021-45480)

Summary: CVE-2021-45480 kernel: memory leak in the __rds_conn_create() in net/rds/connection.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, adscvr, airlied, alciregi, bdettelb, bhu, brdeoliv, bskeggs, chwhite, crwood, dhoward, dvlasenk, fhrbata, fpacheco, hdegoede, hkrzesin, jarod, jarodwilson, jburrell, jeremy, jfaracco, jforbes, jglisse, jlelli, jonathan, josef, jshortt, jstancek, jwboyer, kcarcia, kernel-maint, kernel-mgr, kheib, lgoncalv, linville, lzampier, masami256, mchehab, nmurray, ptalbert, qzhao, rvrbovsk, scweaver, steved, vkumar, walters, williams
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 5.16 rc6 Doc Type: If docs needed, set a value
Doc Text:
A memory leak flaw was found in the Reliable Datagram Socket (RDS) in TCP in the Linux kernel. A local attacker, with user privileges, could cause a denial of service on the system. The issue results from the code cleanup in __rds_conn_create in net/rds/connection.c.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-18 02:26:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2035947, 2036980    
Bug Blocks: 2035948    

Description Guilherme de Almeida Suckevicz 2021-12-28 18:50:16 UTC
An issue was discovered in the Linux kernel before 5.15.11. There is a memory leak in the __rds_conn_create() function in net/rds/connection.c in a certain combination of circumstances.

Reference and upstream patch:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5f9562ebe710c307adc5f666bf1a2162ee7977c0

Comment 1 Guilherme de Almeida Suckevicz 2021-12-28 18:50:45 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2035947]

Comment 2 Justin M. Forbes 2021-12-29 14:24:09 UTC
This was fixed for Fedora with the 5.15.11 stable kernel updates.

Comment 10 Product Security DevOps Team 2022-04-18 02:26:51 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-45480