What’s Vulnerable › Vulnerabilities
CVE-2022-50707: virtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session()
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-12-24 · updated 2026-06-17
Description
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 products
- Linux kernel: 5.19 — fixed in 6.2
How to fix
Upgrade to a fixed version: Linux kernel 6.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0871df190fe6723464efe0f493d476411616f553
- https://git.kernel.org/stable/c/67fb59ff1384e338679c0eb7a43c83ce8868c9fa
- https://git.kernel.org/stable/c/79026a2d0a1b080257773d22a493f9bcab8c65be
- https://git.kernel.org/stable/c/b1d65f717cd6305a396a8738e022c6f7c65cfbe8
Get alerted when CVE-2022-50707 or the next vulnerability affects your stack