CVE-2022-50707
publishedvirtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux4ee475e76b5ea8061970a7c867ffa5eedeb39580 to < 79026a2d0a1b080257773d22a493f9bcab8c65be · 0756ad15b1fef287d4d8fa11bc36ea77a5c42e4a to < 67fb59ff1384e338679c0eb7a43c83ce8868c9fa · 0756ad15b1fef287d4d8fa11bc36ea77a5c42e4a to < 0871df190fe6723464efe0f493d476411616f553 · 0756ad15b1fef287d4d8fa11bc36ea77a5c42e4a to < b1d65f717cd6305a396a8738e022c6f7c65cfbe8 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.19 (affected) · 0 to < 5.19 (unaffected · semver) · 6.0.19 through 6.0.* (unaffected · semver) · 6.1.5 through 6.1.* (unaffected · semver) · 6.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 4ee475e76b5ea8061970a7c867ffa5eedeb39580 to < 79026a2d0a1b080257773d22a493f9bcab8c65be (affected · git)0756ad15b1fef287d4d8fa11bc36ea77a5c42e4a to < 67fb59ff1384e338679c0eb7a43c83ce8868c9fa (affected · git)0756ad15b1fef287d4d8fa11bc36ea77a5c42e4a to < 0871df190fe6723464efe0f493d476411616f553 (affected · git)0756ad15b1fef287d4d8fa11bc36ea77a5c42e4a to < b1d65f717cd6305a396a8738e022c6f7c65cfbe8 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.19 (affected)0 to < 5.19 (unaffected · semver)6.0.19 through 6.0.* (unaffected · semver)6.1.5 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
virtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c7fd23c454eb5a86b60825dd6955ffa12266e78aefe1da65d54faeeb1fc7a750
- Ingested
- 23 Sep 2026, 08:04:48 UTC
- Source record
- Official CVE record