CVE-2026-46234

vsock: fix buffer size clamping order

HIGH
7.8
CVSS Score
Published: May 28, 2026 at 09:40 AM UTC
Updated: October 15, 2026 at 02:19 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
HIGH7.8
Exploit prediction
EPSS 0.1%

Description

In the Linux kernel, the following vulnerability has been resolved: vsock: fix buffer size clamping order In vsock_update_buffer_size(), the buffer size was being clamped to the maximum first, and then to the minimum. If a user sets a minimum buffer size larger than the maximum, the minimum check overrides the maximum check, inverting the constraint. This breaks the intended socket memory boundaries by allowing the vsk->buffer_size to grow beyond the configured vsk->buffer_max_size. Fix this by checking the minimum first, and then the maximum. This ensures the buffer size never exceeds the buffer_max_size.

Affected

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

5.11 ≤ v < 5.15.2095.16 ≤ v < 6.1.1755.5 ≤ v < 5.10.2586.13 ≤ v < 6.18.326.19 ≤ v < 7.0.96.2 ≤ v < 6.6.1406.7 ≤ v < 6.12.905.5b9f2b0ffde0c9b666b2b1672eb468b8f805a9b97
Vendor states this is fixed in 01ef69785dc3162f588a361ab770b1e312800188 (fixed)
Vendor states this is fixed in 0b68881501460c3761f196469e1e503218c5e536 (fixed)
Vendor states this is fixed in 2602f7bb5818e92315feeaeb71d8ce4d5c9ab160 (fixed)
Vendor states this is fixed in 310da27932dd0afe7ce7456dfe1f0814c3301f41 (fixed)
Vendor states this is fixed in a998a7e250bf976539e05a00ec64a81292afecaa (fixed)
Vendor states this is fixed in caf11dfea5233a69298a1c448bbf8d1639c80536 (fixed)
Vendor states this is fixed in d114bfdc9b76bf93b881e195b7ec957c14227bab (fixed)
Vendor states this is fixed in f6ec135941d2c1c2dbb87b5ce1783f4f6ac6ccca (fixed)
Vendor states this is fixed in 5.10.258 (unaffected)
Vendor states this is fixed in 5.15.209 (unaffected)
Vendor states this is fixed in 5.5 (unaffected)
Vendor states this is fixed in 6.1.175 (unaffected)
Vendor states this is fixed in 6.12.90 (unaffected)
Vendor states this is fixed in 6.18.32 (unaffected)
Vendor states this is fixed in 6.6.140 (unaffected)
Vendor states this is fixed in 7.0.9 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-787

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