Bug 2499742 (CVE-2026-53365) - CVE-2026-53365 kernel: vsock/virtio: fix zerocopy completion for multi-skb sends
Summary: CVE-2026-53365 kernel: vsock/virtio: fix zerocopy completion for multi-skb sends
Keywords:
Status: NEW
Alias: CVE-2026-53365
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-13 18:02 UTC by OSIDB Bzimport
Modified: 2026-07-14 11:08 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-13 18:02:02 UTC
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 skb_zcopy_set(), 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
net_zcopy_put_abort().

This issue was initially discovered by sashiko while reviewing commit
1cb36e252211 ("vsock/virtio: fix MSG_ZEROCOPY pinned-pages accounting")
but was pre-existing.

Comment 1 Mauro Matteo Cascella 2026-07-14 11:02:51 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026071353-CVE-2026-53365-c6d2@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.