{"id":"CVE-2022-50707","summary":"virtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session()\n\n'vc_ctrl_req' is alloced in virtio_crypto_alg_skcipher_close_session(),\nand should be freed in the invalid ctrl_status-\u003estatus error handling\ncase. Otherwise there is a memory leak.","modified":"2026-08-12T03:51:45.964905037Z","published":"2025-12-24T10:55:21.547Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50707.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0871df190fe6723464efe0f493d476411616f553"},{"type":"WEB","url":"https://git.kernel.org/stable/c/67fb59ff1384e338679c0eb7a43c83ce8868c9fa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/79026a2d0a1b080257773d22a493f9bcab8c65be"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b1d65f717cd6305a396a8738e022c6f7c65cfbe8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50707.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50707"},{"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":"4ee475e76b5ea8061970a7c867ffa5eedeb39580"},{"fixed":"79026a2d0a1b080257773d22a493f9bcab8c65be"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0756ad15b1fef287d4d8fa11bc36ea77a5c42e4a"},{"fixed":"67fb59ff1384e338679c0eb7a43c83ce8868c9fa"},{"fixed":"0871df190fe6723464efe0f493d476411616f553"},{"fixed":"b1d65f717cd6305a396a8738e022c6f7c65cfbe8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50707.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.19.0"},{"fixed":"6.0.19"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50707.json"}}],"schema_version":"1.9.0"}