CVE-2024-35882
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
19/05/2024
Last modified:
20/05/2024
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
SUNRPC: Fix a slow server-side memory leak with RPC-over-TCP<br />
<br />
Jan Schunk reports that his small NFS servers suffer from memory<br />
exhaustion after just a few days. A bisect shows that commit<br />
e18e157bb5c8 ("SUNRPC: Send RPC message on TCP with a single<br />
sock_sendmsg() call") is the first bad commit.<br />
<br />
That commit assumed that sock_sendmsg() releases all the pages in<br />
the underlying bio_vec array, but the reality is that it doesn&#39;t.<br />
svc_xprt_release() releases the rqst&#39;s response pages, but the<br />
record marker page fragment isn&#39;t one of those, so it is never<br />
released.<br />
<br />
This is a narrow fix that can be applied to stable kernels. A<br />
more extensive fix is in the works.



