vsock: fix buffer size clamping order

Summary

CVECVE-2026-46234
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-05-28 10:16:39 UTC
Updated2026-06-10 21:11:26 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 7.8 HIGH from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS: 0.000320000 probability, percentile 0.097350000 (date 2026-06-04)

Problem Types: CWE-787

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected b9f2b0ffde0c9b666b2b1672eb468b8f805a9b97 f6ec135941d2c1c2dbb87b5ce1783f4f6ac6ccca git Not specified
CNA Linux Linux affected b9f2b0ffde0c9b666b2b1672eb468b8f805a9b97 caf11dfea5233a69298a1c448bbf8d1639c80536 git Not specified
CNA Linux Linux affected b9f2b0ffde0c9b666b2b1672eb468b8f805a9b97 01ef69785dc3162f588a361ab770b1e312800188 git Not specified
CNA Linux Linux affected b9f2b0ffde0c9b666b2b1672eb468b8f805a9b97 a998a7e250bf976539e05a00ec64a81292afecaa git Not specified
CNA Linux Linux affected b9f2b0ffde0c9b666b2b1672eb468b8f805a9b97 310da27932dd0afe7ce7456dfe1f0814c3301f41 git Not specified
CNA Linux Linux affected b9f2b0ffde0c9b666b2b1672eb468b8f805a9b97 2602f7bb5818e92315feeaeb71d8ce4d5c9ab160 git Not specified
CNA Linux Linux affected b9f2b0ffde0c9b666b2b1672eb468b8f805a9b97 0b68881501460c3761f196469e1e503218c5e536 git Not specified
CNA Linux Linux affected b9f2b0ffde0c9b666b2b1672eb468b8f805a9b97 d114bfdc9b76bf93b881e195b7ec957c14227bab git Not specified
CNA Linux Linux affected 5.5 Not specified
CNA Linux Linux unaffected 5.5 semver Not specified
CNA Linux Linux unaffected 5.10.258 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.209 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.175 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.140 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.90 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.32 6.18.* semver Not specified
CNA Linux Linux unaffected 7.0.9 7.0.* semver Not specified
CNA Linux Linux unaffected 7.1-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/2602f7bb5818e92315feeaeb71d8ce4d5c9ab160 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/0b68881501460c3761f196469e1e503218c5e536 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/310da27932dd0afe7ce7456dfe1f0814c3301f41 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/f6ec135941d2c1c2dbb87b5ce1783f4f6ac6ccca 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/a998a7e250bf976539e05a00ec64a81292afecaa 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/caf11dfea5233a69298a1c448bbf8d1639c80536 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/d114bfdc9b76bf93b881e195b7ec957c14227bab 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/01ef69785dc3162f588a361ab770b1e312800188 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report