CVE-2022-50707

virtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session()

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4ee475e76b5ea8061970a7c867ffa5eedeb39580 to before 79026a2d0a1b080257773d22a493f9bcab8c65beAffected
  • 0756ad15b1fef287d4d8fa11bc36ea77a5c42e4a to before 67fb59ff1384e338679c0eb7a43c83ce8868c9faAffected
  • 0756ad15b1fef287d4d8fa11bc36ea77a5c42e4a to before 0871df190fe6723464efe0f493d476411616f553Affected
  • 0756ad15b1fef287d4d8fa11bc36ea77a5c42e4a to before b1d65f717cd6305a396a8738e022c6f7c65cfbe8Affected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 6.0.19 through 6.0.*Not affected
  • 6.1.5 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.