CVE-2024-35882CWE-401

CVE-2024-35882

High · published May 19, 2024

CVSS v3.1
7.5
EPSS
1%
Percentile
48.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00601 · 48.1th percentile
Weakness
CWE-401 · Missing Release of Memory after Effective Lifetime
Published
2024-05-19T13:15Z
Affected products (4)
ProductVersionsFixed in
linux/linux_kernel≥ 6.6, < 6.6.266.6.26
linux/linux_kernel≥ 6.7, < 6.8.56.8.5
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (6)
EPSS history
Timeline
  • 19 MAY 08:34Z
    SUNRPC: Fix a slow server-side memory leak with RPC-over-TCP
    cvelistv5