vsock/virtio: fix empty payload in tap skb for non-linear buffers
Published May 28, 2026
5.5
MEDIUMCVSS 3.1
EPSS 0.16%
Description
For non-linear skbs, virtio_transport_build_skb() goes through virtio_transport_copy_nonlinear_skb() to copy the original payload in the new skb to be delivered to the vsockmon tap device. This manually initializes an iov_iter but does not set iov_iter.count. Since the iov_iter is zero-initialized, the copy length is zero and no payload is actually copied to the monitor interface, leaving data un-initialized.
Fix this by removing the linear vs non-linear split and using skb_copy_datagram_iter() with iov_iter_kvec() for all cases, as vhost-vsock already does. This handles both linear and non-linear skbs, properly initializes the iov_iter, and removes the now unused virtio_transport_copy_nonlinear_skb().
While touching this code, let's also check the return value of skb_copy_datagram_iter(), even though it's unlikely to fail.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 6.7StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<6.7
- Version 6.12.90StatusunaffectedConstraints<=6.12.*
- Version 6.18.32StatusunaffectedConstraints<=6.18.*
- Version 7.0.9StatusunaffectedConstraints<=7.0.*
- Version 7.1StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
- ≥ 6.7 · < 6.12.90
- ≥ 6.13 · < 6.18.32
- ≥ 6.19 · < 7.0.9
- 7.1
- 7.1
- 7.1
No data.
Red Hat Enterprise Linux 10
kernel
Fix deferred
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Fix deferred
Red Hat Enterprise Linux 9
kernel-rt
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Fix deferred | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Fix deferred | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (10)
- https://access.redhat.com/security/cve/CVE-2026-46207 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2482528 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-32834 Advisory
- https://git.kernel.org/stable/c/06747f52ab157591cec7e5623a759473b66ef6f6 Patch
- https://git.kernel.org/stable/c/378b131a25bd1a5ee27ca199fe486c299d5350c5 Patch
- https://git.kernel.org/stable/c/3a3e3d90cbc79600544536723911657730759af3 Patch
- https://git.kernel.org/stable/c/52da6a74ca3de0fcda60301096b71534b3b18641 Patch
- https://lore.kernel.org/linux-cve-announce/2026052834-CVE-2026-46207-6281@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2026-46207
- https://www.cve.org/CVERecord?id=CVE-2026-46207
Change history (0)
No recorded changes yet.