VYPR
Unrated severityNVD Advisory· Published May 8, 2025· Updated Nov 3, 2025

xen-netfront: handle NULL returned by xdp_convert_buff_to_frame()

CVE-2025-37820

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

81

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.