← CVE Intelligence

CVE-2022-50065

virtio_net: fix memory leak inside XPD_TX with mergeable PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 44fa2dbd475996ddc8f3a0e6113dee983e0ee3aa before faafa2a87f697ee537c29446097e1cc3143506fa; affected 44fa2dbd475996ddc8f3a0e6113dee983e0ee3aa before d3723eab11196475ef83279571b2b0bd0924cf82; affected 44fa2dbd475996ddc8f3a0e6113dee983e0ee3aa before 18e383afbd7047af7b055df6e25436e0ce28f8a5; affected 44fa2dbd475996ddc8f3a0e6113dee983e0ee3aa before 7a542bee27c6a57e45c33cbbdc963325fd6493af
Linux / Linuxaffected 4.18; unaffected 0 before 4.18; unaffected 5.10.138 through 5.10.*; unaffected 5.15.63 through 5.15.*; unaffected 5.19.4 through 5.19.*; unaffected 6.0 through *

CWE

No CWE identifiers supplied.

References