{"id":"CVE-2022-50065","summary":"virtio_net: fix memory leak inside XPD_TX with mergeable","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio_net: fix memory leak inside XPD_TX with mergeable\n\nWhen we call xdp_convert_buff_to_frame() to get xdpf, if it returns\nNULL, we should check if xdp_page was allocated by xdp_linearize_page().\nIf it is newly allocated, it should be freed here alone. Just like any\nother \"goto err_xdp\".","modified":"2026-04-03T13:14:29.728026Z","published":"2025-06-18T11:02:11.879Z","related":["SUSE-SU-2025:02264-1","SUSE-SU-2025:02308-1","SUSE-SU-2025:02320-1","SUSE-SU-2025:02321-1","SUSE-SU-2025:02322-1","SUSE-SU-2025:02334-1","SUSE-SU-2025:02537-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50065.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/18e383afbd7047af7b055df6e25436e0ce28f8a5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7a542bee27c6a57e45c33cbbdc963325fd6493af"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d3723eab11196475ef83279571b2b0bd0924cf82"},{"type":"WEB","url":"https://git.kernel.org/stable/c/faafa2a87f697ee537c29446097e1cc3143506fa"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50065.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50065"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"44fa2dbd475996ddc8f3a0e6113dee983e0ee3aa"},{"fixed":"faafa2a87f697ee537c29446097e1cc3143506fa"},{"fixed":"d3723eab11196475ef83279571b2b0bd0924cf82"},{"fixed":"18e383afbd7047af7b055df6e25436e0ce28f8a5"},{"fixed":"7a542bee27c6a57e45c33cbbdc963325fd6493af"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50065.json"}}],"schema_version":"1.7.5"}