{"id":"CVE-2026-143230","state":"PUBLISHED","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.","publishedAt":"2026-12-03T09:20:46.707Z","updatedAt":"2026-12-03T09:20:46.707Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"eeb2b5381038201133b52829634d2f95a4a8ac5e","status":"affected","lessThan":"0061c4ad01ace9ff4334553780ae3be4a8a8f2b5","versionType":"git"},{"version":"eeb2b5381038201133b52829634d2f95a4a8ac5e","status":"affected","lessThan":"d6ab1051176da32103a61a444788bb3c175ee9ca","versionType":"git"},{"version":"eeb2b5381038201133b52829634d2f95a4a8ac5e","status":"affected","lessThan":"5a9b5e315e101dfa02af5d8d3b27d893ba3e5566","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/ice/ice_xsk.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/ice/ice_xsk.c"]}],"references":["https://git.kernel.org/stable/c/0061c4ad01ace9ff4334553780ae3be4a8a8f2b5","https://git.kernel.org/stable/c/d6ab1051176da32103a61a444788bb3c175ee9ca","https://git.kernel.org/stable/c/5a9b5e315e101dfa02af5d8d3b27d893ba3e5566"],"weaknesses":[],"ingestedAt":"2026-12-03T09:42:04.348Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143230.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143230","state":"PUBLISHED","datePublished":"2026-12-03T09:20:46.707Z","dateUpdated":"2026-12-03T09:20:46.707Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.361Z"},"containers":{"cna":{"title":"ice: xsk: do not free in-flight frags on XDP_TX completion","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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"eeb2b5381038201133b52829634d2f95a4a8ac5e","status":"affected","lessThan":"0061c4ad01ace9ff4334553780ae3be4a8a8f2b5","versionType":"git"},{"version":"eeb2b5381038201133b52829634d2f95a4a8ac5e","status":"affected","lessThan":"d6ab1051176da32103a61a444788bb3c175ee9ca","versionType":"git"},{"version":"eeb2b5381038201133b52829634d2f95a4a8ac5e","status":"affected","lessThan":"5a9b5e315e101dfa02af5d8d3b27d893ba3e5566","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/ice/ice_xsk.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/ice/ice_xsk.c"]}],"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"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:20:46.707Z"},"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"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}