{"id":"CVE-2026-23069","state":"PUBLISHED","title":"vsock/virtio: fix potential underflow in virtio_transport_get_credit()","description":"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]","publishedAt":"2026-02-04T16:07:49.911Z","updatedAt":"2026-10-19T18:25:28.890Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"06a8fc78367d070720af960dcecec917d3ae5f3b","status":"affected","lessThan":"d96de882d6b99955604669d962ae14e94b66a551","versionType":"git"},{"version":"06a8fc78367d070720af960dcecec917d3ae5f3b","status":"affected","lessThan":"02f9af192b98d15883c70dd41ac76d1b0217c899","versionType":"git"},{"version":"06a8fc78367d070720af960dcecec917d3ae5f3b","status":"affected","lessThan":"d05bc313788f0684b27f0f5b60c52a844669b542","versionType":"git"},{"version":"06a8fc78367d070720af960dcecec917d3ae5f3b","status":"affected","lessThan":"ec0f1b3da8061be3173d1c39faaf9504f91942c3","versionType":"git"},{"version":"06a8fc78367d070720af960dcecec917d3ae5f3b","status":"affected","lessThan":"3ef3d52a1a9860d094395c7a3e593f3aa26ff012","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/vmw_vsock/virtio_transport_common.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.8","versionType":"semver"},{"version":"6.1.162","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.122","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.68","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.8","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/vmw_vsock/virtio_transport_common.c"]}],"references":["https://git.kernel.org/stable/c/d96de882d6b99955604669d962ae14e94b66a551","https://git.kernel.org/stable/c/02f9af192b98d15883c70dd41ac76d1b0217c899","https://git.kernel.org/stable/c/d05bc313788f0684b27f0f5b60c52a844669b542","https://git.kernel.org/stable/c/ec0f1b3da8061be3173d1c39faaf9504f91942c3","https://git.kernel.org/stable/c/3ef3d52a1a9860d094395c7a3e593f3aa26ff012"],"weaknesses":["CWE-190"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/23xxx/CVE-2026-23069.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-23069","state":"PUBLISHED","datePublished":"2026-02-04T16:07:49.911Z","dateUpdated":"2026-10-19T18:25:28.890Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-01-13T15:37:45.954Z"},"containers":{"cna":{"title":"vsock/virtio: fix potential underflow in virtio_transport_get_credit()","descriptions":[{"lang":"en","value":"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]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"06a8fc78367d070720af960dcecec917d3ae5f3b","status":"affected","lessThan":"d96de882d6b99955604669d962ae14e94b66a551","versionType":"git"},{"version":"06a8fc78367d070720af960dcecec917d3ae5f3b","status":"affected","lessThan":"02f9af192b98d15883c70dd41ac76d1b0217c899","versionType":"git"},{"version":"06a8fc78367d070720af960dcecec917d3ae5f3b","status":"affected","lessThan":"d05bc313788f0684b27f0f5b60c52a844669b542","versionType":"git"},{"version":"06a8fc78367d070720af960dcecec917d3ae5f3b","status":"affected","lessThan":"ec0f1b3da8061be3173d1c39faaf9504f91942c3","versionType":"git"},{"version":"06a8fc78367d070720af960dcecec917d3ae5f3b","status":"affected","lessThan":"3ef3d52a1a9860d094395c7a3e593f3aa26ff012","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/vmw_vsock/virtio_transport_common.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.8","versionType":"semver"},{"version":"6.1.162","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.122","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.68","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.8","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/vmw_vsock/virtio_transport_common.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/d96de882d6b99955604669d962ae14e94b66a551"},{"url":"https://git.kernel.org/stable/c/02f9af192b98d15883c70dd41ac76d1b0217c899"},{"url":"https://git.kernel.org/stable/c/d05bc313788f0684b27f0f5b60c52a844669b542"},{"url":"https://git.kernel.org/stable/c/ec0f1b3da8061be3173d1c39faaf9504f91942c3"},{"url":"https://git.kernel.org/stable/c/3ef3d52a1a9860d094395c7a3e593f3aa26ff012"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:59:23.999Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.8","versionEndExcluding":"6.1.162"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.8","versionEndExcluding":"6.6.122"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.8","versionEndExcluding":"6.12.68"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.8","versionEndExcluding":"6.18.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.8","versionEndExcluding":"6.19"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-23069","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-06-10T20:41:19.172207Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","lang":"en","type":"CWE","description":"CWE-190 Integer Overflow or Wraparound"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T18:25:28.890Z"}}]}}}