---
id: CVE-2025-37820
title: |-
  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 buf…
summary: |-
  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 buf…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-476
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 5.9, < 6.1.136'
  - 'linux_kernel >= 6.2, < 6.6.89'
  - 'linux_kernel >= 6.7, < 6.12.26'
  - 'linux_kernel >= 6.13, < 6.14.5'
  - linux_kernel = 6.15
  - debian_linux = 11.0
patched:
  - linux_kernel 6.14.5
published: '2025-05-08'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T22:18:18.740'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-37820'
references:
  - url: 'https://git.kernel.org/stable/c/5b83d30c63f9964acb1bc63eb8e670b9e0d2c240'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/cc3628dcd851ddd8d418bf0c897024b4621ddc92'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/cefd8a2e2de46209ce66e6d30c237eb59b6c5bfa'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d6a9c4e6f9b3ec3ad98468c950ad214af8a2efb9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/eefccd889df3b49d92e7349d94c4aa7e1ba19f6c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
  - cve.org
epss: 0.00395
epssPercentile: 0.33564
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-15T21:45:24.118480Z'
ingestedAt: '2026-10-15T22:48:25.479Z'
---

## Overview

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.

## Affected

- `linux_kernel >= 5.9, < 6.1.136`
- `linux_kernel >= 6.2, < 6.6.89`
- `linux_kernel >= 6.7, < 6.12.26`
- `linux_kernel >= 6.13, < 6.14.5`
- `linux_kernel = 6.15`
- `debian_linux = 11.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.14.5`
