CVE-2022-50065
Summary
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".
Impact & exploitability
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected products we track (1)
Recommendation
Apply the vendor fix in your normal patch cycle. Open any affected product above for its exact safe version.
Official patch: https://git.kernel.org/stable/c/18e383afbd7047af7b055df6e25436e0ce28f8a5 ↗
Additional information
- NVD record
- https://git.kernel.org/stable/c/18e383afbd7047af7b055df6e25436e0ce28f8a5Patch
- https://git.kernel.org/stable/c/7a542bee27c6a57e45c33cbbdc963325fd6493afPatch
- https://git.kernel.org/stable/c/d3723eab11196475ef83279571b2b0bd0924cf82Patch
- https://git.kernel.org/stable/c/faafa2a87f697ee537c29446097e1cc3143506faPatch