{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142938",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.338Z",
        "datePublished": "2026-12-03T03:26:09.353Z",
        "dateUpdated": "2026-12-04T03:26:12.880Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-04T03:26:12.880Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio-net: fix frag overflow in big packets receive\n\nIn big packets mode with guest GSO, add_recvbuf_big() posts a chain of\nMAX_SKB_FRAGS + 1 pages. page_to_skb() copies only ETH_HLEN of the\nfirst page into the linear area and adds the rest of that page as a\nfrag, then one frag per remaining page. A device that fills the entire\nbuffer therefore causes MAX_SKB_FRAGS + 1 frags, writing one\nskb_frag_t past the end of skb_shinfo(skb)->frags[].\n\nPost one page less. The buffer still fits a maximal GSO packet. A well\nbehaved device does not trigger this, as GSO packets are at most 64KB.\n\nAlso check the frag count in page_to_skb() before adding any frag as\ndefense in depth."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 8.4,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The length that overflows frags[] is the virtqueue used-element length, read by vring_read_split_used_len() in virtqueue_get_buf_ctx_split() and passed through virtnet_receive_packets(), receive_buf(), and receive_big() into page_to_skb(). A conforming device caps GSO at 64KB, short of the MAX_SKB_FRAGS+1 pages add_recvbuf_big() posts, so a remote packet cannot carry this length.\nAC:L - The backend omits VIRTIO_NET_F_MRG_RXBUF and offers VIRTIO_NET_F_GUEST_TSO4, so virtnet_set_big_packets() sets big_packets_num_skbfrags to MAX_SKB_FRAGS and add_recvbuf_big() posts one page too many; it then stores used.len up to receive_big()'s max_len and page_to_skb() writes the extra frag on that completion, with no race.\nPR:N - page_to_skb() is reached from the device RX callback skb_recv_done() via virtnet_poll() with no capability or credential check; the backend only completes a receive descriptor and needs no account in the victim kernel.\nUI:N - virtnet_poll() runs from the RX virtqueue NAPI callback as soon as the backend publishes the used-ring entry; no mount, open, or other victim action is required.\nS:U - The extra skb_frag_t is written in the kernel that runs the virtio-net frontend (page_to_skb() on that kernel's skb). It does not escape a guest into the hypervisor or bypass an IOMMU mapping.\nC:H - skb_add_rx_frag() stores one skb_frag_t past frags[MAX_SKB_FRAGS-1], the last field of skb_shared_info, which __finalize_skb_around() places at the end of the napi_alloc_skb(GOOD_COPY_LEN) small-head object; nr_frags is left at MAX_SKB_FRAGS+1 so later walks treat the adjacent slot as a page pointer.\nI:H - That skb_add_rx_frag() store is an out-of-bounds write of a frag descriptor (kernel page netmem plus a device-chosen length) into the next skb_small_head_cache object, including its SLUB freelist word when the neighbor is free, and is a kernel write primitive.\nA:H - The overflow runs in softirq from virtnet_poll(). skb_release_data() then walks nr_frags past frags[] into the neighboring small-head object, and clobbering that object's freelist or header oopses the kernel; the backend can repeat the completion."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/virtio_net.c"
                    ],
                    "versions": [
                        {
                            "version": "9ab86bbcf8be755256f0a5e994e0b38af6b4d399",
                            "lessThan": "5b5897c33d0f70a0bbba0390336a0b0b5ee34d5a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9ab86bbcf8be755256f0a5e994e0b38af6b4d399",
                            "lessThan": "a358121e340b4dae2729f01cb7b7139b8765eee3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9ab86bbcf8be755256f0a5e994e0b38af6b4d399",
                            "lessThan": "ec7785c8bb7d5f54eb7662c82c74092e0612487d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9ab86bbcf8be755256f0a5e994e0b38af6b4d399",
                            "lessThan": "e612e5e046bb5941f532a13ed18b662820736acb",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9ab86bbcf8be755256f0a5e994e0b38af6b4d399",
                            "lessThan": "b0e4ea3a0cd42eccad9cc4153afcad555480b9e6",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/virtio_net.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.34",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.34",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.34",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.34",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.34",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.34",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.34",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/5b5897c33d0f70a0bbba0390336a0b0b5ee34d5a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a358121e340b4dae2729f01cb7b7139b8765eee3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ec7785c8bb7d5f54eb7662c82c74092e0612487d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e612e5e046bb5941f532a13ed18b662820736acb"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b0e4ea3a0cd42eccad9cc4153afcad555480b9e6"
                }
            ],
            "title": "virtio-net: fix frag overflow in big packets receive",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}