{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-35834","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-05-17T13:50:33.103Z","datePublished":"2024-05-17T14:02:19.184Z","dateUpdated":"2026-08-05T11:30:12.321Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T11:30:12.321Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nxsk: recycle buffer in case Rx queue was full\n\nAdd missing xsk_buff_free() call when __xsk_rcv_zc() failed to produce\ndescriptor to XSK Rx queue."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H","baseScore":8.2,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - The trigger condition — the AF_XDP Rx ring becoming full in `__xsk_rcv_zc()` — is produced purely by inbound network packets arriving faster than the userspace application drains the ring, so a remote attacker flooding the NIC bound to the zero-copy socket reaches the vulnerable path with no local access. AF_XDP zero-copy data planes (cloud load balancers, 5G UPF, DPDK-style userspace networking) are by definition internet-facing.\nAC:L - The attacker fully controls the trigger by sending traffic faster than the application consumes it; there is no race to win and no memory-layout dependency, and `XDP_USE_NEED_WAKEUP` (which makes the ice/i40e drivers take the `XDP_EXIT` path that also skips the free) is the libbpf/xdpsock default. Every `-ENOBUFS` event leaks a buffer, so a flood drains the fixed-size umem pool deterministically.\nPR:N - No credentials or local account are needed — the attacker only has to send packets to the interface, and the entire path runs in the driver NAPI/XDP receive context before any authentication or authorization exists.\nUI:N - The leak occurs automatically during packet reception in the driver's NAPI poll; no action by any local user or administrator is required beyond the AF_XDP application already running.\nS:U - The leaked buffers and the resulting resource exhaustion are confined to the kernel's XSK buffer pool and the host's network stack, with no crossing into a hypervisor, IOMMU, or other security authority.\nC:N - There is no out-of-bounds read, uninitialized-memory read, or use-after-free; the stale `xskb_list` fragments that get mis-delivered contain packet data that was already destined for that same socket's umem, so no kernel memory or cross-boundary data is disclosed.\nI:L - Fragments left on the shared `pool->xskb_list` are produced as descriptors for a subsequent, unrelated frame, and the already-reserved `XDP_PKT_CONTD` descriptors desynchronize reassembly, so the attacker can cause corrupted, mis-assembled packet data to be delivered to the userspace application. This is bounded data corruption on the receive path, not an arbitrary write or control-flow hijack.\nA:H - Each Rx-full event permanently removes a chunk from the fixed-size, non-replenishable XSK buffer pool; a sustained flood drains it entirely, after which `xp_alloc_batch()` returns nothing, the Rx ring cannot be refilled, and packet reception on that queue ceases while `ice_clean_rx_irq_zc()` keeps returning `budget` and re-arming NAPI. This is a complete, non-self-healing denial of service of the network data path requiring an application restart to recover."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/xdp/xsk.c"],"versions":[{"version":"24ea50127ecf0efe819c1f6230add27abc6ca9d9","lessThan":"cce713664548284daf977739e7ff1cd59e84189c","status":"affected","versionType":"git"},{"version":"24ea50127ecf0efe819c1f6230add27abc6ca9d9","lessThan":"7b4d93d31aade99210d41cd9d4cbd2957c98bc8c","status":"affected","versionType":"git"},{"version":"24ea50127ecf0efe819c1f6230add27abc6ca9d9","lessThan":"269009893146c495f41e9572dd9319e787c2eba9","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/xdp/xsk.c"],"versions":[{"version":"6.6","status":"affected"},{"version":"0","lessThan":"6.6","status":"unaffected","versionType":"semver"},{"version":"6.6.15","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.7.3","lessThanOrEqual":"6.7.*","status":"unaffected","versionType":"semver"},{"version":"6.8","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.6.15"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.7.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.8"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/cce713664548284daf977739e7ff1cd59e84189c"},{"url":"https://git.kernel.org/stable/c/7b4d93d31aade99210d41cd9d4cbd2957c98bc8c"},{"url":"https://git.kernel.org/stable/c/269009893146c495f41e9572dd9319e787c2eba9"}],"title":"xsk: recycle buffer in case Rx queue was full","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-12T15:14:57.887303Z","id":"CVE-2024-35834","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-12T15:15:08.082Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T03:21:48.585Z"},"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/cce713664548284daf977739e7ff1cd59e84189c","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/7b4d93d31aade99210d41cd9d4cbd2957c98bc8c","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/269009893146c495f41e9572dd9319e787c2eba9","tags":["x_transferred"]}]}]}}