{"api_version":"1","generated_at":"2026-07-04T18:19:45+00:00","cve":"CVE-2026-53362","urls":{"html":"https://cve.report/CVE-2026-53362","api":"https://cve.report/api/cve/CVE-2026-53362.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-53362","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-53362"},"summary":{"title":"ipv6: account for fraggap on the paged allocation path","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: account for fraggap on the paged allocation path\n\nIn __ip6_append_data(), when the paged-allocation branch is taken\n(MSG_MORE / NETIF_F_SG / large fraglen), alloclen and pagedlen are\ncomputed as\n\n\talloclen = fragheaderlen + transhdrlen;\n\tpagedlen = datalen - transhdrlen;\n\ndatalen already includes fraggap (datalen = length + fraggap). When\nfraggap is non-zero, this is not the first skb and transhdrlen is zero.\nThe fraggap bytes carried over from the previous skb are copied just past\nthe fragment headers in the new skb's linear area. The linear area is\ntherefore undersized by fraggap bytes while pagedlen is overstated by the\nsame amount, and the copy writes past skb->end into the trailing\nskb_shared_info.\n\nAn unprivileged user can trigger this via a UDPv6 socket using\nMSG_MORE together with MSG_SPLICE_PAGES.\n\nThe bad accounting was introduced by commit 773ba4fe9104 (\"ipv6:\navoid partial copy for zc\"). Before commit ce650a166335 (\"udp6: Fix\n__ip6_append_data()'s handling of MSG_SPLICE_PAGES\"), the negative\ncopy value caused -EINVAL to be returned. That later commit allowed\nMSG_SPLICE_PAGES to proceed in this case, making the corruption\ntriggerable.\n\nThe non-paged branch sets alloclen to fraglen, which already accounts\nfor fraggap because datalen does. Bring the paged branch in line by\nadding fraggap to alloclen and subtracting it from pagedlen.\n\nAfter this adjustment, copy no longer collapses to -fraggap on the\npaged path, so remove the stale comment describing that old arithmetic.\nSince a negative copy is no longer expected for a valid MSG_SPLICE_PAGES\ncase, remove the MSG_SPLICE_PAGES exception from the negative copy check.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-07-04 12:17:02","updated_at":"2026-07-04 12:17:02"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/e9eacf19281ea2498b36291b56c9606118c2d74e","name":"https://git.kernel.org/stable/c/e9eacf19281ea2498b36291b56c9606118c2d74e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/736b380e28d0480c7bc3e022f1950f31fe53a7c5","name":"https://git.kernel.org/stable/c/736b380e28d0480c7bc3e022f1950f31fe53a7c5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/14200d435af9a9eeb444f529fc2f689a236b7962","name":"https://git.kernel.org/stable/c/14200d435af9a9eeb444f529fc2f689a236b7962","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/46f201f8b4c39633a1fa3dc12459f506d470993d","name":"https://git.kernel.org/stable/c/46f201f8b4c39633a1fa3dc12459f506d470993d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/65fb14cbebb0cd0eff903a22d33537ddc8b95769","name":"https://git.kernel.org/stable/c/65fb14cbebb0cd0eff903a22d33537ddc8b95769","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6374fb9edf72c67a118a2c214a0dddd04c921e0a","name":"https://git.kernel.org/stable/c/6374fb9edf72c67a118a2c214a0dddd04c921e0a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-53362","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53362","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 773ba4fe9104a64a54d1c00f0fb6ffb95def2b03 14200d435af9a9eeb444f529fc2f689a236b7962 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 773ba4fe9104a64a54d1c00f0fb6ffb95def2b03 65fb14cbebb0cd0eff903a22d33537ddc8b95769 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 773ba4fe9104a64a54d1c00f0fb6ffb95def2b03 46f201f8b4c39633a1fa3dc12459f506d470993d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 773ba4fe9104a64a54d1c00f0fb6ffb95def2b03 6374fb9edf72c67a118a2c214a0dddd04c921e0a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 773ba4fe9104a64a54d1c00f0fb6ffb95def2b03 e9eacf19281ea2498b36291b56c9606118c2d74e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 773ba4fe9104a64a54d1c00f0fb6ffb95def2b03 736b380e28d0480c7bc3e022f1950f31fe53a7c5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.177 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.144 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.95 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.38 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.3 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/ipv6/ip6_output.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"14200d435af9a9eeb444f529fc2f689a236b7962","status":"affected","version":"773ba4fe9104a64a54d1c00f0fb6ffb95def2b03","versionType":"git"},{"lessThan":"65fb14cbebb0cd0eff903a22d33537ddc8b95769","status":"affected","version":"773ba4fe9104a64a54d1c00f0fb6ffb95def2b03","versionType":"git"},{"lessThan":"46f201f8b4c39633a1fa3dc12459f506d470993d","status":"affected","version":"773ba4fe9104a64a54d1c00f0fb6ffb95def2b03","versionType":"git"},{"lessThan":"6374fb9edf72c67a118a2c214a0dddd04c921e0a","status":"affected","version":"773ba4fe9104a64a54d1c00f0fb6ffb95def2b03","versionType":"git"},{"lessThan":"e9eacf19281ea2498b36291b56c9606118c2d74e","status":"affected","version":"773ba4fe9104a64a54d1c00f0fb6ffb95def2b03","versionType":"git"},{"lessThan":"736b380e28d0480c7bc3e022f1950f31fe53a7c5","status":"affected","version":"773ba4fe9104a64a54d1c00f0fb6ffb95def2b03","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/ipv6/ip6_output.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.0"},{"lessThan":"6.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.177","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.144","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.95","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.38","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.3","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.177","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.144","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.95","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.38","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.3","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2-rc1","versionStartIncluding":"6.0","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: account for fraggap on the paged allocation path\n\nIn __ip6_append_data(), when the paged-allocation branch is taken\n(MSG_MORE / NETIF_F_SG / large fraglen), alloclen and pagedlen are\ncomputed as\n\n\talloclen = fragheaderlen + transhdrlen;\n\tpagedlen = datalen - transhdrlen;\n\ndatalen already includes fraggap (datalen = length + fraggap). When\nfraggap is non-zero, this is not the first skb and transhdrlen is zero.\nThe fraggap bytes carried over from the previous skb are copied just past\nthe fragment headers in the new skb's linear area. The linear area is\ntherefore undersized by fraggap bytes while pagedlen is overstated by the\nsame amount, and the copy writes past skb->end into the trailing\nskb_shared_info.\n\nAn unprivileged user can trigger this via a UDPv6 socket using\nMSG_MORE together with MSG_SPLICE_PAGES.\n\nThe bad accounting was introduced by commit 773ba4fe9104 (\"ipv6:\navoid partial copy for zc\"). Before commit ce650a166335 (\"udp6: Fix\n__ip6_append_data()'s handling of MSG_SPLICE_PAGES\"), the negative\ncopy value caused -EINVAL to be returned. That later commit allowed\nMSG_SPLICE_PAGES to proceed in this case, making the corruption\ntriggerable.\n\nThe non-paged branch sets alloclen to fraglen, which already accounts\nfor fraggap because datalen does. Bring the paged branch in line by\nadding fraggap to alloclen and subtracting it from pagedlen.\n\nAfter this adjustment, copy no longer collapses to -fraggap on the\npaged path, so remove the stale comment describing that old arithmetic.\nSince a negative copy is no longer expected for a valid MSG_SPLICE_PAGES\ncase, remove the MSG_SPLICE_PAGES exception from the negative copy check."}],"providerMetadata":{"dateUpdated":"2026-07-04T11:56:35.864Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/14200d435af9a9eeb444f529fc2f689a236b7962"},{"url":"https://git.kernel.org/stable/c/65fb14cbebb0cd0eff903a22d33537ddc8b95769"},{"url":"https://git.kernel.org/stable/c/46f201f8b4c39633a1fa3dc12459f506d470993d"},{"url":"https://git.kernel.org/stable/c/6374fb9edf72c67a118a2c214a0dddd04c921e0a"},{"url":"https://git.kernel.org/stable/c/e9eacf19281ea2498b36291b56c9606118c2d74e"},{"url":"https://git.kernel.org/stable/c/736b380e28d0480c7bc3e022f1950f31fe53a7c5"}],"title":"ipv6: account for fraggap on the paged allocation path","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-53362","datePublished":"2026-07-04T11:56:35.864Z","dateReserved":"2026-06-09T07:44:35.400Z","dateUpdated":"2026-07-04T11:56:35.864Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-04 12:17:02","lastModifiedDate":"2026-07-04 12:17:02","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"53362","Ordinal":"1","Title":"ipv6: account for fraggap on the paged allocation path","CVE":"CVE-2026-53362","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"53362","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: account for fraggap on the paged allocation path\n\nIn __ip6_append_data(), when the paged-allocation branch is taken\n(MSG_MORE / NETIF_F_SG / large fraglen), alloclen and pagedlen are\ncomputed as\n\n\talloclen = fragheaderlen + transhdrlen;\n\tpagedlen = datalen - transhdrlen;\n\ndatalen already includes fraggap (datalen = length + fraggap). When\nfraggap is non-zero, this is not the first skb and transhdrlen is zero.\nThe fraggap bytes carried over from the previous skb are copied just past\nthe fragment headers in the new skb's linear area. The linear area is\ntherefore undersized by fraggap bytes while pagedlen is overstated by the\nsame amount, and the copy writes past skb->end into the trailing\nskb_shared_info.\n\nAn unprivileged user can trigger this via a UDPv6 socket using\nMSG_MORE together with MSG_SPLICE_PAGES.\n\nThe bad accounting was introduced by commit 773ba4fe9104 (\"ipv6:\navoid partial copy for zc\"). Before commit ce650a166335 (\"udp6: Fix\n__ip6_append_data()'s handling of MSG_SPLICE_PAGES\"), the negative\ncopy value caused -EINVAL to be returned. That later commit allowed\nMSG_SPLICE_PAGES to proceed in this case, making the corruption\ntriggerable.\n\nThe non-paged branch sets alloclen to fraglen, which already accounts\nfor fraggap because datalen does. Bring the paged branch in line by\nadding fraggap to alloclen and subtracting it from pagedlen.\n\nAfter this adjustment, copy no longer collapses to -fraggap on the\npaged path, so remove the stale comment describing that old arithmetic.\nSince a negative copy is no longer expected for a valid MSG_SPLICE_PAGES\ncase, remove the MSG_SPLICE_PAGES exception from the negative copy check.","Type":"Description","Title":"ipv6: account for fraggap on the paged allocation path"}]}}}