# CVE-2026-23326: xsk: Fix fragment node deletion to prevent buffer leak

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-03-25T10:27:19.021Z
- Modified: 2026-06-17T10:21:20.023Z
- Weaknesses: CWE-787
- Assigned by: Linux

## Description

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

xsk: Fix fragment node deletion to prevent buffer leak

After commit b692bf9a7543 ("xsk: Get rid of xdp_buff_xsk::xskb_list_node"),
the list_node field is reused for both the xskb pool list and the buffer
free list, this causes a buffer leak as described below.

xp_free() checks if a buffer is already on the free list using
list_empty(&xskb->list_node). When list_del() is used to remove a node
from the xskb pool list, it doesn't reinitialize the node pointers.
This means list_empty() will return false even after the node has been
removed, causing xp_free() to incorrectly skip adding the buffer to the
free list.

Fix this by using list_del_init() instead of list_del() in all fragment
handling paths, this ensures the list node is reinitialized after removal,
allowing the list_empty() to work correctly.

(As written by CVE List.)

## Affected

- Linux Linux: from 560c974b7ccd95bb9ff20df77f6654283e45c9c6 before 5172adf9efb8298a52f4dcdc3f98d4d9d1e06a6d; from fd5614763805d6f386bd07cc53558f88b1b1eb62 before 2a9ea988465ece5b6896b1bdc144170a64e84c35; from b692bf9a7543af7ad11a59d182a3757578f0ba53 before 645c6d8376ad4913cbffe0e0c2cca0c4febbe596; from b692bf9a7543af7ad11a59d182a3757578f0ba53 before b38cbd4af5034635cff109e08788c63f956f3a69; from b692bf9a7543af7ad11a59d182a3757578f0ba53 before 60abb0ac11dccd6b98fd9182bc5f85b621688861; 6.13 (not affected: before 6.13; from 6.18.17 up to 6.18.*; from 6.19.7 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.13.1 before 6.18.17; from 6.19 before 6.19.7; 6.13; 7.0

## References

- <https://git.kernel.org/stable/c/5172adf9efb8298a52f4dcdc3f98d4d9d1e06a6d> (patch)
- <https://git.kernel.org/stable/c/2a9ea988465ece5b6896b1bdc144170a64e84c35> (patch)
- <https://git.kernel.org/stable/c/645c6d8376ad4913cbffe0e0c2cca0c4febbe596> (patch)
- <https://git.kernel.org/stable/c/b38cbd4af5034635cff109e08788c63f956f3a69> (patch)
- <https://git.kernel.org/stable/c/60abb0ac11dccd6b98fd9182bc5f85b621688861> (patch)

## Sources

- CVE List: [CVE-2026-23326](https://www.cve.org/CVERecord?id=CVE-2026-23326), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-23326](https://nvd.nist.gov/vuln/detail/CVE-2026-23326), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-23326 · Whole record: https://cve.day/CVE-2026-23326.json · Rebuilt by cve.day 2026-11-25T22:59:16.672Z
