CVE-2024-53236: xsk: Free skb when TX metadata options are invalid
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 xskbuildskb.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-53236?
CVE-2024-53236 has been classified as a moderate severity vulnerability in the Linux kernel.
How do I fix CVE-2024-53236?
To fix CVE-2024-53236, update to the patched versions of the Linux kernel, specifically 5.10.223-1, 5.10.234-1, 6.1.123-1, 6.1.128-1, 6.12.12-1, or 6.12.16-1.
What systems are affected by CVE-2024-53236?
CVE-2024-53236 affects various versions of the Linux kernel used in Debian-based systems.
What are the risks of not addressing CVE-2024-53236?
Not addressing CVE-2024-53236 could lead to potential denial of service due to resource mismanagement in the kernel.
Is CVE-2024-53236 related to network performance?
Yes, CVE-2024-53236 is related to transmitting xsk descriptors, which can impact network performance if exploited.