CVE-2022-50707

virtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session()

N/A
Published: December 24, 2025 at 10:55 AM UTC
Updated: June 17, 2026 at 05:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.19 ≤ v < 6.0.195.19 ≤ v < 6.1.55.19 ≤ v < 6.24ee475e76b5ea8061970a7c867ffa5eedeb395805.19756ad15b1fef287d4d8fa11bc36ea77a5c42e4a
Vendor states this is fixed in 0871df190fe6723464efe0f493d476411616f553 (fixed)
Vendor states this is fixed in 67fb59ff1384e338679c0eb7a43c83ce8868c9fa (fixed)
Vendor states this is fixed in 79026a2d0a1b080257773d22a493f9bcab8c65be (fixed)
Vendor states this is fixed in b1d65f717cd6305a396a8738e022c6f7c65cfbe8 (fixed)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 6.0.19 (unaffected)
Vendor states this is fixed in 6.1.5 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card