{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143228","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.361Z","datePublished":"2026-12-03T09:20:45.409Z","dateUpdated":"2026-12-04T03:31:24.572Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-04T03:31:24.572Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ni40e: xsk: fix multi-buffer XDP_PASS skb construction\n\nWhen AF_XDP ZC receives a multi-buffer frame and the XDP program\nreturns XDP_PASS, i40e_construct_skb_zc() copies frags into a new\nskb. The copy used skb_frag_page() as the memcpy source (page\nmetadata instead of packet data) and passed a virtual address to\n__skb_fill_page_desc_noacc(), which expects a struct page *.\n\nUse skb_frag_address() for the copy, attach frags with\nskb_add_rx_frag() so len/data_len/truesize are updated, and on\ndev_alloc_page() failure free the skb via the shared out path so\nxsk_buff_free() still runs and previously attached pages are\nreleased by kfree_skb."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.1,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - A received Ethernet/IP frame longer than the AF_XDP ZC buffer is the input: i40e_configure_rx_ring sets ring->rx_buf_len from xsk_pool_get_rx_frame_size, i40e_msix_clean_rings schedules i40e_napi_poll, and i40e_clean_rx_irq_zc splits the frame on i40e_is_non_eop via xsk_buff_add_frag. XDP_PASS then calls i40e_construct_skb_zc. The frame reaches i40e as routable IP.\nAC:H - i40e_construct_skb_zc runs only when i40e_run_xdp_zc returns XDP_PASS on a queue that i40e_xsk_pool has given an xsk_pool, and only for a frame longer than that queue's rx_buf_len. A remote sender cannot attach the ZC pool, load the XDP program, or choose the UMEM chunk size.\nPR:N - i40e_clean_rx_irq_zc handles the DMA'd frame in NAPI before socket demux or any credential check, so the sender needs no privilege on the host. The CAP_NET_RAW check in xsk_create applies to the local process that already bound the queue.\nUI:N - The attacker triggers the bug by transmitting the frame. i40e_napi_poll already consumes the RX ring; no local user has to mount, open, or click anything.\nS:U - The corrupted state stays in the host kernel that owns the i40e device: skb frags built by i40e_construct_skb_zc and the UMEM folio pinned by xdp_umem_pin_pages.\nC:H - The pre-fix loop memcpy'd skb_frag_size bytes from skb_frag_page (vmemmap) and stored page_to_virt as the frag via __skb_fill_page_desc_noacc. skb_release_data then put_page's that address; _compound_head follows the copied tail compound_info and folio_put drops the live UMEM folio. Draining it frees a page the pool still DMA-maps, a UAF of recycled memory.\nI:H - folio_put writes the UMEM folio refcount through a virtual address stored as struct page *. Repeating it frees the folio while xdp_umem_pin_pages still pins it and the NIC still DMAs RX into it, so later packets overwrite whatever the allocator reuses the page for.\nA:H - Each such frame leaks its dev_alloc_page because the real struct page is never put, and once folio_put_testzero succeeds __folio_put frees a buffer the RX ring still posts. That UAF oopses in i40e NAPI. The old dev_alloc_page failure path also returned before xsk_buff_free."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/i40e/i40e_xsk.c"],"versions":[{"version":"1c9ba9c146589ff3d679b21e5e56b2d25ef43edd","lessThan":"20c33b7e9f605e56e1e313c4f50ac4ee3df25626","status":"affected","versionType":"git"},{"version":"1c9ba9c146589ff3d679b21e5e56b2d25ef43edd","lessThan":"0494c2cc34bc0f4415090c937690b0278952afe8","status":"affected","versionType":"git"},{"version":"1c9ba9c146589ff3d679b21e5e56b2d25ef43edd","lessThan":"d954e0713731d71bdec8fec416bcf2e27ef98038","status":"affected","versionType":"git"},{"version":"1c9ba9c146589ff3d679b21e5e56b2d25ef43edd","lessThan":"76b41e83e69ae4ab23cc3535e36b780ea17e76c2","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/i40e/i40e_xsk.c"],"versions":[{"version":"6.6","status":"affected"},{"version":"0","lessThan":"6.6","status":"unaffected","versionType":"semver"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc3","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.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"7.4-rc3"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/20c33b7e9f605e56e1e313c4f50ac4ee3df25626"},{"url":"https://git.kernel.org/stable/c/0494c2cc34bc0f4415090c937690b0278952afe8"},{"url":"https://git.kernel.org/stable/c/d954e0713731d71bdec8fec416bcf2e27ef98038"},{"url":"https://git.kernel.org/stable/c/76b41e83e69ae4ab23cc3535e36b780ea17e76c2"}],"title":"i40e: xsk: fix multi-buffer XDP_PASS skb construction","x_generator":{"engine":"bippy-1.2.0"}}}}