CVE-2026-142938

Source
https://cve.org/CVERecord?id=CVE-2026-142938
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142938.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142938
Published
2026-12-03T03:26:09Z
Modified
2026-12-03T05:01:19Z
Summary
virtio-net: fix frag overflow in big packets receive
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142938.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9ab86bbcf8be755256f0a5e994e0b38af6b4d399
Fixed
5b5897c33d0f70a0bbba0390336a0b0b5ee34d5a
Fixed
a358121e340b4dae2729f01cb7b7139b8765eee3
Fixed
ec7785c8bb7d5f54eb7662c82c74092e0612487d
Fixed
e612e5e046bb5941f532a13ed18b662820736acb
Fixed
b0e4ea3a0cd42eccad9cc4153afcad555480b9e6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142938.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.34
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142938.json"