Linux Kernel vhost/vsock Memory Allocation Vulnerability

Vulnerability

A memory allocation vulnerability has been identified in the Linux kernel's vhost/vsock component, specifically in versions prior to the patch. The issue arises when transferring large files over SFTP via vSockets, where the default memory allocation function, kmalloc, fails to allocate the necessary 32KB regions. This failure leads to a page allocation error, causing potential disruptions in data transmission. The vulnerability has been addressed by modifying the packet allocation to use kvmalloc, which is better suited for handling larger data sizes.

Impact

The vulnerability can cause page allocation failures, disrupting data transmission over vSockets and potentially leading to denial-of-service conditions.

Reproduction

To reproduce this vulnerability, copy a large file over SFTP using vSockets. The data size typically reaches 32KB, which can trigger the allocation failure when kmalloc is unable to allocate the required memory. This results in a page allocation failure, causing disruptions in the file transfer process.

Remediation

Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability.

Added: Sep 15, 2025, 8:10 PM
Updated: Sep 15, 2025, 8:10 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.7
remediation
7.7
relevance
0.5
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.