{"id":"CVE-2026-23057","aliases":["CVE-2026-23057"],"related":[],"kind":"vulnerability","state":"published","title":"vsock/virtio: Coalesce only linear skb","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock/virtio: Coalesce only linear skb\n\nvsock/virtio common tries to coalesce buffers in rx queue: if a linear skb\n(with a spare tail room) is followed by a small skb (length limited by\nGOOD_COPY_LEN = 128), an attempt is made to join them.\n\nSince the introduction of MSG_ZEROCOPY support, assumption that a small skb\nwill always be linear is incorrect. In the zerocopy case, data is lost and\nthe linear skb is appended with uninitialized kernel memory.\n\nOf all 3 supported virtio-based transports, only loopback-transport is\naffected. G2H virtio-transport rx queue operates on explicitly linear skbs;\nsee virtio_vsock_alloc_linear_skb() in virtio_vsock_rx_fill(). H2G\nvhost-transport may allocate non-linear skbs, but only for sizes that are\nnot considered for coalescence; see PAGE_ALLOC_COSTLY_ORDER in\nvirtio_vsock_alloc_skb().\n\nEnsure only linear skbs are coalesced. Note that skb_tailroom(last_skb) > 0\nguarantees last_skb is linear.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock/virtio: Coalesce only linear skb\n\nvsock/virtio common tries to coalesce buffers in rx queue: if a linear skb\n(with a spare tail room) is followed by a small skb (length limited by\nGOOD_COPY_LEN = 128), an attempt is made to join them.\n\nSince the introduction of MSG_ZEROCOPY support, assumption that a small skb\nwill always be linear is incorrect. In the zerocopy case, data is lost and\nthe linear skb is appended with uninitialized kernel memory.\n\nOf all 3 supported virtio-based transports, only loopback-transport is\naffected. G2H virtio-transport rx queue operates on explicitly linear skbs;\nsee virtio_vsock_alloc_linear_skb() in virtio_vsock_rx_fill(). H2G\nvhost-transport may allocate non-linear skbs, but only for sizes that are\nnot considered for coalescence; see PAGE_ALLOC_COSTLY_ORDER in\nvirtio_vsock_alloc_skb().\n\nEnsure only linear skbs are coalesced. Note that skb_tailroom(last_skb) > 0\nguarantees last_skb is linear.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nvsock/virtio: Coalescer solo skb lineal\n\nEl común de vsock/virtio intenta coalescer búferes en la cola rx: si un skb lineal (con espacio de cola libre) es seguido por un skb pequeño (longitud limitada por GOOD_COPY_LEN = 128), se intenta unirlos.\n\nDesde la introducción del soporte MSG_ZEROCOPY, la suposición de que un skb pequeño siempre será lineal es incorrecta. En el caso de zerocopy, se pierden datos y el skb lineal es anexado con memoria del kernel no inicializada.\n\nDe todos los 3 transportes basados en virtio soportados, solo el transporte loopback se ve afectado. La cola rx del transporte virtio G2H opera con skbs explícitamente lineales; ver virtio_vsock_alloc_linear_skb() en virtio_vsock_rx_fill(). El transporte vhost H2G puede asignar skbs no lineales, pero solo para tamaños que no se consideran para la coalescencia; ver PAGE_ALLOC_COSTLY_ORDER en virtio_vsock_alloc_skb().\n\nAsegurar que solo los skbs lineales sean coalescidos. Tenga en cuenta que skb_tailroom(last_skb) &gt; 0 garantiza que last_skb es lineal.","source":"nvd"}],"published":"2026-02-04T16:07:40.550Z","modified":"2026-06-17T10:20:47.133Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"581512a6dc939ef122e49336626ae159f3b8a345","fixed":"568e9cd8ed7ca9bf748c7687ba6501f29d30e59f","status":"affected"},{"type":"git","introduced":"581512a6dc939ef122e49336626ae159f3b8a345","fixed":"63ef9b300bd09e24c57050c5dbe68feedce42e72","status":"affected"},{"type":"git","introduced":"581512a6dc939ef122e49336626ae159f3b8a345","fixed":"0386bd321d0f95d041a7b3d7b07643411b044a96","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.7","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"}],"references":[{"url":"https://git.kernel.org/stable/c/568e9cd8ed7ca9bf748c7687ba6501f29d30e59f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/63ef9b300bd09e24c57050c5dbe68feedce42e72","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0386bd321d0f95d041a7b3d7b07643411b044a96","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23057","url":"https://www.cve.org/CVERecord?id=CVE-2026-23057","licence":"CVE Terms of Use","modified":"2026-05-11T21:59:10.131Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23057","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23057","licence":"Public domain","modified":"2026-06-17T10:20:47.133Z"}],"updatedAt":"2026-11-25T22:59:13.456Z","epss":{"score":0.00199,"percentile":0.10206,"date":"2026-12-01T12:00:22.000Z"}}