{"id":"CVE-2024-35882","published":"2024-05-19T08:34:39Z","modified":"2026-08-05T11:30:39Z","title":"SUNRPC: Fix a slow server-side memory leak with RPC-over-TCP","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: Fix a slow server-side memory leak with RPC-over-TCP\n\nJan Schunk reports that his small NFS servers suffer from memory\nexhaustion after just a few days. A bisect shows that commit\ne18e157bb5c8 (\"SUNRPC: Send RPC message on TCP with a single\nsock_sendmsg() call\") is the first bad commit.\n\nThat commit assumed that sock_sendmsg() releases all the pages in\nthe underlying bio_vec array, but the reality is that it doesn't.\nsvc_xprt_release() releases the rqst's response pages, but the\nrecord marker page fragment isn't one of those, so it is never\nreleased.\n\nThis is a narrow fix that can be applied to stable kernels. A\nmore extensive fix is in the works.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00601,"percentile":0.497,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/1ba1291172f935e6b6fe703161a948f3347400b8","tags":[]},{"url":"https://git.kernel.org/stable/c/a2ebedf7bcd17a1194a0a18122c885eb578ee882","tags":[]},{"url":"https://git.kernel.org/stable/c/05258a0a69b3c5d2c003f818702c0a52b6fea861","tags":[]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":9.94},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e18e157bb5c8c1cd8a9ba25acfdcf4f3035836f4, < 1ba1291172f935e6b6fe703161a948f3347400b8",">= e18e157bb5c8c1cd8a9ba25acfdcf4f3035836f4, < a2ebedf7bcd17a1194a0a18122c885eb578ee882",">= e18e157bb5c8c1cd8a9ba25acfdcf4f3035836f4, < 05258a0a69b3c5d2c003f818702c0a52b6fea861"]},{"vendor":"Linux","product":"Linux","versions":["6.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-20T17:12:02.633258Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-35600","exploited":false,"provenance":"source"}}