{"id":"CVE-2026-52994","published":"2026-06-24T16:29:07Z","modified":"2026-11-06T16:23:52Z","title":"vsock/virtio: fix MSG_ZEROCOPY pinned-pages accounting","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock/virtio: fix MSG_ZEROCOPY pinned-pages accounting\n\nvirtio_transport_init_zcopy_skb() uses iter->count as the size argument\nfor msg_zerocopy_realloc(), which in turn passes it to\nmm_account_pinned_pages() for RLIMIT_MEMLOCK accounting. However, this\nfunction is called after virtio_transport_fill_skb() has already consumed\nthe iterator via __zerocopy_sg_from_iter(), so on the last skb, iter->count\nwill be 0, skipping the RLIMIT_MEMLOCK enforcement.\n\nPass pkt_len (the total bytes being sent) as an explicit parameter to\nvirtio_transport_init_zcopy_skb() instead of reading the already-consumed\niter->count.\n\nThis matches TCP and UDP, which both call msg_zerocopy_realloc() with\nthe original message size.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0016,"percentile":0.02746,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/6af1736b5810bc8a4a43a8518530113f5a757dc1","tags":[]},{"url":"https://git.kernel.org/stable/c/d0117950075f0a9d5944980784c719d8ebcd4bff","tags":[]},{"url":"https://git.kernel.org/stable/c/1cb36e252211506f51095fe7ced8286cc77b4c80","tags":[]}],"priority":{"score":0.5,"factors":[{"name":"EPSS percentile","points":0.55}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 581512a6dc939ef122e49336626ae159f3b8a345, < 6af1736b5810bc8a4a43a8518530113f5a757dc1",">= 581512a6dc939ef122e49336626ae159f3b8a345, < d0117950075f0a9d5944980784c719d8ebcd4bff",">= 581512a6dc939ef122e49336626ae159f3b8a345, < 1cb36e252211506f51095fe7ced8286cc77b4c80"]},{"vendor":"Linux","product":"Linux","versions":["6.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-06T16:15:53.426618Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-38862","exploited":false,"provenance":"source"}}