# CVE-2026-46207: vsock/virtio: fix empty payload in tap skb for non-linear buffers

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-02)
- Published: 2026-05-28T09:40:25.583Z
- Modified: 2026-11-06T17:17:44.420Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

vsock/virtio: fix empty payload in tap skb for non-linear buffers

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 4b0bf10eb077cb43c09746251ef3608d62c45667 before 06747f52ab157591cec7e5623a759473b66ef6f6; from 4b0bf10eb077cb43c09746251ef3608d62c45667 before 52da6a74ca3de0fcda60301096b71534b3b18641; from 4b0bf10eb077cb43c09746251ef3608d62c45667 before 378b131a25bd1a5ee27ca199fe486c299d5350c5; from 4b0bf10eb077cb43c09746251ef3608d62c45667 before 3a3e3d90cbc79600544536723911657730759af3; 6.7 (not affected: before 6.7; from 6.12.90 up to 6.12.*; from 6.18.32 up to 6.18.*; from 7.0.9 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.7 before 6.12.90; from 6.13 before 6.18.32; from 6.19 before 7.0.9; 7.1

## References

- <https://git.kernel.org/stable/c/06747f52ab157591cec7e5623a759473b66ef6f6> (patch)
- <https://git.kernel.org/stable/c/52da6a74ca3de0fcda60301096b71534b3b18641> (patch)
- <https://git.kernel.org/stable/c/378b131a25bd1a5ee27ca199fe486c299d5350c5> (patch)
- <https://git.kernel.org/stable/c/3a3e3d90cbc79600544536723911657730759af3> (patch)

## Sources

- CVE List: [CVE-2026-46207](https://www.cve.org/CVERecord?id=CVE-2026-46207), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-46207](https://nvd.nist.gov/vuln/detail/CVE-2026-46207), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-46207 · Whole record: https://cve.day/CVE-2026-46207.json · Rebuilt by cve.day 2026-11-25T22:59:22.871Z
