Skip to content
Heist/ feed
Critical

veth: convert frag_list skbs before running XDP

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: veth: convert frag_list skbs before running XDP A frag_list skb can reach veth with data_len set but nr_frags zero. veth_convert_skb_to_xdp_buff() only converts skbs that are shared, locked, have frags[], or do not have enough headroom. It later uses skb_is_nonlinear() to decide whether to set XDP_FLAGS_HAS_FRAGS and xdp_frags_size. That exposes frag_list data to XDP as if it were stored in frags[], but frags[] is empty. AF_XDP copy mode can then trust the bogus XDP fragment metadata, walk an empty fragment entry, and crash in memcpy() from __xsk_rcv(). Route non-linear skbs through skb_pp_cow_data() before exposing them to XDP, and only advertise XDP frags when the resulting skb has frags[]. skb_copy_bits() already handles frag_list input, and skb_pp_cow_data() builds frags[] output with skb_add_rx_frag(), which is the representation XDP multi-buffer expects.

Announced Source revision 1
Original source ↗

CVE-2026-74476

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-74476

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "718a18a0c8a67f97781e40bdef7cdd055c430996",
        "lessThan": "0be3632597b8349d43a7dc4244b492dc62a05998",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "718a18a0c8a67f97781e40bdef7cdd055c430996",
        "lessThan": "04958dba44dc795dc79ce2fcbc117821bbbd6542",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "718a18a0c8a67f97781e40bdef7cdd055c430996",
        "lessThan": "5c1c15c540fc45820ce3033c319151ec891bc10a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "718a18a0c8a67f97781e40bdef7cdd055c430996",
        "lessThan": "b24ba0bbffe3e23eb2f6838881c1fabcb29fb9fb",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "718a18a0c8a67f97781e40bdef7cdd055c430996",
        "lessThan": "f9c1fff857e93be709c8b52ed1a643f37bd82c66",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "718a18a0c8a67f97781e40bdef7cdd055c430996",
        "lessThan": "d0d6415963040c401e7a7e4e482a698ba52448cb",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/net/veth.c",
      "net/core/skbuff.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.18"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.18",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.1.184",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.153",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.103",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.44",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.1.8",
        "versionType": "semver",
        "lessThanOrEqual": "7.1.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/net/veth.c",
      "net/core/skbuff.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-74476

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Event
#33169 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement