CVE-2025-37820

Source
https://cve.org/CVERecord?id=CVE-2025-37820
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37820.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-37820
Downstream
Related
Published
2025-05-08T06:26:14.602Z
Modified
2026-05-15T04:13:29.766362435Z
Summary
xen-netfront: handle NULL returned by xdp_convert_buff_to_frame()
Details

In the Linux kernel, the following vulnerability has been resolved:

xen-netfront: handle NULL returned by xdpconvertbufftoframe()

The function xdpconvertbufftoframe() 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37820.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.9.0
Fixed
6.1.136
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.89
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.26
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.14.5

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37820.json"