CVE-2026-53365

vsock/virtio: fix zerocopy completion for multi-skb sends

State
Published
Severity
7.8 High
Published
Jul 13, 2026
Updated
Aug 18, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-404 Improper Resource Shutdown or Release

Affected Products

ProductVersions
LinuxLinux
  • 581512a6dc939ef122e49336626ae159f3b8a345 to before 293fe8f2d1b5ac464ca16a8eba09571bbbb34ba9Affected
  • 581512a6dc939ef122e49336626ae159f3b8a345 to before 76b995bc57bd90cb6e954e1966fbd8786da47f0dAffected
  • 581512a6dc939ef122e49336626ae159f3b8a345 to before b3155f2b78db21e99256bcf7eb902f24ff6d5338Affected
  • 581512a6dc939ef122e49336626ae159f3b8a345 to before ae38d9179190a956e2a87a69ef1dd6f451b51c4dAffected
LinuxLinux
  • 6.7Affected
  • before 6.7Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.34 through 6.18.*Not affected
  • 7.0.11 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.