Vulnerabilities · 2025 · Linux
CVE-2025-37820
Linux Kernel vulnerability
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 products
Linux Kernel, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/5b83d30c63f9964acb1bc63eb8e670b9e0d2c240 · Patch
- git.kernel.org/stable/c/cc3628dcd851ddd8d418bf0c897024b4621ddc92 · Patch
- git.kernel.org/stable/c/cefd8a2e2de46209ce66e6d30c237eb59b6c5bfa · Patch
- git.kernel.org/stable/c/d6a9c4e6f9b3ec3ad98468c950ad214af8a2efb9 · Patch
- git.kernel.org/stable/c/eefccd889df3b49d92e7349d94c4aa7e1ba19f6c · Patch
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2025-37820
- cve.org/CVERecord?id=CVE-2025-37820
More vulnerabilities in Linux products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.