CVE-2026-142938: virtio-net: fix frag overflow in big packets receive

Published Dec 3, 2026
·
Updated

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, addrecvbufbig() posts a chain of MAXSKBFRAGS + 1 pages. pagetoskb() copies only ETHHLEN 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 MAXSKBFRAGS + 1 frags, writing one skbfragt past the end of skbshinfo(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 pagetoskb() before adding any frag as defense in depth.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In big-packets mode with guest GSO, have add_recvbuf_big() post one page fewer (MAX_SKB_FRAGS pages instead of MAX_SKB_FRAGS + 1).

  2. Compensating control

    In page_to_skb(), check the frag count before adding any frag to prevent writing past skb_shinfo(skb)->frags[].

Event History

Dec 3, 2026
CVE Published
via MITRE·03:26 AM
Data Sourced
via MITRE·03:26 AM
Description

Frequently Asked Questions

1

Which deployments are exposed to the overflow condition?

Systems using virtio-net in big packets mode with guest GSO are exposed if the receive path can process a device-filled buffer chain. The issue concerns the handling of large received packets, not ordinary virtio-net use as such.

2

What must happen for the overflow to be triggered?

The device must fill the entire posted receive buffer chain. This makes page_to_skb() attempt to add MAX_SKB_FRAGS + 1 fragments, exceeding the skb fragment array by one entry; a well-behaved device normally does not do this because GSO packets are limited to 64 KB.

3

What protections does the resolved code add?

The fix posts one fewer page in the big-packet receive buffer chain while retaining capacity for a maximal GSO packet. It also verifies the fragment count before adding any fragment in page_to_skb() as a defense-in-depth measure.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203