CVE-2024-35882
published high CVSS 3.1 · 7.5SUNRPC: Fix a slow server-side memory leak with RPC-over-TCP
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe18e157bb5c8c1cd8a9ba25acfdcf4f3035836f4 to < 1ba1291172f935e6b6fe703161a948f3347400b8 · e18e157bb5c8c1cd8a9ba25acfdcf4f3035836f4 to < a2ebedf7bcd17a1194a0a18122c885eb578ee882 · e18e157bb5c8c1cd8a9ba25acfdcf4f3035836f4 to < 05258a0a69b3c5d2c003f818702c0a52b6fea861 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 6.6.26 through 6.6.* (unaffected · semver) · 6.8.5 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-aws | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-aws-cloud-tools-6.8.0-1011 | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-aws-headers-6.8.0-1011 | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-aws-tools-6.8.0-1011 | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-azure | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-azure-cloud-tools-6.8.0-1010 | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-azure-headers-6.8.0-1010 | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-azure-tools-6.8.0-1010 | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1006-gke | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1007-intel | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1007-raspi | Advisory build | 6.8.0-1007.7 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-ibm | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-oem | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-oracle | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-oracle-64k | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1009-nvidia | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1009-nvidia-64k | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1010-azure | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1010-gcp | Advisory build | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1011-aws | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-buildinfo-6.8.0-38-generic | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-38-generic-64k | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-38-lowlatency | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-38-lowlatency-64k | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1007-intel | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1010-azure | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1011-aws | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-38 | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-38-generic | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-38-lowlatency | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-common | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-gcp | Advisory build | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu | noble | linux-gcp-headers-6.8.0-1010 | Advisory build | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu | noble | linux-gcp-tools-6.8.0-1010 | Advisory build | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu | noble | linux-gke | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-gke-headers-6.8.0-1006 | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-gke-tools-6.8.0-1006 | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-headers-6.8.0-1006-gke | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-headers-6.8.0-1007-intel | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-1007-raspi | Advisory build | 6.8.0-1007.7 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-1008-ibm | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-1008-oem | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-1008-oracle | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-headers-6.8.0-1008-oracle-64k | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-headers-6.8.0-1009-nvidia | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-headers-6.8.0-1009-nvidia-64k | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-headers-6.8.0-1010-azure | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-1010-gcp | Advisory build | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-1011-aws | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-headers-6.8.0-38 | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-38-generic | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-38-generic-64k | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-38-lowlatency | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-38-lowlatency-64k | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-ibm | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-ibm-cloud-tools-common | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-ibm-headers-6.8.0-1008 | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-ibm-source-6.8.0 | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-ibm-tools-6.8.0-1008 | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-image-6.8.0-1007-raspi | Advisory build | 6.8.0-1007.7 | USN-6893-1 |
| Ubuntu | noble | linux-image-6.8.0-38-generic | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1006-gke | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1007-intel | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-ibm | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-oem | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-oracle | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-oracle-64k | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1009-nvidia | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1009-nvidia-64k | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1010-azure | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1010-gcp | Advisory build | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1011-aws | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-38-generic | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-38-generic-64k | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-38-lowlatency | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-38-lowlatency-64k | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-intel | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-intel-cloud-tools-6.8.0-1007 | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-intel-headers-6.8.0-1007 | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-intel-tools-6.8.0-1007 | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-lib-rust-6.8.0-38-generic | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-6.8.0-38 | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-common | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency-headers-6.8.0-38 | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency-lib-rust-6.8.0-38-lowlatency | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency-tools-6.8.0-38 | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency-tools-common | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency-tools-host | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-modules-6.8.0-1006-gke | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-modules-6.8.0-1007-intel | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-modules-6.8.0-1007-raspi | Advisory build | 6.8.0-1007.7 | USN-6893-1 |
| Ubuntu | noble | linux-modules-6.8.0-1008-ibm | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-modules-6.8.0-1008-oem | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-modules-6.8.0-1008-oracle | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-modules-6.8.0-1008-oracle-64k | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-modules-6.8.0-1009-nvidia | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-modules-6.8.0-1009-nvidia-64k | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-modules-6.8.0-1010-azure | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: AV:N - The leak is in the server-side SUNRPC transmit path used by nfsd/lockd over TCP; it is triggered by sending an RPC to the listening socket from any remote host that can reach the service. AC:L - No race, timing, or memory-layout condition is involved — every RPC reply leaks the record-marker fragment deterministically, and every new TCP connection leaks a full 32 KB page. PR:N - svc_process_common() emits a reply (and thus allocates the leaked marker) via its err_bad_prog/err_bad_vers/err_bad_proc/err_bad_auth paths and for the NULL procedure, so no valid credentials or export membership are needed. UI:N - The attacker drives the entire sequence by connecting and sending RPC traffic; no action by a local user or administrator is required. S:U - The leaked memory and the resulting exhaustion are confined to the kernel of the NFS server itself, with no crossing of a virtualization, IOMMU, or sandbox boundary. C:N - The bug only fails to release a reference on a page fragment; no kernel memory contents are disclosed to the attacker and there is no out-of-bounds read. I:N - No memory is corrupted or overwritten — the fragment is simply never freed, so no data or control-flow integrity is affected. A:H - __page_frag_cache_drain() cannot free the 32 KB order-3 page because the never-released marker fragment holds the last reference, so each unauthenticated connection permanently leaks up to 32 KB; a remote attacker looping connect/send/close exhausts server memory and triggers OOM, and real deployments died of memory exhaustion under normal load.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e18e157bb5c8c1cd8a9ba25acfdcf4f3035836f4 to < 1ba1291172f935e6b6fe703161a948f3347400b8 (affected · git)e18e157bb5c8c1cd8a9ba25acfdcf4f3035836f4 to < a2ebedf7bcd17a1194a0a18122c885eb578ee882 (affected · git)e18e157bb5c8c1cd8a9ba25acfdcf4f3035836f4 to < 05258a0a69b3c5d2c003f818702c0a52b6fea861 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.6 (affected)0 to < 6.6 (unaffected · semver)6.6.26 through 6.6.* (unaffected · semver)6.8.5 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
3Linux · cna
SUNRPC: Fix a slow server-side memory leak with RPC-over-TCP
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ecc93da27c1d7456dce16d531d6c8553ba71d36b2fd6cad5647ae02cd931a212
- Ingested
- 23 Sep 2026, 08:23:51 UTC
- Source record
- Official CVE record