{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143230","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.361Z","datePublished":"2026-12-03T09:20:46.707Z","dateUpdated":"2026-12-04T03:31:31.320Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-04T03:31:31.320Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nice: xsk: do not free in-flight frags on XDP_TX completion\n\nice_xmit_xdp_tx_zc() takes the frags of a multi-buffer frame off\npool->xskb_list but leaves XDP_FLAGS_HAS_FRAGS set on the head. When\nthe head completes, xsk_buff_free() frees whatever is on the list at\nthat point, which are the frags of a frame still being received.\n\nIf ice_xmit_xdp_tx_zc() completes such a head while cleaning the ring\nbefore sending another frame, xsk_buff_get_frag() returns NULL and\nxsk_buff_xdp_get_dma() dereferences it.\n\nClear the flag on the head once its frags are on the ring. As\nxdp_get_buff_len() then covers only the head, count Rx bytes before\nrunning the XDP program, like libeth does."}],"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 - The input is a multi-buffer Ethernet frame DMA'd onto the ice ZC Rx ring. ice_napi_poll() calls ice_clean_rx_irq_zc(), which xsk_buff_add_frag()s each non-EOP piece; ice_run_xdp_zc() then calls ice_xmit_xdp_tx_zc() when bpf_prog_run_xdp() returns XDP_TX. That function takes the frags off pool->xskb_list but left XDP_FLAGS_HAS_FRAGS set on the head.\nAC:H - The sender cannot call ice_xdp() (XDP_SETUP_PROG / XDP_SETUP_XSK_POOL) to load an XDP_TX program or bind the zero-copy pool, and cannot choose the Rx buffer that makes ice_is_non_eop() true. ice_clean_xdp_irq_zc() must then complete that head, from ice_xmit_xdp_tx_zc() when free_space < ICE_RING_QUARTER or from ice_xmit_zc(), while the next frame's frags are still on pool->xskb_list.\nPR:N - ice_clean_rx_irq_zc() runs from ice_napi_poll() on the DMA'd frame with no socket lookup or credential check. xsk_create()'s CAP_NET_RAW check and ice_xdp()'s rtnl path configured the queue earlier; the sender holds neither.\nUI:N - The sender's frame is assembled in ice_clean_rx_irq_zc() and completed in that NAPI poll; no local user has to mount media, open a device, or take any other action.\nS:U - xp_free() of the in-use xdp_buff_xsk and the pool->xskb_list update stay in the host kernel that owns the ice net_device. ice_xdp() returns -EINVAL unless the VSI is ICE_VSI_PF or ICE_VSI_SF, so a VF guest does not reach this path.\nC:H - ice_clean_xdp_irq_zc() calls xsk_buff_free() on the head that still has XDP_FLAGS_HAS_FRAGS, so xsk_buff_free() xp_free()s every xdp_buff_xsk on pool->xskb_list. ice_alloc_rx_bufs_zc() can then recycle those frags while the in-progress frame's skb_shared_info still names the same UMEM, and xdp_build_skb_from_zc() memcpy's that memory after the free.\nI:H - After that premature xp_free(), ice_fill_rx_descs() posts the same xdp_buff_xsk DMA address on a new Rx descriptor while the in-progress frame's skb_shared_info still names it, so the NIC overwrites the old frag and xp_alloc() rewrites that xskb's data pointers and flags under the old frame.\nA:H - When ice_xmit_xdp_tx_zc() calls ice_clean_xdp_irq_zc() before queuing the next multi-buffer frame, xsk_buff_get_frag() returns NULL and xsk_buff_xdp_get_dma() loads xdp_buff_xsk.dma through that NULL xdp pointer, oopsing in NAPI. The same xp_free() also returns a buffer the Rx ring still posts."}]}],"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/ice/ice_xsk.c"],"versions":[{"version":"eeb2b5381038201133b52829634d2f95a4a8ac5e","lessThan":"0061c4ad01ace9ff4334553780ae3be4a8a8f2b5","status":"affected","versionType":"git"},{"version":"eeb2b5381038201133b52829634d2f95a4a8ac5e","lessThan":"d6ab1051176da32103a61a444788bb3c175ee9ca","status":"affected","versionType":"git"},{"version":"eeb2b5381038201133b52829634d2f95a4a8ac5e","lessThan":"5a9b5e315e101dfa02af5d8d3b27d893ba3e5566","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/ice/ice_xsk.c"],"versions":[{"version":"6.6","status":"affected"},{"version":"0","lessThan":"6.6","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.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/0061c4ad01ace9ff4334553780ae3be4a8a8f2b5"},{"url":"https://git.kernel.org/stable/c/d6ab1051176da32103a61a444788bb3c175ee9ca"},{"url":"https://git.kernel.org/stable/c/5a9b5e315e101dfa02af5d8d3b27d893ba3e5566"}],"title":"ice: xsk: do not free in-flight frags on XDP_TX completion","x_generator":{"engine":"bippy-1.2.0"}}}}