CVE-2026-142938
Description
In the Linux kernel, the following vulnerability has been resolved:
virtio-net: fix frag overflow in big packets receive
In big packets mode with guest GSO, add_recvbuf_big() posts a chain of MAX_SKB_FRAGS + 1 pages. page_to_skb() copies only ETH_HLEN of the first page into the linear area and adds the rest of that page as a frag, then one frag per remaining page. A device that fills the entire buffer therefore causes MAX_SKB_FRAGS + 1 frags, writing one skb_frag_t past the end of skb_shinfo(skb)->frags[].
Post one page less. The buffer still fits a maximal GSO packet. A well behaved device does not trigger this, as GSO packets are at most 64KB.
Also check the frag count in page_to_skb() before adding any frag as defense in depth.
Affected products
1Patches
Vulnerability mechanics
References
5- git.kernel.org/stable/c/5b5897c33d0f70a0bbba0390336a0b0b5ee34d5anvd
- git.kernel.org/stable/c/a358121e340b4dae2729f01cb7b7139b8765eee3nvd
- git.kernel.org/stable/c/b0e4ea3a0cd42eccad9cc4153afcad555480b9e6nvd
- git.kernel.org/stable/c/e612e5e046bb5941f532a13ed18b662820736acbnvd
- git.kernel.org/stable/c/ec7785c8bb7d5f54eb7662c82c74092e0612487dnvd
News mentions
0No linked articles in our index yet.