CVE-2026-143136 (GCVE-0-2026-143136)

Vulnerability from cvelistv5 – Published: 2026-12-03 09:19 – Updated: 2026-12-04 03:29
VLAI
Title
net: gro: invalidate frag0 after a pull
Summary
In the Linux kernel, the following vulnerability has been resolved: net: gro: invalidate frag0 after a pull Since commit bd56a29c7a4e ("net: gro: change skb_gro_network_header()"), skb_gro_header_slow() no longer invalidates NAPI_GRO_CB(skb)->frag0 after pskb_may_pull(). skb_gro_may_pull() keeps comparing against the frag0_len value set in skb_gro_reset_offset(), assuming that after a slow pull, all later accesses are beyond frag0_len. This is not true: - udp4_gro_receive() and udp6_gro_receive() read the network header with skb_gro_network_header() after udp_gro_udphdr() pulled the UDP header. - vxlan_gro_receive() calls skb_gro_remcsum_cleanup() at a lower offset after the inner handlers pulled their headers. - skb_gro_remcsum_process() can pull beyond the inner Ethernet header before eth_gro_receive() reads it. - napi_frags_skb() calls __skb_pull(skb, ETH_HLEN) after a slow pull, so frag0 still points to the Ethernet header. If the pull consumed the first page fragment, __skb_pull_tail() released it. If the head had to grow, pskb_expand_head() freed the old one. These reads, and the 2-byte write in skb_gro_remcsum_cleanup(), then access memory the skb no longer holds a reference on. esp4_gro_receive(), esp6_gro_receive(), skb_gro_receive_list() and udp_gro_receive_segment() also pull directly and never invalidated frag0. Add skb_gro_frag0_invalidate(), which only clears frag0_len, and call it before each of these pulls. This is a single store in the slow path, and frag0 stays non NULL, so skb_gro_network_header() does not need a NULL test. frag0 must be invalidated even if the pull fails: __pskb_pull_tail() can return NULL after pskb_expand_head() freed the old head, for instance if a frag_list member has to be cloned or pulled. As frag0 is now invalidated before a pull that can fail, gro_try_pull_from_frag0() can see an skb whose linear part does not cover skb_gro_offset() while frag0 still points to the start of the packet, for instance after skb_gro_remcsum_cleanup() pulled a shorter length. Copying from frag0 would then corrupt the headers: only use frag0 while frag0_len is not zero, and use pskb_may_pull() otherwise. If this pull fails, for instance after a failed pskb_pull() in esp4_gro_receive(), do not hold the packet: later GRO lookups and gro_complete() handlers expect its headers in the linear part. This was found by Taesoo Kim and Cen Zhang, using LLM assisted code analysis, and confirmed with reproducers.
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: 9fd1ff5d2ac7181844735806b0a703c942365291 , < cb5c7e185101448d0551890da3a3fde53bf3eb13 (git)
Affected: 9fd1ff5d2ac7181844735806b0a703c942365291 , < e5da3b8cec34860146bf7049b9475a70d77457a4 (git)
Affected: 9fd1ff5d2ac7181844735806b0a703c942365291 , < 98d949a15ff9d3fffaa6983223178374aab92db6 (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.6
Unaffected: 0 , < 5.6 (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": [
            "include/net/gro.h",
            "net/core/gro.c",
            "net/ipv4/esp4_offload.c",
            "net/ipv4/udp_offload.c",
            "net/ipv6/esp6_offload.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "cb5c7e185101448d0551890da3a3fde53bf3eb13",
              "status": "affected",
              "version": "9fd1ff5d2ac7181844735806b0a703c942365291",
              "versionType": "git"
            },
            {
              "lessThan": "e5da3b8cec34860146bf7049b9475a70d77457a4",
              "status": "affected",
              "version": "9fd1ff5d2ac7181844735806b0a703c942365291",
              "versionType": "git"
            },
            {
              "lessThan": "98d949a15ff9d3fffaa6983223178374aab92db6",
              "status": "affected",
              "version": "9fd1ff5d2ac7181844735806b0a703c942365291",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "include/net/gro.h",
            "net/core/gro.c",
            "net/ipv4/esp4_offload.c",
            "net/ipv4/udp_offload.c",
            "net/ipv6/esp6_offload.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.6"
            },
            {
              "lessThan": "5.6",
              "status": "unaffected",
              "version": "0",
              "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.18.66",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.7",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc3",
                  "versionStartIncluding": "5.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: gro: invalidate frag0 after a pull\n\nSince commit bd56a29c7a4e (\"net: gro: change skb_gro_network_header()\"),\nskb_gro_header_slow() no longer invalidates NAPI_GRO_CB(skb)-\u003efrag0\nafter pskb_may_pull(). skb_gro_may_pull() keeps comparing against the\nfrag0_len value set in skb_gro_reset_offset(), assuming that after a\nslow pull, all later accesses are beyond frag0_len.\n\nThis is not true:\n\n- udp4_gro_receive() and udp6_gro_receive() read the network header\n  with skb_gro_network_header() after udp_gro_udphdr() pulled the\n  UDP header.\n\n- vxlan_gro_receive() calls skb_gro_remcsum_cleanup() at a lower\n  offset after the inner handlers pulled their headers.\n\n- skb_gro_remcsum_process() can pull beyond the inner Ethernet header\n  before eth_gro_receive() reads it.\n\n- napi_frags_skb() calls __skb_pull(skb, ETH_HLEN) after a slow pull,\n  so frag0 still points to the Ethernet header.\n\nIf the pull consumed the first page fragment, __skb_pull_tail() released\nit. If the head had to grow, pskb_expand_head() freed the old one.\nThese reads, and the 2-byte write in skb_gro_remcsum_cleanup(), then\naccess memory the skb no longer holds a reference on.\n\nesp4_gro_receive(), esp6_gro_receive(), skb_gro_receive_list() and\nudp_gro_receive_segment() also pull directly and never invalidated\nfrag0.\n\nAdd skb_gro_frag0_invalidate(), which only clears frag0_len, and call\nit before each of these pulls. This is a single store in the slow path,\nand frag0 stays non NULL, so skb_gro_network_header() does not need\na NULL test.\n\nfrag0 must be invalidated even if the pull fails: __pskb_pull_tail()\ncan return NULL after pskb_expand_head() freed the old head, for\ninstance if a frag_list member has to be cloned or pulled.\n\nAs frag0 is now invalidated before a pull that can fail,\ngro_try_pull_from_frag0() can see an skb whose linear part does not\ncover skb_gro_offset() while frag0 still points to the start of the\npacket, for instance after skb_gro_remcsum_cleanup() pulled a shorter\nlength. Copying from frag0 would then corrupt the headers: only use\nfrag0 while frag0_len is not zero, and use pskb_may_pull() otherwise.\nIf this pull fails, for instance after a failed pskb_pull() in\nesp4_gro_receive(), do not hold the packet: later GRO lookups and\ngro_complete() handlers expect its headers in the linear part.\n\nThis was found by Taesoo Kim and Cen Zhang, using LLM assisted code\nanalysis, and confirmed with reproducers."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.1,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - Remote IPv4/IPv6 UDP enters napi_gro_receive() or napi_gro_frags(), then dev_gro_receive() and inet_gro_receive()/ipv6_gro_receive() into udp4_gro_receive()/udp6_gro_receive(). udp_gro_udphdr() reaches skb_gro_header_slow()\u0027s pskb_may_pull() of the UDP header, after which skb_gro_network_header() uses NAPI_GRO_CB(skb)-\u003efrag0. The triggering bytes are that datagram on a routable IP path.\nAC:H - skb_gro_network_header() uses frag0 only if udp_gro_udphdr()\u0027s pskb_may_pull() of skb_gro_offset plus the UDP header already released it while frag0_len still covers skb_gro_offset. __pskb_pull_tail() unrefs frags[0] only when that frag is fully consumed, and pskb_expand_head() frees the head only if tailroom is short or the skb is cloned. A linear or single-buffer RX frame does neither, and the sender cannot set that split.\nPR:N - The pull and the stale frag0 read run in NAPI softirq from dev_gro_receive() before udp4_gro_lookup_skb() or any socket credential check. No CAP_NET_ADMIN and no established session is required to deliver the datagram.\nUI:N - Exploitation is the attacker transmitting the datagram. napi_gro_receive() runs without a local mount, open, or other victim action.\nS:U - The freed skb head or page is host kernel memory on the receiving machine. The bug does not cross a KVM guest boundary or an IOMMU mapping.\nC:H - After the pull, inet_gro_compute_pseudo() reads iph-\u003esaddr and iph-\u003edaddr through skb_gro_network_header()\u0027s frag0 pointer, and skb_gro_remcsum_cleanup() can read the same released page or head. That is a use-after-free of the packet buffer.\nI:H - skb_gro_remcsum_cleanup() writes two bytes via remcsum_unadjust() at grc-\u003eoffset through frag0 after inner GRO pulls, and the released page or skb head can be reused for another object. This is a use-after-free write, not a NULL dereference.\nA:H - Dereferencing the page skb_frag_unref() dropped or the head skb_free_head() freed in the NAPI GRO path oopses or panics the kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-04T03:29:31.408Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/cb5c7e185101448d0551890da3a3fde53bf3eb13"
        },
        {
          "url": "https://git.kernel.org/stable/c/e5da3b8cec34860146bf7049b9475a70d77457a4"
        },
        {
          "url": "https://git.kernel.org/stable/c/98d949a15ff9d3fffaa6983223178374aab92db6"
        }
      ],
      "title": "net: gro: invalidate frag0 after a pull",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-143136",
    "datePublished": "2026-12-03T09:19:43.907Z",
    "dateReserved": "2026-12-03T03:10:28.353Z",
    "dateUpdated": "2026-12-04T03:29:31.408Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-143136",
      "date": "2026-12-04",
      "epss": "0.00549",
      "percentile": "0.47385"
    },
    "microsoft_vex": {
      "current_release_date": "2026-12-04T01:02:16.000Z",
      "cve": "CVE-2026-143136",
      "id": "msrc_CVE-2026-143136",
      "initial_release_date": "2026-12-03T18:52:55.000Z",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "net: gro: invalidate frag0 after a pull",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-143136.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "include/net/gro.h",
                  "net/core/gro.c",
                  "net/ipv4/esp4_offload.c",
                  "net/ipv4/udp_offload.c",
                  "net/ipv6/esp6_offload.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "cb5c7e185101448d0551890da3a3fde53bf3eb13",
                    "status": "affected",
                    "version": "9fd1ff5d2ac7181844735806b0a703c942365291",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "e5da3b8cec34860146bf7049b9475a70d77457a4",
                    "status": "affected",
                    "version": "9fd1ff5d2ac7181844735806b0a703c942365291",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "98d949a15ff9d3fffaa6983223178374aab92db6",
                    "status": "affected",
                    "version": "9fd1ff5d2ac7181844735806b0a703c942365291",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "include/net/gro.h",
                  "net/core/gro.c",
                  "net/ipv4/esp4_offload.c",
                  "net/ipv4/udp_offload.c",
                  "net/ipv6/esp6_offload.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.6"
                  },
                  {
                    "lessThan": "5.6",
                    "status": "unaffected",
                    "version": "0",
                    "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: invalidate frag0 after a pull\n\nSince commit bd56a29c7a4e (\"net: gro: change skb_gro_network_header()\"),\nskb_gro_header_slow() no longer invalidates NAPI_GRO_CB(skb)-\u003efrag0\nafter pskb_may_pull(). skb_gro_may_pull() keeps comparing against the\nfrag0_len value set in skb_gro_reset_offset(), assuming that after a\nslow pull, all later accesses are beyond frag0_len.\n\nThis is not true:\n\n- udp4_gro_receive() and udp6_gro_receive() read the network header\n  with skb_gro_network_header() after udp_gro_udphdr() pulled the\n  UDP header.\n\n- vxlan_gro_receive() calls skb_gro_remcsum_cleanup() at a lower\n  offset after the inner handlers pulled their headers.\n\n- skb_gro_remcsum_process() can pull beyond the inner Ethernet header\n  before eth_gro_receive() reads it.\n\n- napi_frags_skb() calls __skb_pull(skb, ETH_HLEN) after a slow pull,\n  so frag0 still points to the Ethernet header.\n\nIf the pull consumed the first page fragment, __skb_pull_tail() released\nit. If the head had to grow, pskb_expand_head() freed the old one.\nThese reads, and the 2-byte write in skb_gro_remcsum_cleanup(), then\naccess memory the skb no longer holds a reference on.\n\nesp4_gro_receive(), esp6_gro_receive(), skb_gro_receive_list() and\nudp_gro_receive_segment() also pull directly and never invalidated\nfrag0.\n\nAdd skb_gro_frag0_invalidate(), which only clears frag0_len, and call\nit before each of these pulls. This is a single store in the slow path,\nand frag0 stays non NULL, so skb_gro_network_header() does not need\na NULL test.\n\nfrag0 must be invalidated even if the pull fails: __pskb_pull_tail()\ncan return NULL after pskb_expand_head() freed the old head, for\ninstance if a frag_list member has to be cloned or pulled.\n\nAs frag0 is now invalidated before a pull that can fail,\ngro_try_pull_from_frag0() can see an skb whose linear part does not\ncover skb_gro_offset() while frag0 still points to the start of the\npacket, for instance after skb_gro_remcsum_cleanup() pulled a shorter\nlength. Copying from frag0 would then corrupt the headers: only use\nfrag0 while frag0_len is not zero, and use pskb_may_pull() otherwise.\nIf this pull fails, for instance after a failed pskb_pull() in\nesp4_gro_receive(), do not hold the packet: later GRO lookups and\ngro_complete() handlers expect its headers in the linear part.\n\nThis was found by Taesoo Kim and Cen Zhang, using LLM assisted code\nanalysis, and confirmed with reproducers."
          }
        ],
        "id": "CVE-2026-143136",
        "lastModified": "2026-12-04T04:17:37.897",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 8.1,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 2.2,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-12-03T10:17:47.240",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/98d949a15ff9d3fffaa6983223178374aab92db6"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/cb5c7e185101448d0551890da3a3fde53bf3eb13"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/e5da3b8cec34860146bf7049b9475a70d77457a4"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-12-04T03:57:10+00:00",
      "cve": "CVE-2026-143136",
      "id": "CVE-2026-143136",
      "initial_release_date": "2026-12-03T09:19:43.907000+00:00",
      "product_status:known_affected": "238",
      "product_status:known_not_affected": "42",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via use-after-free in Generic Receive Offload",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-143136.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.