CVEvulnerability
CVE-2022-50065
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2025-06-18
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
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".
Affected configurations
• linux linux kernel (>= 4.18 < 5.10.138)
• linux linux kernel (>= 5.11 < 5.15.63)
• linux linux kernel (>= 5.16 < 5.19.4)
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/18e383afbd7047af7b055df6e25436e0ce28f8a5 Patch
- https://git.kernel.org/stable/c/7a542bee27c6a57e45c33cbbdc963325fd6493af Patch
- https://git.kernel.org/stable/c/d3723eab11196475ef83279571b2b0bd0924cf82 Patch
- https://git.kernel.org/stable/c/faafa2a87f697ee537c29446097e1cc3143506fa Patch