CVE-2025-37820

published 8 May 2025 · updated 15 Oct 2026

xen-netfront: handle NULL returned by xdp_convert_buff_to_frame()

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5b83d30c63f9964acb1bc63eb8e670b9e0d2c240, Kernel cc3628dcd851ddd8d418bf0c897024b4621ddc92, Kernel cefd8a2e2de46209ce66e6d30c237eb59b6c5bfa and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.9, >=6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c <5b83d30c63f9964acb1bc63eb8e670b9e0d2c240, >=6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c <cc3628dcd851ddd8d418bf0c897024b4621ddc92, >=6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c <cefd8a2e2de46209ce66e6d30c237eb59b6c5bfa, >=6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c <d6a9c4e6f9b3ec3ad98468c950ad214af8a2efb9, >=6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c <eefccd889df3b49d92e7349d94c4aa7e1ba19f6c5b83d30c63f9964acb1bc63eb8e670b9e0d2c240, cc3628dcd851ddd8d418bf0c897024b4621ddc92, cefd8a2e2de46209ce66e6d30c237eb59b6c5bfa, d6a9c4e6f9b3ec3ad98468c950ad214af8a2efb9, eefccd889df3b49d92e7349d94c4aa7e1ba19f6c

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-37820 severity on Zeptric[![CVE-2025-37820](https://zeptric.io/badge/cve/CVE-2025-37820.svg)](https://zeptric.io/cve/CVE-2025-37820)