CVE-2026-46234

Source
https://cve.org/CVERecord?id=CVE-2026-46234
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46234.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-46234
Downstream
Related
Published
2026-05-28T09:40:58.373Z
Modified
2026-07-15T01:49:09.030111229Z
Summary
vsock: fix buffer size clamping order
Details

In the Linux kernel, the following vulnerability has been resolved:

vsock: fix buffer size clamping order

In vsockupdatebuffer_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->buffersize to grow beyond the configured vsk->buffermax_size.

Fix this by checking the minimum first, and then the maximum. This ensures the buffer size never exceeds the buffermaxsize.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46234.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b9f2b0ffde0c9b666b2b1672eb468b8f805a9b97
Fixed
f6ec135941d2c1c2dbb87b5ce1783f4f6ac6ccca
Fixed
caf11dfea5233a69298a1c448bbf8d1639c80536
Fixed
01ef69785dc3162f588a361ab770b1e312800188
Fixed
a998a7e250bf976539e05a00ec64a81292afecaa
Fixed
310da27932dd0afe7ce7456dfe1f0814c3301f41
Fixed
2602f7bb5818e92315feeaeb71d8ce4d5c9ab160
Fixed
0b68881501460c3761f196469e1e503218c5e536
Fixed
d114bfdc9b76bf93b881e195b7ec957c14227bab

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46234.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.258
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.209
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.175
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.140
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.90
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.32
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46234.json"