Skip to content
Heist/ feed
High

xen-netfront: handle NULL returned by xdp_convert_buff_to_frame()

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: xen-netfront: handle NULL returned by xdp_convert_buff_to_frame() The function xdp_convert_buff_to_frame() may return NULL if it fails to correctly convert the XDP buffer into an XDP frame due to memory constraints, internal errors, or invalid data. Failing to check for NULL may lead to a NULL pointer dereference if the result is used later in processing, potentially causing crashes, data corruption, or undefined behavior. On XDP redirect failure, the associated page must be released explicitly if it was previously retained via get_page(). Failing to do so may result in a memory leak, as the pages reference count is not decremented.

Announced Group revision 1
Original source ↗

CVE-2025-37820

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-2025-37820

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": "6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c",
        "lessThan": "5b83d30c63f9964acb1bc63eb8e670b9e0d2c240",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c",
        "lessThan": "cefd8a2e2de46209ce66e6d30c237eb59b6c5bfa",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c",
        "lessThan": "d6a9c4e6f9b3ec3ad98468c950ad214af8a2efb9",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c",
        "lessThan": "eefccd889df3b49d92e7349d94c4aa7e1ba19f6c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c",
        "lessThan": "cc3628dcd851ddd8d418bf0c897024b4621ddc92",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/net/xen-netfront.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.9"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.9",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.1.136",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.89",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.26",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.14.5",
        "versionType": "semver",
        "lessThanOrEqual": "6.14.*"
      },
      {
        "status": "unaffected",
        "version": "6.15",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/net/xen-netfront.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2025-37820

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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