{"id":"CVE-2025-37820","aliases":["CVE-2025-37820"],"related":[],"kind":"vulnerability","state":"published","title":"xen-netfront: handle NULL returned by xdp_convert_buff_to_frame()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nxen-netfront: handle NULL returned by xdp_convert_buff_to_frame()\n\nThe function xdp_convert_buff_to_frame() may return NULL if it fails\nto correctly convert the XDP buffer into an XDP frame due to memory\nconstraints, internal errors, or invalid data. Failing to check for NULL\nmay lead to a NULL pointer dereference if the result is used later in\nprocessing, potentially causing crashes, data corruption, or undefined\nbehavior.\n\nOn XDP redirect failure, the associated page must be released explicitly\nif it was previously retained via get_page(). Failing to do so may result\nin a memory leak, as the pages reference count is not decremented.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nxen-netfront: handle NULL returned by xdp_convert_buff_to_frame()\n\nThe function xdp_convert_buff_to_frame() may return NULL if it fails\nto correctly convert the XDP buffer into an XDP frame due to memory\nconstraints, internal errors, or invalid data. Failing to check for NULL\nmay lead to a NULL pointer dereference if the result is used later in\nprocessing, potentially causing crashes, data corruption, or undefined\nbehavior.\n\nOn XDP redirect failure, the associated page must be released explicitly\nif it was previously retained via get_page(). Failing to do so may result\nin a memory leak, as the pages reference count is not decremented.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-05-08T06:26:14.602Z","modified":"2026-10-15T22:18:18.740Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c","fixed":"5b83d30c63f9964acb1bc63eb8e670b9e0d2c240","status":"affected"},{"type":"git","introduced":"6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c","fixed":"cefd8a2e2de46209ce66e6d30c237eb59b6c5bfa","status":"affected"},{"type":"git","introduced":"6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c","fixed":"d6a9c4e6f9b3ec3ad98468c950ad214af8a2efb9","status":"affected"},{"type":"git","introduced":"6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c","fixed":"eefccd889df3b49d92e7349d94c4aa7e1ba19f6c","status":"affected"},{"type":"git","introduced":"6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c","fixed":"cc3628dcd851ddd8d418bf0c897024b4621ddc92","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.9","status":"unaffected"},{"type":"semver","introduced":"6.1.136","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.89","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.26","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.14.5","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.9","fixed":"6.1.136"},{"status":"affected","introduced":"6.2","fixed":"6.6.89"},{"status":"affected","introduced":"6.7","fixed":"6.12.26"},{"status":"affected","introduced":"6.13","fixed":"6.14.5"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/5b83d30c63f9964acb1bc63eb8e670b9e0d2c240","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cefd8a2e2de46209ce66e6d30c237eb59b6c5bfa","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d6a9c4e6f9b3ec3ad98468c950ad214af8a2efb9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eefccd889df3b49d92e7349d94c4aa7e1ba19f6c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cc3628dcd851ddd8d418bf0c897024b4621ddc92","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-15T21:45:24.118Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-37820","url":"https://www.cve.org/CVERecord?id=CVE-2025-37820","licence":"CVE Terms of Use","modified":"2026-10-15T21:52:00.774Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-37820","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37820","licence":"Public domain","modified":"2026-10-15T22:18:18.740Z"}],"updatedAt":"2026-11-25T22:58:57.799Z","epss":{"score":0.0041,"percentile":0.37359,"date":"2026-12-01T12:00:22.000Z"}}