{"id":"CVE-2026-99635","aliases":["CVE-2026-99635"],"related":[],"kind":"vulnerability","state":"published","title":"vhost/vsock: size receive SKBs from declared payload","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nvhost/vsock: size receive SKBs from declared payload\n\nvhost_vsock_alloc_skb() sizes the skb from iov_length(), the total guest\ndescriptor length.  virtio_transport_inc_rx_pkt() instead adds hdr->len to\nrx_bytes and buf_used, and budgets each queued skb as SKB_TRUESIZE(0).  The\nguest controls the descriptor length and hdr->len independently.\n\nA guest can therefore provide a 64 KiB descriptor while declaring a zero\npayload.  The descriptor-sized skb remains queued, rx_bytes and buf_used\nremain unchanged, and only the fixed queue-entry budget limits retention.\nThis is not a lifetime leak: the skb is freed when dequeued or at socket\nteardown.  Repeating this across connections can nevertheless exhaust host\nmemory.  On Linux v7.2, 455 such descriptors retained 30,255,680 bytes for\na 262,144-byte receive buffer; a full-payload control retained 265,984\nbytes.\n\nVhost previously read hdr->len and allocated pkt->buf from that value.  The\nconversion from virtio_vsock_pkt to sk_buff instead allocated receive skbs\nfrom the descriptor length, introducing the allocation-accounting mismatch.\n\nCopy the header into a stack object and validate hdr->len before allocating\nthe skb.  Size the allocation as sizeof(hdr) + payload_len so descriptor\ncapacity no longer determines queued memory.  Check payload_len against\nlen - sizeof(hdr) to avoid addition overflow on 32-bit hosts.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvhost/vsock: size receive SKBs from declared payload\n\nvhost_vsock_alloc_skb() sizes the skb from iov_length(), the total guest\ndescriptor length.  virtio_transport_inc_rx_pkt() instead adds hdr->len to\nrx_bytes and buf_used, and budgets each queued skb as SKB_TRUESIZE(0).  The\nguest controls the descriptor length and hdr->len independently.\n\nA guest can therefore provide a 64 KiB descriptor while declaring a zero\npayload.  The descriptor-sized skb remains queued, rx_bytes and buf_used\nremain unchanged, and only the fixed queue-entry budget limits retention.\nThis is not a lifetime leak: the skb is freed when dequeued or at socket\nteardown.  Repeating this across connections can nevertheless exhaust host\nmemory.  On Linux v7.2, 455 such descriptors retained 30,255,680 bytes for\na 262,144-byte receive buffer; a full-payload control retained 265,984\nbytes.\n\nVhost previously read hdr->len and allocated pkt->buf from that value.  The\nconversion from virtio_vsock_pkt to sk_buff instead allocated receive skbs\nfrom the descriptor length, introducing the allocation-accounting mismatch.\n\nCopy the header into a stack object and validate hdr->len before allocating\nthe skb.  Size the allocation as sizeof(hdr) + payload_len so descriptor\ncapacity no longer determines queued memory.  Check payload_len against\nlen - sizeof(hdr) to avoid addition overflow on 32-bit hosts.","source":"cvelist"}],"published":"2026-11-20T05:49:52.334Z","modified":"2026-11-23T08:18:05.083Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"baddcc2c71572968cdaeee1c4ab3dc0ad90fa765","fixed":"e07161f8d1d73a2b66ec24b9ac623d500bb9f006","status":"affected"},{"type":"git","introduced":"71dc9ec9ac7d3eee785cdc986c3daeb821381e20","fixed":"88910e2a8c690589e29a7b344554595d195ec9b5","status":"affected"},{"type":"git","introduced":"71dc9ec9ac7d3eee785cdc986c3daeb821381e20","fixed":"92ac18f7de67c7cb35b71e9872b08fb9ba9a6bf8","status":"affected"},{"type":"git","introduced":"71dc9ec9ac7d3eee785cdc986c3daeb821381e20","fixed":"89a2f2251a06751ddabbd6a39c207236b8bd42d5","status":"affected"},{"type":"git","introduced":"71dc9ec9ac7d3eee785cdc986c3daeb821381e20","fixed":"9819add3aeb66dc823db0a82337f55481ad463be","status":"affected"},{"type":"git","introduced":"71dc9ec9ac7d3eee785cdc986c3daeb821381e20","fixed":"d5e912448cd98b261eba8e35ab838f2dc69a79f5","status":"affected"},{"type":"semver","introduced":"6.1.63","fixed":"6.1.193","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.3","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","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/e07161f8d1d73a2b66ec24b9ac623d500bb9f006","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/88910e2a8c690589e29a7b344554595d195ec9b5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/92ac18f7de67c7cb35b71e9872b08fb9ba9a6bf8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/89a2f2251a06751ddabbd6a39c207236b8bd42d5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9819add3aeb66dc823db0a82337f55481ad463be","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d5e912448cd98b261eba8e35ab838f2dc69a79f5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99635","url":"https://www.cve.org/CVERecord?id=CVE-2026-99635","licence":"CVE Terms of Use","modified":"2026-11-23T08:05:23.722Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99635","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99635","licence":"Public domain","modified":"2026-11-23T08:18:05.083Z"}],"updatedAt":"2026-11-25T22:59:52.289Z","epss":{"score":0.00206,"percentile":0.11246,"date":"2026-12-01T12:00:22.000Z"}}