---
id: CVE-2024-53236
title: 'xsk: Free skb when TX metadata options are invalid'
summary: |-
  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…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 48eb03dd26304c24f03bdbb9382e89c8564e71df <
    7f0d0dd5a7f437d83cff954bc321f1a9b181efd5
  - >-
    Linux >= 48eb03dd26304c24f03bdbb9382e89c8564e71df <
    d5d346deb65efa8453f8481bcea75c1a590439e7
  - >-
    Linux >= 48eb03dd26304c24f03bdbb9382e89c8564e71df <
    0c0d0f42ffa6ac94cd79893b7ed419c15e1b45de
  - Linux 6.8
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:28:26.669301Z'
published: '2024-12-27'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:31:23.260Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2024-53236'
references:
  - url: 'https://git.kernel.org/stable/c/7f0d0dd5a7f437d83cff954bc321f1a9b181efd5'
  - url: 'https://git.kernel.org/stable/c/d5d346deb65efa8453f8481bcea75c1a590439e7'
  - url: 'https://git.kernel.org/stable/c/0c0d0f42ffa6ac94cd79893b7ed419c15e1b45de'
tags:
  - cve.org
epss: 0.00205
epssPercentile: 0.10503
ingestedAt: '2026-11-05T22:38:31.831Z'
---

## Overview

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.

## Affected

- `Linux >= 48eb03dd26304c24f03bdbb9382e89c8564e71df < 7f0d0dd5a7f437d83cff954bc321f1a9b181efd5`
- `Linux >= 48eb03dd26304c24f03bdbb9382e89c8564e71df < d5d346deb65efa8453f8481bcea75c1a590439e7`
- `Linux >= 48eb03dd26304c24f03bdbb9382e89c8564e71df < 0c0d0f42ffa6ac94cd79893b7ed419c15e1b45de`
- `Linux 6.8`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
