CVE-2026-143233

Not scored yetLast modified Dec 3, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

xsk: fix list corruption in xsk_buff_add_frag()

In aligned mode, a fill ring address maps straight to its pool->heads[] entry. If user space posts the same address twice, a driver can pass xsk_buff_add_frag() a buffer that is the head of the frame or is already on pool->xskb_list or pool->free_list.

Re-adding a linked node corrupts the list. With buffers A, B, C, B, xsk_rcv_zc() emits two descriptors instead of four and leaves the list head pointing at a self-linked B. When the Rx ring later has no room for a frame, the xsk_buff_free() cleanup follows B into pool->free_list and passes the list head to xp_free():

BUG: kernel NULL pointer dereference, address: 00000000000000c0 RIP: 0010:xp_free+0x1a/0x50 Call Trace: xsk_rcv_zc+0xca/0x200

The head is not on any list and needs a separate check. Adding it as its own frag lets bpf_xdp_adjust_tail() free the in-use head and wrap sinfo->nr_frags to 255.

Reject such buffers before adding them to the frags array, as commit e37b2abca804 ("xsk: fix NULL pointer dereference in __xsk_rcv()") does in the copy path. Callers already drop the frame on failure.

Unaligned mode is not affected, as each fill ring entry gets its own xskb from pool->free_heads[].

Reproduced with a KUnit test feeding synthetic buffers to xsk_rcv_zc(), by Nagato Shiratana.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143234In the Linux kernel, the following vulnerability has been resolved: net: skbuff: preserve fclone lifetime when freeing stolen heads skb_moCVE-2026-143235In the Linux kernel, the following vulnerability has been resolved: ublk: publish a new device by its id only once it is set up ADD_DEV stCVE-2026-143236In the Linux kernel, the following vulnerability has been resolved: NFS/localio: hold the client across an asynchronous LOCALIO probe nfs_CVE-2026-143237In the Linux kernel, the following vulnerability has been resolved: sunrpc: instantiate rpc_pipefs dentry before publishing it rpc_mkpipe_CVE-2026-143238In the Linux kernel, the following vulnerability has been resolved: NFS: Fix inverted cross-directory rename check nfs_rename_is_unsafe_crCVE-2026-143239In the Linux kernel, the following vulnerability has been resolved: NFS: update ctime for atime-only UTIME_NOW requests When an NFS clientCVE-2026-143246.5RAOP module accepts unbounded Content-Length values and does not check the pw_array_add() return.CVE-2026-143240In the Linux kernel, the following vulnerability has been resolved: tcp: rate limit receive queue collapsing When a socket is over its recCVE-2026-143241In the Linux kernel, the following vulnerability has been resolved: btrfs: zoned: don't wait for ordered extents in do_zone_finish() do_zoCVE-2026-143242In the Linux kernel, the following vulnerability has been resolved: btrfs: zoned: fix possible UAF in wait_eb_writebacks() wait_eb_writebaCVE-2026-143243In the Linux kernel, the following vulnerability has been resolved: btrfs: zoned: only change active zone counter on successful (de)activatCVE-2026-143244In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: amd: guard adata->sdw dereferences with NULL check in IRQ ha
CVE-2026-143233: Unscored | Vulnix