Linux Kernel Virtio-Crypto Memory Leak Vulnerability

Vulnerability

A memory leak vulnerability has been identified in the Linux kernel's virtio-crypto component, specifically within the 'virtio_crypto_alg_skcipher_close_session()' function. The issue arises because the 'vc_ctrl_req' control request is allocated but not properly freed when an error status is encountered. This oversight leads to a memory leak.

Impact

Exploitation of this vulnerability causes a memory leak, which can lead to increased memory usage and potential exhaustion of system resources over time.

Reproduction

The vulnerability can be reproduced by invoking the 'virtio_crypto_alg_skcipher_close_session()' function with a control status that indicates an error. The function will log the error status and session ID, but fail to release the allocated 'vc_ctrl_req' control request, resulting in a memory leak.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. The specific commit that resolves this issue is available in the Linux kernel stable tree.

Added: Dec 24, 2025, 1:30 PM
Updated: Dec 24, 2025, 1:30 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.0
exploitability
5.7
remediation
7.7
relevance
1.6
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.