CVE-2024-53236
MEDIUMLinux Kernel 6.8-6.11.11, 6.12.0-6.12.2, 6.13 - Use-After-Free in XSK Descriptor Handling
Title source: llmDescription
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.
References (3)
Core 3
Scores
CVSS v3
5.5
EPSS
0.0020
EPSS Percentile
9.6%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-401
Status
published
Products (11)
linux/Kernel
6.12.0 - 6.12.2linux
linux/Kernel
6.8.0 - 6.11.11linux
Linux/Linux
< 6.8
Linux/Linux
48eb03dd26304c24f03bdbb9382e89c8564e71df - 0c0d0f42ffa6ac94cd79893b7ed419c15e1b45de
Linux/Linux
48eb03dd26304c24f03bdbb9382e89c8564e71df - 7f0d0dd5a7f437d83cff954bc321f1a9b181efd5
Linux/Linux
48eb03dd26304c24f03bdbb9382e89c8564e71df - d5d346deb65efa8453f8481bcea75c1a590439e7
Linux/Linux
6.11.11 - 6.11.*
Linux/Linux
6.12.2 - 6.12.*
Linux/Linux
6.13
Linux/Linux
6.8
... and 1 more
Published
Dec 27, 2024
Tracked Since
Feb 18, 2026