xen-netfront: handle NULL returned by xdp_convert_buff_to_frame() (Linux Linux)

CVE-2025-37820
HIGH 7.5

En bref

Source
NVD
EPSS
EPSS 0.40 % · centile 34 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c < 5b83d30c63f9964acb1bc63eb8e670b9e0d2c240 ; affected 6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c < cefd8a2e2de46209ce66e6d30c237eb59b6c5bfa ; affected 6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c < d6a9c4e6f9b3ec3ad98468c950ad214af8a2efb9 ; affected 6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c < eefccd889df3b49d92e7349d94c4aa7e1ba19f6c ; affected 6c5aa6fc4defc2a0977a2c59e4710d50fa1e834c < cc3628dcd851ddd8d418bf0c897024b4621ddc92
Linux · Linuxaffected 5.9 ; unaffected 0 < 5.9 ; unaffected 6.1.136 ≤ 6.1.* ; unaffected 6.6.89 ≤ 6.6.* ; unaffected 6.12.26 ≤ 6.12.* ; unaffected 6.14.5 ≤ 6.14.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD