powerpc/kexec_file: Fix null-ptr-def in extra size calculation (Linux Linux)

CVE-2026-89963
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.20 % · centile 10 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: powerpc/kexec_file: Fix null-ptr-def in extra size calculation A static Sashiko AI review identified a potential NULL pointer dereference in kexec_extra_fdt_size_ppc64(). On platforms without any reserved memory regions, get_reserved_memory_ranges() can return 0 while leaving 'rmem' unallocated as NULL. Passing it directly leads to a kernel panic when evaluating 'rmem->nr_ranges'. Add a NULL check for 'rmem' to prevent this crash.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ 0d3ff067331ef84e7e7f49537d768881042ed5ba < 11ef1c2a5dbe0bd8c1345f59bab7331d352f02cf
affectée : ≥ 0d3ff067331ef84e7e7f49537d768881042ed5ba < df45337587db21c502fe5251d3bcc7887428f4fb
affectée : ≥ 0d3ff067331ef84e7e7f49537d768881042ed5ba < 4ff3d9fd71c7bc2fc81afdac1970d9c55a5c0dea
affectée : ≥ 0d3ff067331ef84e7e7f49537d768881042ed5ba < 761eda315a6e1fda3e8e2185b28430771fb1ac29
Autres versions : non affectée
Linux · Linux
affectée : 6.11
non affectée : ≥ 0 < 6.11
non affectée : ≥ 6.12.110 ≤ 6.12.*
non affectée : ≥ 6.18.51 ≤ 6.18.*
non affectée : ≥ 7.2.5 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
Autres versions : affectée

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