CVE-2022-50707Published Dec 24, 2025 · Dec 24Updated Nov 12
virtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session()
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's virtio-crypto session-close function can leak memory when it encounters an invalid control status. The input does not specify how an attacker could trigger this condition or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel with virtio-crypto should check their installations; affected versions are not specified.