What’s Vulnerable › Vulnerabilities

CVE-2022-50707: virtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session()

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

How to fix

Upgrade to a fixed version: Linux kernel 6.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-50707 or the next vulnerability affects your stack