We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-53236

xsk: Free skb when TX metadata options are invalid



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.

Reserved 2024-11-19 | Published 2024-12-27 | Updated 2025-01-20 | Assigner Linux

Product status

Default status
unaffected

48eb03dd26304c24f03bdbb9382e89c8564e71df before 7f0d0dd5a7f437d83cff954bc321f1a9b181efd5
affected

48eb03dd26304c24f03bdbb9382e89c8564e71df before d5d346deb65efa8453f8481bcea75c1a590439e7
affected

48eb03dd26304c24f03bdbb9382e89c8564e71df before 0c0d0f42ffa6ac94cd79893b7ed419c15e1b45de
affected

Default status
affected

6.8
affected

Any version before 6.8
unaffected

6.11.11
unaffected

6.12.2
unaffected

6.13
unaffected

References

git.kernel.org/...c/7f0d0dd5a7f437d83cff954bc321f1a9b181efd5

git.kernel.org/...c/d5d346deb65efa8453f8481bcea75c1a590439e7

git.kernel.org/...c/0c0d0f42ffa6ac94cd79893b7ed419c15e1b45de

cve.org (CVE-2024-53236)

nvd.nist.gov (CVE-2024-53236)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-53236

Support options

Helpdesk Chat, Email, Knowledgebase
Subscribe to our newsletter to learn more about our work.