# CVE-2025-37820: xen-netfront: handle NULL returned by xdp_convert_buff_to_frame()

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2025-05-08T06:26:14.602Z
- Modified: 2026-10-15T22:18:18.740Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c before 5b83d30c63f9964acb1bc63eb8e670b9e0d2c240; from 6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c before cefd8a2e2de46209ce66e6d30c237eb59b6c5bfa; from 6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c before d6a9c4e6f9b3ec3ad98468c950ad214af8a2efb9; from 6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c before eefccd889df3b49d92e7349d94c4aa7e1ba19f6c; from 6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c before cc3628dcd851ddd8d418bf0c897024b4621ddc92; 5.9 (not affected: before 5.9; from 6.1.136 up to 6.1.*; from 6.6.89 up to 6.6.*; from 6.12.26 up to 6.12.*; from 6.14.5 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 5.9 before 6.1.136; from 6.2 before 6.6.89; from 6.7 before 6.12.26; from 6.13 before 6.14.5; 6.15
- debian debian_linux: 11.0

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/5b83d30c63f9964acb1bc63eb8e670b9e0d2c240> (patch)
- <https://git.kernel.org/stable/c/cefd8a2e2de46209ce66e6d30c237eb59b6c5bfa> (patch)
- <https://git.kernel.org/stable/c/d6a9c4e6f9b3ec3ad98468c950ad214af8a2efb9> (patch)
- <https://git.kernel.org/stable/c/eefccd889df3b49d92e7349d94c4aa7e1ba19f6c> (patch)
- <https://git.kernel.org/stable/c/cc3628dcd851ddd8d418bf0c897024b4621ddc92> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2025-37820](https://www.cve.org/CVERecord?id=CVE-2025-37820), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-37820](https://nvd.nist.gov/vuln/detail/CVE-2025-37820), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-37820 · Whole record: https://cve.day/CVE-2025-37820.json · Rebuilt by cve.day 2026-11-25T22:58:57.799Z
