CVE-2026-143233
Received Received - Intake

Kernel NULL pointer dereference in Linux kernel XSK buffer handling

Vulnerability report for CVE-2026-143233, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-03

Last updated on: 2026-12-03

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-03
Last Modified
2026-12-03
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a Linux kernel vulnerability in the AF_XDP socket (XSK) subsystem. It involves a list corruption issue in the xsk_buff_add_frag() function when operating in aligned mode. If a user space program posts the same fill ring address twice, it can corrupt the internal buffer management lists, leading to kernel NULL pointer dereference errors and potential system crashes.

Detection Guidance

This vulnerability is specific to the Linux kernel's XSK (AF_XDP) subsystem and may not have direct detection commands. Monitor kernel logs for NULL pointer dereference errors or crashes related to xsk_rcv_zc or xp_free functions. Check for unusual behavior in AF_XDP socket usage or fill ring operations.

Impact Analysis

This vulnerability can cause kernel crashes due to NULL pointer dereferences, leading to denial of service conditions. Systems using AF_XDP sockets in aligned mode may become unstable or reboot unexpectedly when processing maliciously crafted network traffic.

Mitigation Strategies

Update the Linux kernel to a patched version that includes the fix for this issue. Avoid using AF_XDP sockets in aligned mode until the patch is applied. Review and restrict untrusted users' access to AF_XDP socket operations.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-143233. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...