CVE-2026-53365: vsock/virtio: fix zerocopy completion for multi-skb sends
In the Linux kernel, the following vulnerability has been resolved:
vsock/virtio: fix zerocopy completion for multi-skb sends
When a large message is fragmented into multiple skbs, the zerocopy uarg is only allocated and attached to the last skb in the loop. Non-final skbs carry pinned user pages with no completion tracking, so the kernel has no way to notify userspace when those pages are safe to reuse. If the loop breaks early the uarg is never allocated at all, leaking pinned pages with no completion notification.
Fix this by following the approach used by TCP: allocate the zerocopy uarg (if not provided by the caller) before the send loop and attach it to every skb via skbzcopyset(), which takes a reference per skb. Each skb's completion properly decrements the refcount, and the notification only fires after the last skb is freed. On failure, if no data was sent, the uarg is cleanly aborted via netzcopyputabort().
This issue was initially discovered by sashiko while reviewing commit 1cb36e252211 ("vsock/virtio: fix MSGZEROCOPY pinned-pages accounting") but was pre-existing.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.14-1 - Upgrade
Upgrade
debian/linux-6.12to a version that resolves this vulnerability.Fixed in 6.12.113-1~deb12u1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-53365?
CVE-2026-53365 has a risk rating of 27.
What types of systems are affected by CVE-2026-53365?
CVE-2026-53365 affects systems running the Linux kernel that utilize vsock and virtio.
How do I fix CVE-2026-53365?
To fix CVE-2026-53365, you should update the Linux kernel to incorporate the latest security patches.
What does CVE-2026-53365 affect in Linux kernel operation?
CVE-2026-53365 impacts the zerocopy completion process for multi-skb sends in the Linux kernel.
Is CVE-2026-53365 a critical issue for system security?
While not critical, CVE-2026-53365 should be addressed to prevent potential exploitation affecting memory management.