CVE-2024-35882 Details
Description
In the Linux kernel, the following vulnerability has been resolved: SUNRPC: Fix a slow server-side memory leak with RPC-over-TCP Jan Schunk reports that his small NFS servers suffer from memory exhaustion after just a few days. A bisect shows that commit e18e157bb5c8 ("SUNRPC: Send RPC message on TCP with a single sock_sendmsg() call") is the first bad commit. That commit assumed that sock_sendmsg() releases all the pages in the underlying bio_vec array, but the reality is that it doesn't. svc_xprt_release() releases the rqst's response pages, but the record marker page fragment isn't one of those, so it is never released. This is a narrow fix that can be applied to stable kernels. A more extensive fix is in the works.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 20, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/05258a0a69b3c5d2c003f818702c0a52b6fea861 | kernel.org | Mailing ListPatch |
| https://git.kernel.org/stable/c/1ba1291172f935e6b6fe703161a948f3347400b8 | kernel.org | Mailing ListPatch |
| https://git.kernel.org/stable/c/a2ebedf7bcd17a1194a0a18122c885eb578ee882 | kernel.org | Mailing ListPatch |
| https://git.kernel.org/stable/c/05258a0a69b3c5d2c003f818702c0a52b6fea861 | CVE | Mailing ListPatch |
| https://git.kernel.org/stable/c/1ba1291172f935e6b6fe703161a948f3347400b8 | CVE | Mailing ListPatch |
| https://git.kernel.org/stable/c/a2ebedf7bcd17a1194a0a18122c885eb578ee882 | CVE | Mailing ListPatch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.6, < 6.6.26 >= 6.7, < 6.8.5 6.9 rc1 6.9 rc2 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Mar 5, 2025 | Initial Analysis | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 29, 2024 | CVE Modified | kernel.org |
| May 19, 2024 | New CVE Received | kernel.org |