{"api_version":"1","generated_at":"2026-12-04T05:37:29+00:00","cve":"CVE-2026-143230","urls":{"html":"https://cve.report/CVE-2026-143230","api":"https://cve.report/api/cve/CVE-2026-143230.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143230","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143230"},"summary":{"title":"ice: xsk: do not free in-flight frags on XDP_TX completion","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:18:01","updated_at":"2026-12-04 04:17:44"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"8.1","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"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","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"8.1","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":8.1,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/0061c4ad01ace9ff4334553780ae3be4a8a8f2b5","name":"https://git.kernel.org/stable/c/0061c4ad01ace9ff4334553780ae3be4a8a8f2b5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5a9b5e315e101dfa02af5d8d3b27d893ba3e5566","name":"https://git.kernel.org/stable/c/5a9b5e315e101dfa02af5d8d3b27d893ba3e5566","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d6ab1051176da32103a61a444788bb3c175ee9ca","name":"https://git.kernel.org/stable/c/d6ab1051176da32103a61a444788bb3c175ee9ca","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143230","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143230","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected eeb2b5381038201133b52829634d2f95a4a8ac5e 0061c4ad01ace9ff4334553780ae3be4a8a8f2b5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected eeb2b5381038201133b52829634d2f95a4a8ac5e d6ab1051176da32103a61a444788bb3c175ee9ca git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected eeb2b5381038201133b52829634d2f95a4a8ac5e 5a9b5e315e101dfa02af5d8d3b27d893ba3e5566 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"143230","cve":"CVE-2026-143230","epss":"0.002060000","percentile":"0.113080000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/ethernet/intel/ice/ice_xsk.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"0061c4ad01ace9ff4334553780ae3be4a8a8f2b5","status":"affected","version":"eeb2b5381038201133b52829634d2f95a4a8ac5e","versionType":"git"},{"lessThan":"d6ab1051176da32103a61a444788bb3c175ee9ca","status":"affected","version":"eeb2b5381038201133b52829634d2f95a4a8ac5e","versionType":"git"},{"lessThan":"5a9b5e315e101dfa02af5d8d3b27d893ba3e5566","status":"affected","version":"eeb2b5381038201133b52829634d2f95a4a8ac5e","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/ethernet/intel/ice/ice_xsk.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.6"},{"lessThan":"6.6","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"6.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"6.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc3","versionStartIncluding":"6.6","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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":{"baseScore":8.1,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"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."}]}],"providerMetadata":{"dateUpdated":"2026-12-04T03:31:31.320Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143230","datePublished":"2026-12-03T09:20:46.707Z","dateReserved":"2026-12-03T03:10:28.361Z","dateUpdated":"2026-12-04T03:31:31.320Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:18:01","lastModifiedDate":"2026-12-04 04:17:44","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"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","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.2,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143230","Ordinal":"1","Title":"ice: xsk: do not free in-flight frags on XDP_TX completion","CVE":"CVE-2026-143230","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143230","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"ice: xsk: do not free in-flight frags on XDP_TX completion"}]}}}