{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143233","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.361Z","datePublished":"2026-12-03T09:20:48.617Z","dateUpdated":"2026-12-03T09:20:48.617Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-03T09:20:48.617Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nxsk: fix list corruption in xsk_buff_add_frag()\n\nIn aligned mode, a fill ring address maps straight to its pool->heads[]\nentry. If user space posts the same address twice, a driver can pass\nxsk_buff_add_frag() a buffer that is the head of the frame or is\nalready on pool->xskb_list or pool->free_list.\n\nRe-adding a linked node corrupts the list. With buffers A, B, C, B,\nxsk_rcv_zc() emits two descriptors instead of four and leaves the list\nhead pointing at a self-linked B. When the Rx ring later has no room\nfor a frame, the xsk_buff_free() cleanup follows B into pool->free_list\nand passes the list head to xp_free():\n\n  BUG: kernel NULL pointer dereference, address: 00000000000000c0\n  RIP: 0010:xp_free+0x1a/0x50\n  Call Trace:\n   xsk_rcv_zc+0xca/0x200\n\nThe head is not on any list and needs a separate check. Adding it as\nits own frag lets bpf_xdp_adjust_tail() free the in-use head and wrap\nsinfo->nr_frags to 255.\n\nReject such buffers before adding them to the frags array, as commit\ne37b2abca804 (\"xsk: fix NULL pointer dereference in __xsk_rcv()\") does\nin the copy path. Callers already drop the frame on failure.\n\nUnaligned mode is not affected, as each fill ring entry gets its own\nxskb from pool->free_heads[].\n\nReproduced with a KUnit test feeding synthetic buffers to xsk_rcv_zc(),\nby Nagato Shiratana."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/xdp_sock_drv.h"],"versions":[{"version":"24ea50127ecf0efe819c1f6230add27abc6ca9d9","lessThan":"53e8c5e077a113954c27b89f9663add10ed95fb8","status":"affected","versionType":"git"},{"version":"24ea50127ecf0efe819c1f6230add27abc6ca9d9","lessThan":"084974e4c6b226b772758eff64b06e4e99f7e8d3","status":"affected","versionType":"git"},{"version":"24ea50127ecf0efe819c1f6230add27abc6ca9d9","lessThan":"94ae1259175f566ed5a33f37b09b6f32a1b2d8af","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/xdp_sock_drv.h"],"versions":[{"version":"6.6","status":"affected"},{"version":"0","lessThan":"6.6","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.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"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/53e8c5e077a113954c27b89f9663add10ed95fb8"},{"url":"https://git.kernel.org/stable/c/084974e4c6b226b772758eff64b06e4e99f7e8d3"},{"url":"https://git.kernel.org/stable/c/94ae1259175f566ed5a33f37b09b6f32a1b2d8af"}],"title":"xsk: fix list corruption in xsk_buff_add_frag()","x_generator":{"engine":"bippy-1.2.0"}}}}