CVE-2022-50707

published 24 Dec 2025 · updated 12 Nov 2026

virtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0871df190fe6723464efe0f493d476411616f553, Kernel b1d65f717cd6305a396a8738e022c6f7c65cfbe8, Kernel 79026a2d0a1b080257773d22a493f9bcab8c65be and 3 more.

In the Linux kernel, the following vulnerability has been resolved: virtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session() 'vc_ctrl_req' is alloced in virtio_crypto_alg_skcipher_close_session(), and should be freed in the invalid ctrl_status->status error handling case. Otherwise there is a memory leak.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=0756ad15b1fef287d4d8fa11bc36ea77a5c42e4a <0871df190fe6723464efe0f493d476411616f553, >=0756ad15b1fef287d4d8fa11bc36ea77a5c42e4a <b1d65f717cd6305a396a8738e022c6f7c65cfbe8, >=4ee475e76b5ea8061970a7c867ffa5eedeb39580 <79026a2d0a1b080257773d22a493f9bcab8c65be, =5.19, >=0756ad15b1fef287d4d8fa11bc36ea77a5c42e4a <67fb59ff1384e338679c0eb7a43c83ce8868c9fa0871df190fe6723464efe0f493d476411616f553, b1d65f717cd6305a396a8738e022c6f7c65cfbe8, 79026a2d0a1b080257773d22a493f9bcab8c65be, 67fb59ff1384e338679c0eb7a43c83ce8868c9fa
linux-kernel: Kernel>=6.1.0 <6.1.5, >=5.19.0 <6.0.196.1.5, 6.0.19

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50707 severity on Zeptric[![CVE-2022-50707](https://zeptric.io/badge/cve/CVE-2022-50707.svg)](https://zeptric.io/cve/CVE-2022-50707)