{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "353e5c9abd900de3d1a40925386ffe4abf76111e"
            },
            {
              "fixed": "ca0c8be0da23a51bbd857cb917def4f73113a715"
            },
            {
              "fixed": "7525c4171570e7114723bbb22906b996f4a4eef7"
            },
            {
              "fixed": "e56242c11080c2ba1f233b14c36ab3d76d6fff72"
            },
            {
              "fixed": "9b9e9bf016ca6dd7552e5ed3169fedf40fcbe1a0"
            },
            {
              "fixed": "abe22654487724fe96bfaeacc502884d981adb06"
            },
            {
              "fixed": "0f47fce51a98d3d9f439c16861d519a7b833a176"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.0.0"
            },
            {
              "fixed": "5.10.276"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.227"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.12.120"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.66"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143147.json"
  },
  "details": "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",
  "modified": "2026-12-03T10:46:03.159058399Z",
  "published": "2026-12-03T09:19:51.302Z",
  "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/0f47fce51a98d3d9f439c16861d519a7b833a176"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7525c4171570e7114723bbb22906b996f4a4eef7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9b9e9bf016ca6dd7552e5ed3169fedf40fcbe1a0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/abe22654487724fe96bfaeacc502884d981adb06"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ca0c8be0da23a51bbd857cb917def4f73113a715"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e56242c11080c2ba1f233b14c36ab3d76d6fff72"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143147.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143147"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "ipv4: keep XFRM headers out of corked skb lengths"
}