CVE-2025-37820

xen-netfront: handle NULL returned by xdp_convert_buff_to_frame()

7.5 high EPSS 0.41%

Published 8 May 2025 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2025-37820

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-37820 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.5 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.41%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 37.3% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 15 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c, before 5b83d30c63f9964acb1bc63eb8e670b9e0d2c240
affected from 6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c, before cefd8a2e2de46209ce66e6d30c237eb59b6c5bfa
affected from 6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c, before d6a9c4e6f9b3ec3ad98468c950ad214af8a2efb9
affected from 6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c, before eefccd889df3b49d92e7349d94c4aa7e1ba19f6c
affected from 6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c, before cc3628dcd851ddd8d418bf0c897024b4621ddc92
Other versions: unaffected
Linux
affected 5.9
unaffected before 5.9
unaffected from 6.1.136 up to and including 6.1.*
unaffected from 6.6.89 up to and including 6.6.*
unaffected from 6.12.26 up to and including 6.12.*
unaffected from 6.14.5 up to and including 6.14.*
unaffected 6.15 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-37820 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-37820

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-37820
trivy image --scanners vuln IMAGE | grep CVE-2025-37820

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-37820 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.