# CVE-2024-53236: xsk: Free skb when TX metadata options are invalid

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-12-27T13:50:22.320Z
- Modified: 2026-11-05T21:17:34.627Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

xsk: Free skb when TX metadata options are invalid

When a new skb is allocated for transmitting an xsk descriptor, i.e., for
every non-multibuf descriptor or the first frag of a multibuf descriptor,
but the descriptor is later found to have invalid options set for the TX
metadata, the new skb is never freed. This can leak skbs until the send
buffer is full which makes sending more packets impossible.

Fix this by freeing the skb in the error path if we are currently dealing
with the first frag, i.e., an skb allocated in this iteration of
xsk_build_skb.

(As written by CVE List.)

## Affected

- Linux Linux: from 48eb03dd26304c24f03bdbb9382e89c8564e71df before 7f0d0dd5a7f437d83cff954bc321f1a9b181efd5; from 48eb03dd26304c24f03bdbb9382e89c8564e71df before d5d346deb65efa8453f8481bcea75c1a590439e7; from 48eb03dd26304c24f03bdbb9382e89c8564e71df before 0c0d0f42ffa6ac94cd79893b7ed419c15e1b45de; 6.8 (not affected: before 6.8; from 6.11.11 up to 6.11.*; from 6.12.2 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 6.8 before 6.11.11; from 6.12 before 6.12.2

## References

- <https://git.kernel.org/stable/c/7f0d0dd5a7f437d83cff954bc321f1a9b181efd5> (patch)
- <https://git.kernel.org/stable/c/d5d346deb65efa8453f8481bcea75c1a590439e7> (patch)
- <https://git.kernel.org/stable/c/0c0d0f42ffa6ac94cd79893b7ed419c15e1b45de> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2024-53236 · Whole record: https://cve.day/CVE-2024-53236.json · Rebuilt by cve.day 2026-11-25T22:58:50.432Z
