CVE Database›CVE-2025-37820

CVE-2025-37820

kernel: xen-netfront: handle NULL returned by xdp_convert_buff_to_frame()

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · May 8, 2025

Updated · October 30, 2026

Description

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.

Statement

This vulnerability is evaluated as having a Moderate impact because triggering the failure requires a Xen guest deployment running active eXpress Data Path (XDP) packet processing on the virtual network interface. Under resource pressure or conversion failure, the unhandled pointer condition causes a kernel crash, resulting in a denial of service without compromising host isolation or system integrity. Typical Red Hat Enterprise Linux environments deploy on bare metal or KVM hypervisors without XDP attached to Xen frontend interfaces, significantly constraining real-world exposure.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-476 · NULL Pointer Dereference