CVE-2026-143147 (GCVE-0-2026-143147)

Vulnerability from cvelistv5 – Published: 2026-12-03 09:19 – Updated: 2026-12-04 03:29
VLAI
Title
ipv4: keep XFRM headers out of corked skb lengths
Summary
In the Linux kernel, the following vulnerability has been resolved: ipv4: keep XFRM headers out of corked skb lengths __ip_append_data() allocates space for dst.header_len in the first skb, but includes that space in skb->len until __ip_make_skb() pulls it. Fragment accounting uses an MTU that already excludes the XFRM headers. As a result, the next skb can have a fraggap larger than its capped datalen, and skb_copy_and_csum_bits() can overwrite its shared info. For example, five AH tunnel states can reserve 500 bytes while leaving an effective MTU of 348. With 40 bytes of IPv4 options, the second skb has room for 288 bytes of fragment data but receives a 500-byte gap copy. The overwritten shared info is subsequently consumed by the skb release paths. Reserve the XFRM headers together with the link-layer headroom instead. This keeps skb->len, the gap-copy offsets and the trim lengths relative to the IPv4 packet throughout corking. The network and transport header addresses and the headroom available to XFRM at output are unchanged. Both paged and linear allocations, including subsequent corked appends, use the corrected accounting.
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: 353e5c9abd900de3d1a40925386ffe4abf76111e , < ca0c8be0da23a51bbd857cb917def4f73113a715 (git)
Affected: 353e5c9abd900de3d1a40925386ffe4abf76111e , < 7525c4171570e7114723bbb22906b996f4a4eef7 (git)
Affected: 353e5c9abd900de3d1a40925386ffe4abf76111e , < e56242c11080c2ba1f233b14c36ab3d76d6fff72 (git)
Affected: 353e5c9abd900de3d1a40925386ffe4abf76111e , < 9b9e9bf016ca6dd7552e5ed3169fedf40fcbe1a0 (git)
Affected: 353e5c9abd900de3d1a40925386ffe4abf76111e , < abe22654487724fe96bfaeacc502884d981adb06 (git)
Affected: 353e5c9abd900de3d1a40925386ffe4abf76111e , < 0f47fce51a98d3d9f439c16861d519a7b833a176 (git)
guessed Create a notification for this product.
Linux Linux Affected: 3.0
Unaffected: 0 , < 3.0 (semver)
Unaffected: 5.10.276 , ≤ 5.10.* (semver)
Unaffected: 5.15.227 , ≤ 5.15.* (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/ipv4/ip_output.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ca0c8be0da23a51bbd857cb917def4f73113a715",
              "status": "affected",
              "version": "353e5c9abd900de3d1a40925386ffe4abf76111e",
              "versionType": "git"
            },
            {
              "lessThan": "7525c4171570e7114723bbb22906b996f4a4eef7",
              "status": "affected",
              "version": "353e5c9abd900de3d1a40925386ffe4abf76111e",
              "versionType": "git"
            },
            {
              "lessThan": "e56242c11080c2ba1f233b14c36ab3d76d6fff72",
              "status": "affected",
              "version": "353e5c9abd900de3d1a40925386ffe4abf76111e",
              "versionType": "git"
            },
            {
              "lessThan": "9b9e9bf016ca6dd7552e5ed3169fedf40fcbe1a0",
              "status": "affected",
              "version": "353e5c9abd900de3d1a40925386ffe4abf76111e",
              "versionType": "git"
            },
            {
              "lessThan": "abe22654487724fe96bfaeacc502884d981adb06",
              "status": "affected",
              "version": "353e5c9abd900de3d1a40925386ffe4abf76111e",
              "versionType": "git"
            },
            {
              "lessThan": "0f47fce51a98d3d9f439c16861d519a7b833a176",
              "status": "affected",
              "version": "353e5c9abd900de3d1a40925386ffe4abf76111e",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/ipv4/ip_output.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.0"
            },
            {
              "lessThan": "3.0",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.276",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.227",
              "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": "5.10.276",
                  "versionStartIncluding": "3.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.227",
                  "versionStartIncluding": "3.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.120",
                  "versionStartIncluding": "3.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.66",
                  "versionStartIncluding": "3.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.7",
                  "versionStartIncluding": "3.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc3",
                  "versionStartIncluding": "3.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nipv4: keep XFRM headers out of corked skb lengths\n\n__ip_append_data() allocates space for dst.header_len in the first skb,\nbut includes that space in skb-\u003elen until __ip_make_skb() pulls it.\nFragment accounting uses an MTU that already excludes the XFRM headers.\nAs a result, the next skb can have a fraggap larger than its capped\ndatalen, and skb_copy_and_csum_bits() can overwrite its shared info.\n\nFor example, five AH tunnel states can reserve 500 bytes while leaving\nan effective MTU of 348. With 40 bytes of IPv4 options, the second skb\nhas room for 288 bytes of fragment data but receives a 500-byte gap\ncopy. The overwritten shared info is subsequently consumed by the skb\nrelease paths.\n\nReserve the XFRM headers together with the link-layer headroom instead.\nThis keeps skb-\u003elen, the gap-copy offsets and the trim lengths relative\nto the IPv4 packet throughout corking. The network and transport header\naddresses and the headroom available to XFRM at output are unchanged.\nBoth paged and linear allocations, including subsequent corked appends,\nuse the corrected accounting."
        }
      ],
      "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 - __ip_append_data() is reached from udp_sendmsg() through ip_make_skb() and ip_append_data(). The fraggap is the XFRM dst.header_len that xfrm_bundle_create() stored on the sender\u0027s route, and the bytes skb_copy_and_csum_bits() copies are the local UDP payload.\nAC:L - The sender sets the route MTU, the bundle header_len (xfrm_bundle_create() sums each state\u0027s props.header_len, at most XFRM_MAX_DEPTH), IP options, and a datagram longer than one fragment. The second skb then copies that fraggap on every such send.\nPR:L - xfrm_user_rcv_msg() allows the SA and policy only after netlink_net_capable(CAP_NET_ADMIN) in the netns user namespace, which an unprivileged user holds after creating a user and network namespace. udp_sendmsg() and IP_OPTIONS need no further capability.\nUI:N - The same process installs the XFRM states, sets IP_OPTIONS if wanted, and calls sendmsg() on its own UDP socket. No other user has to mount media or accept a connection.\nS:U - skb_release_data() consumes the overwritten skb_shared_info in the sending host\u0027s kernel. That is local privilege escalation across the user/kernel boundary, not a guest-to-host or IOMMU crossing.\nC:H - skb_copy_and_csum_bits() writes the gap over the second skb\u0027s skb_shared_info, including nr_frags and frags[]. skb_release_data() passes those netmem values to __skb_frag_unref(), which can be turned into a kernel read.\nI:H - With five AH tunnels (dst.header_len 500) and a 288-byte capped second fragment, the bytes past the tail are the UDP payload. They replace frag netmems and frag_list, which skb_release_data() and __skb_frag_unref() then use.\nA:H - skb_release_data() walks the corrupted nr_frags and frag_list when the skb is freed, including from __ip_flush_pending_frames(), so the send oopses or panics the kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-04T03:29:41.986Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ca0c8be0da23a51bbd857cb917def4f73113a715"
        },
        {
          "url": "https://git.kernel.org/stable/c/7525c4171570e7114723bbb22906b996f4a4eef7"
        },
        {
          "url": "https://git.kernel.org/stable/c/e56242c11080c2ba1f233b14c36ab3d76d6fff72"
        },
        {
          "url": "https://git.kernel.org/stable/c/9b9e9bf016ca6dd7552e5ed3169fedf40fcbe1a0"
        },
        {
          "url": "https://git.kernel.org/stable/c/abe22654487724fe96bfaeacc502884d981adb06"
        },
        {
          "url": "https://git.kernel.org/stable/c/0f47fce51a98d3d9f439c16861d519a7b833a176"
        }
      ],
      "title": "ipv4: keep XFRM headers out of corked skb lengths",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-143147",
    "datePublished": "2026-12-03T09:19:51.302Z",
    "dateReserved": "2026-12-03T03:10:28.354Z",
    "dateUpdated": "2026-12-04T03:29:41.986Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-143147",
      "date": "2026-12-04",
      "epss": "0.00187",
      "percentile": "0.08679"
    },
    "microsoft_vex": {
      "current_release_date": "2026-12-04T01:03:13.000Z",
      "cve": "CVE-2026-143147",
      "id": "msrc_CVE-2026-143147",
      "initial_release_date": "2026-12-03T18:53:36.000Z",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "ipv4: keep XFRM headers out of corked skb lengths",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-143147.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "net/ipv4/ip_output.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "ca0c8be0da23a51bbd857cb917def4f73113a715",
                    "status": "affected",
                    "version": "353e5c9abd900de3d1a40925386ffe4abf76111e",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "7525c4171570e7114723bbb22906b996f4a4eef7",
                    "status": "affected",
                    "version": "353e5c9abd900de3d1a40925386ffe4abf76111e",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "e56242c11080c2ba1f233b14c36ab3d76d6fff72",
                    "status": "affected",
                    "version": "353e5c9abd900de3d1a40925386ffe4abf76111e",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "9b9e9bf016ca6dd7552e5ed3169fedf40fcbe1a0",
                    "status": "affected",
                    "version": "353e5c9abd900de3d1a40925386ffe4abf76111e",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "abe22654487724fe96bfaeacc502884d981adb06",
                    "status": "affected",
                    "version": "353e5c9abd900de3d1a40925386ffe4abf76111e",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "0f47fce51a98d3d9f439c16861d519a7b833a176",
                    "status": "affected",
                    "version": "353e5c9abd900de3d1a40925386ffe4abf76111e",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "net/ipv4/ip_output.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "3.0"
                  },
                  {
                    "lessThan": "3.0",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.276",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.227",
                    "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\nipv4: keep XFRM headers out of corked skb lengths\n\n__ip_append_data() allocates space for dst.header_len in the first skb,\nbut includes that space in skb-\u003elen until __ip_make_skb() pulls it.\nFragment accounting uses an MTU that already excludes the XFRM headers.\nAs a result, the next skb can have a fraggap larger than its capped\ndatalen, and skb_copy_and_csum_bits() can overwrite its shared info.\n\nFor example, five AH tunnel states can reserve 500 bytes while leaving\nan effective MTU of 348. With 40 bytes of IPv4 options, the second skb\nhas room for 288 bytes of fragment data but receives a 500-byte gap\ncopy. The overwritten shared info is subsequently consumed by the skb\nrelease paths.\n\nReserve the XFRM headers together with the link-layer headroom instead.\nThis keeps skb-\u003elen, the gap-copy offsets and the trim lengths relative\nto the IPv4 packet throughout corking. The network and transport header\naddresses and the headroom available to XFRM at output are unchanged.\nBoth paged and linear allocations, including subsequent corked appends,\nuse the corrected accounting."
          }
        ],
        "id": "CVE-2026-143147",
        "lastModified": "2026-12-04T04:17:38.450",
        "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:49.033",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/0f47fce51a98d3d9f439c16861d519a7b833a176"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/7525c4171570e7114723bbb22906b996f4a4eef7"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/9b9e9bf016ca6dd7552e5ed3169fedf40fcbe1a0"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/abe22654487724fe96bfaeacc502884d981adb06"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ca0c8be0da23a51bbd857cb917def4f73113a715"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/e56242c11080c2ba1f233b14c36ab3d76d6fff72"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-12-04T03:49:19+00:00",
      "cve": "CVE-2026-143147",
      "id": "CVE-2026-143147",
      "initial_release_date": "2026-12-03T09:19:51.302000+00:00",
      "product_status:known_affected": "280",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Memory corruption via IPv4 packet fragment accounting flaw",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-143147.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.