{"id":"CVE-2026-46234","aliases":["CVE-2026-46234"],"related":[],"kind":"vulnerability","state":"published","title":"vsock: fix buffer size clamping order","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock: fix buffer size clamping order\n\nIn vsock_update_buffer_size(), the buffer size was being clamped to the\nmaximum first, and then to the minimum. If a user sets a minimum buffer\nsize larger than the maximum, the minimum check overrides the maximum\ncheck, inverting the constraint.\n\nThis breaks the intended socket memory boundaries by allowing the\nvsk->buffer_size to grow beyond the configured vsk->buffer_max_size.\n\nFix this by checking the minimum first, and then the maximum. This\nensures the buffer size never exceeds the buffer_max_size.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock: fix buffer size clamping order\n\nIn vsock_update_buffer_size(), the buffer size was being clamped to the\nmaximum first, and then to the minimum. If a user sets a minimum buffer\nsize larger than the maximum, the minimum check overrides the maximum\ncheck, inverting the constraint.\n\nThis breaks the intended socket memory boundaries by allowing the\nvsk->buffer_size to grow beyond the configured vsk->buffer_max_size.\n\nFix this by checking the minimum first, and then the maximum. This\nensures the buffer size never exceeds the buffer_max_size.","source":"cvelist"}],"published":"2026-05-28T09:40:58.373Z","modified":"2026-11-06T17:17:45.393Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"git","introduced":"b9f2b0ffde0c9b666b2b1672eb468b8f805a9b97","fixed":"f6ec135941d2c1c2dbb87b5ce1783f4f6ac6ccca","status":"affected"},{"type":"git","introduced":"b9f2b0ffde0c9b666b2b1672eb468b8f805a9b97","fixed":"caf11dfea5233a69298a1c448bbf8d1639c80536","status":"affected"},{"type":"git","introduced":"b9f2b0ffde0c9b666b2b1672eb468b8f805a9b97","fixed":"01ef69785dc3162f588a361ab770b1e312800188","status":"affected"},{"type":"git","introduced":"b9f2b0ffde0c9b666b2b1672eb468b8f805a9b97","fixed":"a998a7e250bf976539e05a00ec64a81292afecaa","status":"affected"},{"type":"git","introduced":"b9f2b0ffde0c9b666b2b1672eb468b8f805a9b97","fixed":"310da27932dd0afe7ce7456dfe1f0814c3301f41","status":"affected"},{"type":"git","introduced":"b9f2b0ffde0c9b666b2b1672eb468b8f805a9b97","fixed":"2602f7bb5818e92315feeaeb71d8ce4d5c9ab160","status":"affected"},{"type":"git","introduced":"b9f2b0ffde0c9b666b2b1672eb468b8f805a9b97","fixed":"0b68881501460c3761f196469e1e503218c5e536","status":"affected"},{"type":"git","introduced":"b9f2b0ffde0c9b666b2b1672eb468b8f805a9b97","fixed":"d114bfdc9b76bf93b881e195b7ec957c14227bab","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.5","status":"unaffected"},{"type":"semver","introduced":"5.10.258","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.209","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.175","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.140","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.90","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.32","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.9","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.5","fixed":"5.10.258"},{"status":"affected","introduced":"5.11","fixed":"5.15.209"},{"status":"affected","introduced":"5.16","fixed":"6.1.175"},{"status":"affected","introduced":"6.2","fixed":"6.6.140"},{"status":"affected","introduced":"6.7","fixed":"6.12.90"},{"status":"affected","introduced":"6.13","fixed":"6.18.32"},{"status":"affected","introduced":"6.19","fixed":"7.0.9"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/f6ec135941d2c1c2dbb87b5ce1783f4f6ac6ccca","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/caf11dfea5233a69298a1c448bbf8d1639c80536","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/01ef69785dc3162f588a361ab770b1e312800188","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a998a7e250bf976539e05a00ec64a81292afecaa","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/310da27932dd0afe7ce7456dfe1f0814c3301f41","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2602f7bb5818e92315feeaeb71d8ce4d5c9ab160","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0b68881501460c3761f196469e1e503218c5e536","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d114bfdc9b76bf93b881e195b7ec957c14227bab","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:12:36.685Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46234","url":"https://www.cve.org/CVERecord?id=CVE-2026-46234","licence":"CVE Terms of Use","modified":"2026-11-06T16:13:45.810Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46234","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46234","licence":"Public domain","modified":"2026-11-06T17:17:45.393Z"}],"updatedAt":"2026-11-25T22:59:22.896Z","epss":{"score":0.00132,"percentile":0.02966,"date":"2026-12-01T12:00:22.000Z"}}