Linux Kernel vsock Buffer Size Clamping Vulnerability Allowing Memory Boundary Violation

Vulnerability

A vulnerability in the Linux kernel's virtual socket (vsock) implementation has been addressed. The issue arose in the buffer size management within the vsock_update_buffer_size() function. The vulnerability allowed the buffer size to exceed the maximum limit by improperly prioritizing minimum size checks over maximum ones. This flaw could enable the buffer size to grow beyond the designated maximum, disrupting intended memory boundaries. The vulnerability affects the Linux kernel stable tree.

Impact

Exploitation of this vulnerability could lead to buffer size manipulation, allowing memory usage to exceed configured limits, potentially causing undefined behavior or memory-related issues.

Reproduction

The vulnerability can be reproduced by setting a minimum buffer size that exceeds the maximum buffer size on a vsock socket. The improper clamping order will allow the buffer size to exceed the maximum limit, violating the intended memory boundaries.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for upgrading the Linux kernel can be found in the official Linux documentation.

Added: May 28, 2026, 10:38 AM
Updated: May 28, 2026, 10:38 AM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
4.3
remediation
7.7
relevance
9.7
threat
4.8
urgency
2.9
incentive
0.0

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