{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143229","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.361Z","datePublished":"2026-12-03T09:20:46.045Z","dateUpdated":"2026-12-04T03:31:27.624Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-04T03:31:27.624Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibeth: xsk: do not free in-flight frags on XDP_TX completion\n\nlibeth_xsk_tx_queue_bulk() 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, libeth_xsk_buff_free_slow() frees whatever is on\nthe list at that point.\n\nThe XDPSQ can be completed by a bulk flush while the frags of a frame\nare being queued, or by its cleanup timer while a partial Rx frame is\nstashed. Those frags are then freed while in use, and the frame being\nqueued is sent truncated.\n\nClear the flag on the head once all of its frags are queued."}],"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 - idpf_xskrq_poll() turns a received multi-buffer Ethernet frame into an XSk buffer and, when bpf_prog_run_xdp() returns XDP_TX, calls libeth_xsk_tx_queue_bulk(). That helper leaves XDP_FLAGS_HAS_FRAGS set after taking frags off pool->xskb_list, so completion later frees those in-flight frags; the remote frame is the data that is corrupted and sent truncated.\nAC:H - The free happens only if that queue is already in AF_XDP zero-copy with a program that returns XDP_TX and the frame exceeds xsk_pool_get_rx_frame_size() so xdp_buff_has_frags() is set. A remote sender cannot attach the program via dev_change_xdp_fd() or enable the pool; idpf_xsk_tx_prep() or idpf_xsk_tx_timer must then complete a head while those frags are still on xskb_list.\nPR:N - Sending the frame to the idpf port needs no credentials on the target; idpf_xskrq_poll() runs it before any authentication. dev_change_xdp_fd() (RTM_SETLINK, CAP_NET_ADMIN) and xsk_create()'s CAP_NET_RAW check are how the queue was configured, not privileges this sender holds.\nUI:N - The sender's frame is processed in NAPI by idpf_xskrq_poll() and completed by idpf_xsksq_complete() or idpf_xsk_tx_timer with no action by a local user.\nS:U - xp_free() of the in-use xdp_buff_xsk and the pool->xskb_list corruption stay in the kernel that owns the idpf net_device, the same security authority as the host that received the frame.\nC:H - On completion, libeth_xdp_complete_tx() calls libeth_xsk_buff_free_slow(), and xsk_buff_free() xp_free()s every xdp_buff_xsk still on pool->xskb_list because the head kept XDP_FLAGS_HAS_FRAGS. Those frags are then handed out again by xsk_buff_alloc_batch() while rxq->xsk or an SQE still references the same buffer, so packet contents and the kernel xskb are readable after free.\nI:H - The recycled xdp_buff_xsk is owned both by the frame still being queued in libeth_xsk_tx_queue_bulk() and by a new Rx refill, and xsk_buff_free()'s list_for_each_entry_safe() on pool->xskb_list races xsk_buff_add_frag()'s list_add_tail(). That use-after-free corrupts kernel list pointers, and the frame is written to the wire truncated.\nA:H - idpf_xsksq_complete() frees frags that idpf_xskrq_poll() still has linked on pool->xskb_list or stashed in rxq->xsk. The resulting list_node corruption and use of a recycled xdp_buff_xsk oopses the host kernel."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/libeth/xsk.h"],"versions":[{"version":"b3ad8450b4dc46c4ab0641f665068fd2a4d1adba","lessThan":"0c04072d3c7d0c9c7a82aa538dbe16854b4366cb","status":"affected","versionType":"git"},{"version":"b3ad8450b4dc46c4ab0641f665068fd2a4d1adba","lessThan":"b3849806c7975e3d8c064674607719ca6b21f181","status":"affected","versionType":"git"},{"version":"b3ad8450b4dc46c4ab0641f665068fd2a4d1adba","lessThan":"90e5d84086d95ac45197028b98ad9059b245fc1c","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/libeth/xsk.h"],"versions":[{"version":"6.17","status":"affected"},{"version":"0","lessThan":"6.17","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.17","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"7.4-rc3"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/0c04072d3c7d0c9c7a82aa538dbe16854b4366cb"},{"url":"https://git.kernel.org/stable/c/b3849806c7975e3d8c064674607719ca6b21f181"},{"url":"https://git.kernel.org/stable/c/90e5d84086d95ac45197028b98ad9059b245fc1c"}],"title":"libeth: xsk: do not free in-flight frags on XDP_TX completion","x_generator":{"engine":"bippy-1.2.0"}}}}