Bug 2281708 (CVE-2024-35882)

Summary: CVE-2024-35882 kernel: SUNRPC: Fix a slow server-side memory leak with RPC-over-TCP
Product: [Other] Security Response Reporter: ybuenos
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, allarkin, aquini, bhu, chwhite, cye, cyin, dbohanno, debarbos, dfreiber, drow, dvlasenk, esandeen, ezulian, hkrzesin, jarod, jburrell, jdenham, jfaracco, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, ldoskova, lgoncalv, lzampier, mleitner, mmilgram, mstowell, nmurray, ptalbert, rparrazo, rrobaina, rvrbovsk, rysulliv, scweaver, sidakwo, sukulkar, tglozar, tyberry, vkumar, wcosta, williams, wmealing, ycote, ykopkova, zhijwang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 6.6.26, kernel 6.8.5, kernel 6.9 Doc Type: If docs needed, set a value
Doc Text:
A memory leak vulnerability was found in the Linux kernel's SUNRPC implementation for RPC-over-TCP. The issue occurs because the `sock_sendmsg()` function does not release all memory pages in the underlying `bio_vec` array, causing a slow memory leak that affects servers using NFS and can lead to memory exhaustion over time.
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2281709    
Bug Blocks: 2281751    

Description ybuenos 2024-05-20 12:12:44 UTC
In the Linux kernel, the following vulnerability has been resolved:

SUNRPC: Fix a slow server-side memory leak with RPC-over-TCP

The Linux kernel CVE team has assigned CVE-2024-35882 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024051945-CVE-2024-35882-f7cf@gregkh/T

Comment 1 ybuenos 2024-05-20 12:13:30 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2281709]

Comment 2 Alex 2024-06-09 13:55:04 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2024-35882 is: 	SKIP	The Fixes patch not applied yet, so unlikely that actual: e18e157bb5c8c1cd8a9ba25acfdcf4f3035836f4	YES			NO	NO	unknown	 (where first YES/NO value means if related sources built).