- Accueil
- Vulnérabilités
- CVE-2026-46207
CVE-2026-46207
vsock/virtio: fix empty payload in tap skb for non-linear buffers
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (5 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux | 6.7 |
— | CNA (éditeur ou attributeur) |
| Linux kernel | de 6.7 (inclus) à 6.12.90 (exclu) |
— | NVD |
| Linux kernel | de 6.13 (inclus) à 6.18.32 (exclu) |
— | NVD |
| Linux kernel | de 6.19 (inclus) à 7.0.9 (exclu) |
— | NVD |
| Linux kernel | 7.1 |
— | NVD |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
- https://git.kernel.org/stable/c/06747f52ab157591cec7e5623a759473b66ef6f6Patch
- https://git.kernel.org/stable/c/378b131a25bd1a5ee27ca199fe486c299d5350c5Patch
- https://git.kernel.org/stable/c/3a3e3d90cbc79600544536723911657730759af3Patch
- https://git.kernel.org/stable/c/52da6a74ca3de0fcda60301096b71534b3b18641Patch
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- NVD
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, NVD)- Faiblesse
- CWE-401 · Autre (CWE-401)