All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-37820

Probability of exploitation in the next 30 days: 0.40%

FIRST EPSS · 2026-11-22

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.

A flaw was found in the Linux kernel's Xen network frontend (xen-netfront) driver. When processing packets using eXpress Data Path (XDP), a high-performance packet processing framework, the driver fails to verify whether buffer conversion succeeded before referencing the result. Under memory constraints or when handling invalid packet data, an attacker can trigger a NULL pointer dereference, leading to a kernel crash and resulting in a Denial of Service (DoS).