Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-50065

virtio_net: fix memory leak inside XPD_TX with mergeable

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 44fa2dbd475996ddc8f3a0e6113dee983e0ee3aa to < faafa2a87f697ee537c29446097e1cc3143506faaffected
  • 44fa2dbd475996ddc8f3a0e6113dee983e0ee3aa to < d3723eab11196475ef83279571b2b0bd0924cf82affected
  • 44fa2dbd475996ddc8f3a0e6113dee983e0ee3aa to < 18e383afbd7047af7b055df6e25436e0ce28f8a5affected
  • 44fa2dbd475996ddc8f3a0e6113dee983e0ee3aa to < 7a542bee27c6a57e45c33cbbdc963325fd6493afaffected

Linux Linux

Default version status: affected

  • 4.18affected
  • 0 to < 4.18unaffected
  • 5.10.138 to ≤ 5.10.*unaffected
  • 5.15.63 to ≤ 5.15.*unaffected
  • 5.19.4 to ≤ 5.19.*unaffected
  • 6.0 to ≤ *unaffected

References