{"id":"CVE-2026-142938","summary":"virtio-net: fix frag overflow in big packets receive","details":"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)-\u003efrags[].\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.","modified":"2026-12-03T05:01:19.604794731Z","published":"2026-12-03T03:26:09.353Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142938.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5b5897c33d0f70a0bbba0390336a0b0b5ee34d5a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a358121e340b4dae2729f01cb7b7139b8765eee3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b0e4ea3a0cd42eccad9cc4153afcad555480b9e6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e612e5e046bb5941f532a13ed18b662820736acb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ec7785c8bb7d5f54eb7662c82c74092e0612487d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142938.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142938"}],"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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.2"}