7.5high
xen-netfront: handle NULL returned by xdp_convert_buff_to_frame()
- Severity
- 7.5high CVSS:3.1 by Linux
- Exploit likelihood
- 0.41% (higher than 37% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| 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 | NVD |
| debian debian_linux | 11.0 | NVD |
All scores
| Linux | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: xen-netfront: manejador NULL devuelto por xdp_convert_buff_to_frame(). La función xdp_convert_buff_to_frame() puede devolver NULL si no convierte correctamente el búfer XDP en un marco XDP debido a limitaciones de memoria, errores internos o datos no válidos. No comprobar si hay NULL puede provocar una desreferencia de puntero NULL si el resultado se utiliza más adelante en el procesamiento, lo que puede causar fallos, corrupción de datos o un comportamiento indefinido. En caso de fallo en la redirección XDP, la página asociada debe liberarse explícitamente si se retuvo previamente mediante get_page(). No hacerlo puede provocar una fuga de memoria, ya que el recuento de referencias de páginas no se reduce.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-37820 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2025-37820 changed 2026-10-15 | Public domain |