# CVE-2026-52994: vsock/virtio: fix MSG\_ZEROCOPY pinned-pages accounting

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-24 · Modified: 2026-11-06
- Aliases: UBUNTU-CVE-2026-52994, DEBIAN-CVE-2026-52994, CGA-5x55-2h23-c7pv, CGA-8572-f5h5-p5h4, CGA-8p4r-rfww-4qp9, CGA-9g7x-24q7-3vh2, CGA-cp57-g446-h339
- Record: https://cvemate.com/vulnerability/CVE-2026-52994 · JSON: https://cvemate.com/vulnerability/CVE-2026-52994/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

vsock/virtio: fix MSG_ZEROCOPY pinned-pages accounting

virtio_transport_init_zcopy_skb() uses iter->count as the size argument
for msg_zerocopy_realloc(), which in turn passes it to
mm_account_pinned_pages() for RLIMIT_MEMLOCK accounting. However, this
function is called after virtio_transport_fill_skb() has already consumed
the iterator via __zerocopy_sg_from_iter(), so on the last skb, iter->count
will be 0, skipping the RLIMIT_MEMLOCK enforcement.

Pass pkt_len (the total bytes being sent) as an explicit parameter to
virtio_transport_init_zcopy_skb() instead of reading the already-consumed
iter->count.

This matches TCP and UDP, which both call msg_zerocopy_realloc() with
the original message size.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.126%, percentile 2.478%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 149)

- chainguard linux-aws-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-azure-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-gcp-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-qemu-6.12 (Chainguard): All versions (No fix recorded)
- chainguard linux-vmware-6.12 (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 7.0.10-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 7.0.0-28.28
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 7.0.0-1009.9
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/6af1736b5810bc8a4a43a8518530113f5a757dc1>
- <https://git.kernel.org/stable/c/d0117950075f0a9d5944980784c719d8ebcd4bff>
- <https://git.kernel.org/stable/c/1cb36e252211506f51095fe7ced8286cc77b4c80>
- <https://ubuntu.com/security/CVE-2026-52994>
- <https://www.cve.org/CVERecord?id=CVE-2026-52994>
- <https://git.kernel.org/linus/1cb36e252211506f51095fe7ced8286cc77b4c80>
- <https://ubuntu.com/security/notices/USN-8566-1>
- <https://ubuntu.com/security/notices/USN-8568-1>
- <https://ubuntu.com/security/notices/USN-8569-1>
- <https://ubuntu.com/security/notices/USN-8593-1>
- <https://ubuntu.com/security/notices/USN-8603-1>
- <https://ubuntu.com/security/notices/USN-8618-1>
- <https://ubuntu.com/security/notices/USN-8663-1>
- <https://ubuntu.com/security/notices/USN-8664-1>
- <https://ubuntu.com/security/notices/USN-8728-1>
- <https://ubuntu.com/security/notices/USN-8728-2>
- <https://ubuntu.com/security/notices/USN-8728-3>
- <https://ubuntu.com/security/notices/USN-8886-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-52994>

---

Data as of 2026-12-05T06:22:00.930Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
