5.5
MEDIUM CVSS 3.1
CVE-2026-52994
vsock/virtio: fix MSG_ZEROCOPY pinned-pages accounting
Description

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.

INFO

Published Date :

June 24, 2026, 5:17 p.m.

Last Modified :

July 15, 2026, 1:09 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-52994 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
Update the Linux kernel to fix pinned-pages accounting in virtio vsock.
  • Update the Linux kernel to the latest version.
  • Apply the specific patch for virtio vsock.
  • Verify pinned-pages accounting is corrected.
  • Restart affected services or the system.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-52994.

URL Resource
https://git.kernel.org/stable/c/1cb36e252211506f51095fe7ced8286cc77b4c80 Patch
https://git.kernel.org/stable/c/6af1736b5810bc8a4a43a8518530113f5a757dc1 Patch
https://git.kernel.org/stable/c/d0117950075f0a9d5944980784c719d8ebcd4bff Patch
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-52994 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-52994 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-52994 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-52994 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jul. 15, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE NVD-CWE-Other
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.10 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.18.33
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/1cb36e252211506f51095fe7ced8286cc77b4c80 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/6af1736b5810bc8a4a43a8518530113f5a757dc1 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/d0117950075f0a9d5944980784c719d8ebcd4bff Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 24, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '581512a6dc939ef122e49336626ae159f3b8a345', 'lessThan': '6af1736b5810bc8a4a43a8518530113f5a757dc1', 'versionType': 'git'}, {'status': 'affected', 'version': '581512a6dc939ef122e49336626ae159f3b8a345', 'lessThan': 'd0117950075f0a9d5944980784c719d8ebcd4bff', 'versionType': 'git'}, {'status': 'affected', 'version': '581512a6dc939ef122e49336626ae159f3b8a345', 'lessThan': '1cb36e252211506f51095fe7ced8286cc77b4c80', 'versionType': 'git'}], 'programFiles': ['net/vmw_vsock/virtio_transport_common.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.7'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.7', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.18.33', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.10', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/vmw_vsock/virtio_transport_common.c'], 'defaultStatus': 'affected'}]
    Added Description 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.
    Added Reference https://git.kernel.org/stable/c/1cb36e252211506f51095fe7ced8286cc77b4c80
    Added Reference https://git.kernel.org/stable/c/6af1736b5810bc8a4a43a8518530113f5a757dc1
    Added Reference https://git.kernel.org/stable/c/d0117950075f0a9d5944980784c719d8ebcd4bff
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.