vsock: fix buffer size clamping order
Summary
| CVE | CVE-2026-46234 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-28 10:16:39 UTC |
| Updated | 2026-06-10 21:11:26 UTC |
| 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. |
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
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS: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)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| 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
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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 |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.