CVE-2026-143138 (GCVE-0-2026-143138)

Vulnerability from cvelistv5 – Published: 2026-12-03 09:19 – Updated: 2026-12-04 03:29
VLAI
Title
net: gro: avoid parsing headers from shared fragments
Summary
In the Linux kernel, the following vulnerability has been resolved: net: gro: avoid parsing headers from shared fragments When an skb has an empty linear head, skb_gro_reset_offset() can expose the first page fragment directly to GRO header parsers. For an SKBFL_SHARED_FRAG skb, those bytes may still be writable through a file mapping. Headers validated during receive can therefore differ from the headers later copied into the linear head and used during completion. For example, changing an IPv6 destination-options length between the short and full header fetches in ipv6_gro_pull_exthdrs() can make ipv6_gro_complete() pass an out-of-bounds offset to udp6_gro_complete(). A userspace reproducer triggered a KASAN slab-out-of-bounds read there on an unmodified kernel as UID 1000. The same completion path can write the UDP checksum and length through the invalid offset. The packet has trusted TCP GSO metadata and spliced file data, so it reaches completion without an skb zerocopy destructor or a second GRO packet. Disable the direct-fragment fast path for skbs with externally writable fragments. With an empty linear head, frag0_len remains zero, so skb_gro_header_slow() pulls each required header into the linear head before it is inspected. Subsequent pulls preserve the validated prefix. This covers both gro_receive_skb() and napi_gro_frags(), including other protocols using the same helpers. Linear headers and private fragments retain their existing fast paths. Codex assisted with review of the supplied report, reproducer and draft fix, related-path analysis, and this changelog. The patched net/core/gro.o builds with W=1 using the supplied x86-64 configuration, allyesconfig and allmodconfig. The fix was checked by code-path analysis; the reproducer and kernel selftests have not been run on a booted patched kernel. The issue was found by an LLM.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8585 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: dff0b0161ad571f888d37f5e7163a07dcafdef60 , < 60684312f40bc9ccbd442b27694895cccf7312d6 (git)
Affected: dff0b0161ad571f888d37f5e7163a07dcafdef60 , < 6e5f08e089b690f1420b57daf03c7508b47a5a8d (git)
Affected: dff0b0161ad571f888d37f5e7163a07dcafdef60 , < 5e2e65e1fb673bb8106bfbf0c87d89598e16ab1d (git)
Affected: dff0b0161ad571f888d37f5e7163a07dcafdef60 , < 44818c9a826d766dc0e21179dc76f229334f1dda (git)
Affected: 7f7b0ebb37afc5070d122318e3651d7cb8c4f01c (git)
Affected: 6.6.31 , < 6.7 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 6.8
Unaffected: 0 , < 6.8 (semver)
Unaffected: 6.12.120 , ≤ 6.12.* (semver)
Unaffected: 6.18.66 , ≤ 6.18.* (semver)
Unaffected: 7.3.7 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc3 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/core/gro.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "60684312f40bc9ccbd442b27694895cccf7312d6",
              "status": "affected",
              "version": "dff0b0161ad571f888d37f5e7163a07dcafdef60",
              "versionType": "git"
            },
            {
              "lessThan": "6e5f08e089b690f1420b57daf03c7508b47a5a8d",
              "status": "affected",
              "version": "dff0b0161ad571f888d37f5e7163a07dcafdef60",
              "versionType": "git"
            },
            {
              "lessThan": "5e2e65e1fb673bb8106bfbf0c87d89598e16ab1d",
              "status": "affected",
              "version": "dff0b0161ad571f888d37f5e7163a07dcafdef60",
              "versionType": "git"
            },
            {
              "lessThan": "44818c9a826d766dc0e21179dc76f229334f1dda",
              "status": "affected",
              "version": "dff0b0161ad571f888d37f5e7163a07dcafdef60",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "7f7b0ebb37afc5070d122318e3651d7cb8c4f01c",
              "versionType": "git"
            },
            {
              "lessThan": "6.7",
              "status": "affected",
              "version": "6.6.31",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/core/gro.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.8"
            },
            {
              "lessThan": "6.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.120",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.66",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.120",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.66",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.7",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc3",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.6.31",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: gro: avoid parsing headers from shared fragments\n\nWhen an skb has an empty linear head, skb_gro_reset_offset() can expose\nthe first page fragment directly to GRO header parsers. For an\nSKBFL_SHARED_FRAG skb, those bytes may still be writable through a file\nmapping. Headers validated during receive can therefore differ from the\nheaders later copied into the linear head and used during completion.\n\nFor example, changing an IPv6 destination-options length between the\nshort and full header fetches in ipv6_gro_pull_exthdrs() can make\nipv6_gro_complete() pass an out-of-bounds offset to udp6_gro_complete().\nA userspace reproducer triggered a KASAN slab-out-of-bounds read there\non an unmodified kernel as UID 1000. The same completion path can write\nthe UDP checksum and length through the invalid offset. The packet has\ntrusted TCP GSO metadata and spliced file data, so it reaches completion\nwithout an skb zerocopy destructor or a second GRO packet.\n\nDisable the direct-fragment fast path for skbs with externally writable\nfragments. With an empty linear head, frag0_len remains zero, so\nskb_gro_header_slow() pulls each required header into the linear head\nbefore it is inspected. Subsequent pulls preserve the validated prefix.\nThis covers both gro_receive_skb() and napi_gro_frags(), including other\nprotocols using the same helpers. Linear headers and private fragments\nretain their existing fast paths.\n\nCodex assisted with review of the supplied report, reproducer and draft\nfix, related-path analysis, and this changelog. The patched\nnet/core/gro.o builds with W=1 using the supplied x86-64 configuration,\nallyesconfig and allmodconfig. The fix was checked by code-path analysis;\nthe reproducer and kernel selftests have not been run on a booted\npatched kernel.\n\nThe issue was found by an LLM."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - Attacker-controlled bytes enter through splice() into tcp_sendmsg_locked(), which sets SKBFL_SHARED_FRAG on a file page the same process can still store to. skb_gro_reset_offset() in gro_receive_skb()/napi_frags_skb() parses that page only while it remains mapped in this kernel; a remote peer receives a copy and cannot change the dest-opt length between the two skb_gro_header() reads in ipv6_gro_pull_exthdrs().\nAC:L - The same local task splices the TCP skb and writes the mapped page. dev_gro_receive() does not flush a non-DODGY TCP GSO skb and copies gso_segs from __tcp_transmit_skb() into NAPI_GRO_CB-\u003ecount, so gro_complete() runs ipv6_gro_complete() without a second packet; the store only has to land between the two fetches in ipv6_gro_pull_exthdrs(), which the attacker repeats.\nPR:L - The reported reproducer runs as UID 1000. splice() into a TCP socket needs no capability: tcp_sendmsg_locked() sets SKBFL_SHARED_FRAG for MSG_SPLICE_PAGES, and __tcp_transmit_skb() fills gso_type/gso_segs from the socket without a privileged ioctl.\nUI:N - The attacker splices and mutates their own file mapping. gro_receive_skb() runs on the skb they transmitted; no other user has to mount media, open a file, or accept a connection.\nS:U - udp6_gro_complete() corrupts slab memory in the same kernel that parsed the skb. That is local kernel privilege escalation, not a guest-to-host or IOMMU boundary crossing.\nC:H - ipv6_gro_complete() passes nhoff from ipv6_exthdrs_len(), which walks the attacker-controlled destination-options hdrlen with no skb-\u003elen check, into udp6_gro_complete(). The reproducer\u0027s KASAN hit is a slab-out-of-bounds read of uh-\u003echeck at that offset.\nI:H - udp6_gro_complete() writes uh-\u003echeck with ~udp_v6_check() and udp_gro_complete() writes the UDP length via udp_set_len() at skb-\u003edata+nhoff. The offset comes from the mutated dest-opt hdrlen, so the store is outside the skb head.\nA:H - The KASAN slab-out-of-bounds read in udp6_gro_complete() oopses a debug kernel, and the same unchecked nhoff used for the UDP checksum and length stores can fault or panic when it leaves the skb slab object."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-04T03:29:35.442Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/60684312f40bc9ccbd442b27694895cccf7312d6"
        },
        {
          "url": "https://git.kernel.org/stable/c/6e5f08e089b690f1420b57daf03c7508b47a5a8d"
        },
        {
          "url": "https://git.kernel.org/stable/c/5e2e65e1fb673bb8106bfbf0c87d89598e16ab1d"
        },
        {
          "url": "https://git.kernel.org/stable/c/44818c9a826d766dc0e21179dc76f229334f1dda"
        }
      ],
      "title": "net: gro: avoid parsing headers from shared fragments",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-143138",
    "datePublished": "2026-12-03T09:19:45.243Z",
    "dateReserved": "2026-12-03T03:10:28.353Z",
    "dateUpdated": "2026-12-04T03:29:35.442Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-143138",
      "date": "2026-12-04",
      "epss": "0.00186",
      "percentile": "0.08601"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "net/core/gro.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "60684312f40bc9ccbd442b27694895cccf7312d6",
                    "status": "affected",
                    "version": "dff0b0161ad571f888d37f5e7163a07dcafdef60",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6e5f08e089b690f1420b57daf03c7508b47a5a8d",
                    "status": "affected",
                    "version": "dff0b0161ad571f888d37f5e7163a07dcafdef60",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5e2e65e1fb673bb8106bfbf0c87d89598e16ab1d",
                    "status": "affected",
                    "version": "dff0b0161ad571f888d37f5e7163a07dcafdef60",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "44818c9a826d766dc0e21179dc76f229334f1dda",
                    "status": "affected",
                    "version": "dff0b0161ad571f888d37f5e7163a07dcafdef60",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "7f7b0ebb37afc5070d122318e3651d7cb8c4f01c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6.7",
                    "status": "affected",
                    "version": "6.6.31",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "net/core/gro.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.8"
                  },
                  {
                    "lessThan": "6.8",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.120",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.66",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.7",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc3",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: gro: avoid parsing headers from shared fragments\n\nWhen an skb has an empty linear head, skb_gro_reset_offset() can expose\nthe first page fragment directly to GRO header parsers. For an\nSKBFL_SHARED_FRAG skb, those bytes may still be writable through a file\nmapping. Headers validated during receive can therefore differ from the\nheaders later copied into the linear head and used during completion.\n\nFor example, changing an IPv6 destination-options length between the\nshort and full header fetches in ipv6_gro_pull_exthdrs() can make\nipv6_gro_complete() pass an out-of-bounds offset to udp6_gro_complete().\nA userspace reproducer triggered a KASAN slab-out-of-bounds read there\non an unmodified kernel as UID 1000. The same completion path can write\nthe UDP checksum and length through the invalid offset. The packet has\ntrusted TCP GSO metadata and spliced file data, so it reaches completion\nwithout an skb zerocopy destructor or a second GRO packet.\n\nDisable the direct-fragment fast path for skbs with externally writable\nfragments. With an empty linear head, frag0_len remains zero, so\nskb_gro_header_slow() pulls each required header into the linear head\nbefore it is inspected. Subsequent pulls preserve the validated prefix.\nThis covers both gro_receive_skb() and napi_gro_frags(), including other\nprotocols using the same helpers. Linear headers and private fragments\nretain their existing fast paths.\n\nCodex assisted with review of the supplied report, reproducer and draft\nfix, related-path analysis, and this changelog. The patched\nnet/core/gro.o builds with W=1 using the supplied x86-64 configuration,\nallyesconfig and allmodconfig. The fix was checked by code-path analysis;\nthe reproducer and kernel selftests have not been run on a booted\npatched kernel.\n\nThe issue was found by an LLM."
          }
        ],
        "id": "CVE-2026-143138",
        "lastModified": "2026-12-04T04:17:38.077",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-12-03T10:17:47.543",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/44818c9a826d766dc0e21179dc76f229334f1dda"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5e2e65e1fb673bb8106bfbf0c87d89598e16ab1d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/60684312f40bc9ccbd442b27694895cccf7312d6"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/6e5f08e089b690f1420b57daf03c7508b47a5a8d"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-12-04T03:49:26+00:00",
      "cve": "CVE-2026-143138",
      "id": "CVE-2026-143138",
      "initial_release_date": "2026-12-03T09:19:45.243000+00:00",
      "product_status:known_affected": "78",
      "product_status:known_not_affected": "202",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Out-of-bounds memory access via shared packet fragment modification during GRO processing",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-143138.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.