CVE-2022-50065: virtio_net: fix memory leak inside XPD_TX with mergeable
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".
Security readout for executives and security teams
Plain-English summary
CVE-2022-50065 is a Linux kernel virtio_net memory leak in a specific XDP_TX error path with mergeable buffers. The source does not provide CVSS, CWE, or confirmed active exploitation. Business risk is mainly operational: affected systems could leak memory under the vulnerable condition until patched.
Executive priority
Handle through normal kernel patch management unless local exposure to virtio_net/XDP_TX is broad or operationally critical. Escalate priority for high-density virtual infrastructure where memory leaks can affect service availability.
Technical view
In virtio_net, if xdp_convert_buff_to_frame() returns NULL after xdp_linearize_page() allocated xdp_page, the error path failed to free that newly allocated page. The kernel fix aligns this path with other err_xdp handling. Evidence identifies Linux kernel stable fixes but does not describe attacker prerequisites or impact severity.
Likely exposure
Exposure is most likely on Linux systems using the virtio_net driver with XDP_TX and mergeable buffers. The bundle lists Linux kernel versions and stable commits, but affected distribution package ranges and backports require vendor confirmation.
Exploitation context
The bundle marks KEV as false and provides no cited evidence of active exploitation. No public exploit status, CVSS score, or attack complexity is supplied. Treat exploitation details as unknown rather than assumed.
Researcher notes
Evidence is limited to the CVE description and kernel stable references. The vulnerable behavior is an unfreed page on a failed XDP buffer-to-frame conversion path. Impact and exploitability are not scored in the supplied sources.
Mitigation direction
Update to a Linux kernel package containing the referenced stable fix commits.
Check your Linux vendor advisory for backported fixes and affected package versions.
Prioritize systems using virtio_net, XDP_TX, or mergeable buffer configurations.
If patch timing is unclear, follow vendor guidance for temporary risk reduction.
Validation and detection
Inventory running Linux kernel versions across virtualized and network-heavy systems.
Confirm whether virtio_net and XDP_TX are used on in-scope hosts.
Compare installed kernel changelogs against the referenced stable fix commits.
Monitor affected systems for abnormal kernel memory growth until patched.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2022-50065 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
0CVSS vectors
3Timeline events
0ADP providers
5Source links
Vulnerability timeline
Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.
CVE reservedCVE Program
The CVE ID was reserved by the assigning CNA.
CVE publishedCVE Program
The CVE record was published.
Jun 18, 2025, 11:02 UTC (UTC+00:00)
CVE updatedCVE Program
The CVE record metadata indicates this as the latest update time.