Bug 2373617 (CVE-2022-50065) - CVE-2022-50065 kernel: virtio_net: fix memory leak inside XPD_TX with mergeable
Summary: CVE-2022-50065 kernel: virtio_net: fix memory leak inside XPD_TX with mergeable
Keywords:
Status: NEW
Alias: CVE-2022-50065
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-18 12:10 UTC by OSIDB Bzimport
Modified: 2025-06-24 18:05 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-06-18 12:10:51 UTC
In the Linux kernel, the following vulnerability has been resolved:

virtio_net: fix memory leak inside XPD_TX with mergeable

When we call xdp_convert_buff_to_frame() to get xdpf, if it returns
NULL, we should check if xdp_page was allocated by xdp_linearize_page().
If it is newly allocated, it should be freed here alone. Just like any
other "goto err_xdp".

Comment 1 Avinash Hanwate 2025-06-19 03:07:21 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025061851-CVE-2022-50065-b627@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.