AZL-117748: CVE-2026-142938 affecting package kernel 6.6.161.1-1
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In virtio-net add_recvbuf_big() big-packets mode, post one page less so the receive buffer does not create MAX_SKB_FRAGS + 1 frags.
- Compensating control
In page_to_skb(), check the frag count before adding any frag.
Event History
Frequently Asked Questions
What conditions are required for this issue to be triggered?
The virtio-net receive path must be operating in big-packets mode with guest GSO enabled. The virtio device must fill the entire posted buffer, causing the receive code to exceed the skb fragment array limit.
Is this likely to be triggered by a normal virtio device?
A well-behaved device should not trigger the issue because GSO packets are limited to at most 64 KB. Triggering it requires a device that fills the full buffer rather than adhering to that expected packet size behavior.