CVE-2026-52994: vsock/virtio: fix MSG_ZEROCOPY pinned-pages accounting

Published Jun 24, 2026
·
Updated

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

vsock/virtio: fix MSGZEROCOPY pinned-pages accounting

virtiotransportinitzcopyskb() uses iter->count as the size argument for msgzerocopyrealloc(), which in turn passes it to mmaccountpinnedpages() for RLIMITMEMLOCK accounting. However, this function is called after virtiotransportfillskb() has already consumed the iterator via zerocopysgfromiter(), so on the last skb, iter->count will be 0, skipping the RLIMITMEMLOCK enforcement.

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

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

Affected Software

3 affected components
Linux Linux kernel (vsock/virtio)
Linux Linux kernel>=6.7<6.18.33
Linux Linux kernel>=6.19<7.0.10

Event History

Jun 24, 2026
CVE Published
via MITRE·04:29 PM
Data Sourced
via MITRE·04:29 PM
Description
Data Sourced
via NVD·05:17 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-52994?

CVE-2026-52994 has a severity rating of medium with a score of 5.5.

2

How do I fix CVE-2026-52994?

To fix CVE-2026-52994, apply the available patches to the Linux kernel that address the vulnerability.

3

What does CVE-2026-52994 affect?

CVE-2026-52994 affects the Linux kernel, specifically the vsock and virtio components.

4

What is the risk level of CVE-2026-52994?

CVE-2026-52994 has a risk level of 32, indicating a notable impact under certain conditions.

5

What is the nature of the vulnerability in CVE-2026-52994?

CVE-2026-52994 involves an issue with MSG_ZEROCOPY pinned-pages accounting in the Linux kernel's handling of virtio transport.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203