{"id":"CVE-2026-23069","aliases":["CVE-2026-23069"],"related":[],"kind":"vulnerability","state":"published","title":"vsock/virtio: fix potential underflow in virtio_transport_get_credit()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock/virtio: fix potential underflow in virtio_transport_get_credit()\n\nThe credit calculation in virtio_transport_get_credit() uses unsigned\narithmetic:\n\n  ret = vvs->peer_buf_alloc - (vvs->tx_cnt - vvs->peer_fwd_cnt);\n\nIf the peer shrinks its advertised buffer (peer_buf_alloc) while bytes\nare in flight, the subtraction can underflow and produce a large\npositive value, potentially allowing more data to be queued than the\npeer can handle.\n\nReuse virtio_transport_has_space() which already handles this case and\nadd a comment to make it clear why we are doing that.\n\n[Stefano: use virtio_transport_has_space() instead of duplicating the code]\n[Stefano: tweak the commit message]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock/virtio: fix potential underflow in virtio_transport_get_credit()\n\nThe credit calculation in virtio_transport_get_credit() uses unsigned\narithmetic:\n\n  ret = vvs->peer_buf_alloc - (vvs->tx_cnt - vvs->peer_fwd_cnt);\n\nIf the peer shrinks its advertised buffer (peer_buf_alloc) while bytes\nare in flight, the subtraction can underflow and produce a large\npositive value, potentially allowing more data to be queued than the\npeer can handle.\n\nReuse virtio_transport_has_space() which already handles this case and\nadd a comment to make it clear why we are doing that.\n\n[Stefano: use virtio_transport_has_space() instead of duplicating the code]\n[Stefano: tweak the commit message]","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nvsock/virtio: soluciona un posible desbordamiento negativo en virtio_transport_get_credit()\n\nEl cálculo de crédito en virtio_transport_get_credit() utiliza aritmética sin signo:\n\nret = vvs-&gt;peer_buf_alloc - (vvs-&gt;tx_cnt - vvs-&gt;peer_fwd_cnt);\n\nSi el par reduce su búfer anunciado (peer_buf_alloc) mientras hay bytes en tránsito, la resta puede sufrir un desbordamiento negativo y producir un valor positivo grande, lo que podría permitir que se pongan en cola más datos de los que el par puede manejar.\n\nReutilizar virtio_transport_has_space() que ya maneja este caso y añadir un comentario para dejar claro por qué lo estamos haciendo.\n\n[Stefano: usar virtio_transport_has_space() en lugar de duplicar el código]\n[Stefano: ajustar el mensaje de commit]","source":"nvd"}],"published":"2026-02-04T16:07:49.911Z","modified":"2026-10-19T19:17:33.783Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-190","CWE-191"],"affected":[{"ranges":[{"type":"git","introduced":"06a8fc78367d070720af960dcecec917d3ae5f3b","fixed":"d96de882d6b99955604669d962ae14e94b66a551","status":"affected"},{"type":"git","introduced":"06a8fc78367d070720af960dcecec917d3ae5f3b","fixed":"02f9af192b98d15883c70dd41ac76d1b0217c899","status":"affected"},{"type":"git","introduced":"06a8fc78367d070720af960dcecec917d3ae5f3b","fixed":"d05bc313788f0684b27f0f5b60c52a844669b542","status":"affected"},{"type":"git","introduced":"06a8fc78367d070720af960dcecec917d3ae5f3b","fixed":"ec0f1b3da8061be3173d1c39faaf9504f91942c3","status":"affected"},{"type":"git","introduced":"06a8fc78367d070720af960dcecec917d3ae5f3b","fixed":"3ef3d52a1a9860d094395c7a3e593f3aa26ff012","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.8","status":"unaffected"},{"type":"semver","introduced":"6.1.162","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.122","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.68","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.8","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","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":"4.8","fixed":"6.1.162"},{"status":"affected","introduced":"6.2","fixed":"6.6.122"},{"status":"affected","introduced":"6.7","fixed":"6.12.68"},{"status":"affected","introduced":"6.13","fixed":"6.18.8"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d96de882d6b99955604669d962ae14e94b66a551","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/02f9af192b98d15883c70dd41ac76d1b0217c899","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d05bc313788f0684b27f0f5b60c52a844669b542","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ec0f1b3da8061be3173d1c39faaf9504f91942c3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ef3d52a1a9860d094395c7a3e593f3aa26ff012","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-10T20:41:19.172Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23069","url":"https://www.cve.org/CVERecord?id=CVE-2026-23069","licence":"CVE Terms of Use","modified":"2026-10-19T18:25:28.890Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23069","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23069","licence":"Public domain","modified":"2026-10-19T19:17:33.783Z"}],"updatedAt":"2026-11-25T22:59:13.462Z","epss":{"score":0.00179,"percentile":0.07831,"date":"2026-12-01T12:00:22.000Z"}}