{
  "id": "CVE-2026-74612",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-74612",
  "published_at": "2026-08-22T15:31:58.295Z",
  "title": "veth: fix skb length accounting after XDP frag adjustment",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 10,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nveth: fix skb length accounting after XDP frag adjustment\n\nveth exposes non-linear skb fragments through an xdp_buff. If an XDP\nprogram adjusts the fragment area, veth_xdp_rcv_skb() copies\nxdp_frags_size back to skb-\u003edata_len but leaves skb-\u003elen containing the\nold fragment contribution.\n\nAfter a fragment shrink, this makes skb_headlen() larger than the actual\nlinear area. In the reproduced UDP receive path, __skb_datagram_iter()\ncopied 1024 bytes past the actual linear tail to userspace, starting at\nstruct skb_shared_info. The copied bytes included the affected skb's\nnr_frags, xdp_frags_size, and a kernel pointer from\nskb_shinfo(skb)-\u003efrags[0]. Real packet data was displaced by the same\namount and truncated at the end.\n\nSubtract the old data_len before replacing it and add the new data_len\nafterwards, keeping skb-\u003elen and skb-\u003edata_len synchronized.\n\nAdditionally, bpf_xdp_pull_data() can advance data_end while leaving\nfrags present. The skb is then still non-linear, so the old\n__skb_put(skb, off) triggers SKB_LINEAR_ASSERT().\n\nUse skb_set_tail_pointer() and update skb-\u003elen explicitly instead,\nfollowing bpf_prog_run_generic_xdp(). Unlike __skb_put(),\nskb_set_tail_pointer() does not require a linear skb.\n\nA 60000-byte UDP datagram on a veth pair with MTU 64000 was shortened by\n1024 bytes from its fragment area. Before the fix, all 10 runs produced\ncorrupted payloads. After the fix, all 10 runs matched the expected\npayload exactly. A forced-tailroom reproducer also exercises\nbpf_xdp_pull_data() with frags still present; the old code triggers\nSKB_LINEAR_ASSERT(), while this fix passes 10/10 runs.",
  "cvss_by_source": {
    "cna": 10
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 718a18a0c8a67f97781e40bdef7cdd055c430996, \u003c 0c3024afabb8064b141f3cedcb1ddd6ab05ad9d5",
          "\u003e= 718a18a0c8a67f97781e40bdef7cdd055c430996, \u003c 2f2a7f3f8b9f1bffc9b0488aa02b6951b2aec139",
          "\u003e= 718a18a0c8a67f97781e40bdef7cdd055c430996, \u003c 41b96667d42b74bb4b137f1bb78b611a953c5943",
          "\u003e= 718a18a0c8a67f97781e40bdef7cdd055c430996, \u003c cdf745b7a777f87f51666e5d8f4c6fc279bcf54d",
          "\u003e= 718a18a0c8a67f97781e40bdef7cdd055c430996, \u003c 3205b0652a37255dbb7ca8f3d942c8d8aa677c21",
          "\u003e= 718a18a0c8a67f97781e40bdef7cdd055c430996, \u003c cb6379feaaff11c4e1e79c26c745ffa23182768a"
        ],
        "fixed_in": [
          "0c3024afabb8064b141f3cedcb1ddd6ab05ad9d5",
          "2f2a7f3f8b9f1bffc9b0488aa02b6951b2aec139",
          "41b96667d42b74bb4b137f1bb78b611a953c5943",
          "cdf745b7a777f87f51666e5d8f4c6fc279bcf54d",
          "3205b0652a37255dbb7ca8f3d942c8d8aa677c21",
          "cb6379feaaff11c4e1e79c26c745ffa23182768a"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.18"
        ],
        "fixed_in": [
          "0",
          "6.1.184",
          "6.6.152",
          "6.12.104",
          "6.18.45",
          "7.1.9",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 0c3024afabb8064b141f3cedcb1ddd6ab05ad9d5 or 2f2a7f3f8b9f1bffc9b0488aa02b6951b2aec139 or 41b96667d42b74bb4b137f1bb78b611a953c5943 or cdf745b7a777f87f51666e5d8f4c6fc279bcf54d or 3205b0652a37255dbb7ca8f3d942c8d8aa677c21 or cb6379feaaff11c4e1e79c26c745ffa23182768a or later.",
      "Upgrade Linux to 0 or 6.1.184 or 6.6.152 or 6.12.104 or 6.18.45 or 7.1.9 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
