LoongArch: Fix missing NULL checks for kstrdup() (Linux Linux)

CVE-2026-31559
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.12 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: LoongArch: Fix missing NULL checks for kstrdup() 1. Replace "of_find_node_by_path("/")" with "of_root" to avoid multiple calls to "of_node_put()". 2. Fix a potential kernel oops during early boot when memory allocation fails while parsing CPU model from device tree.

Faiblesses (CWE)

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

Références

Scores

VersionScoreVecteurÉvalué par
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 facc69f43502c135c16b97d5ded7253f15597912 < 5e7fde2c551f86e6c3de3fd7a9b1f52806ac8db0 ; affected 70a2365e18affc5ebdaab1ca6a0b3c4f3aac2ee8 < a1da957c25cf751a2dce8fb7777f82ccbac0cb3e ; affected 70a2365e18affc5ebdaab1ca6a0b3c4f3aac2ee8 < b61a309743322fb57fb9afa9aa3495ac758e4f5e ; affected 70a2365e18affc5ebdaab1ca6a0b3c4f3aac2ee8 < 3a28daa9b7d7c2ddf2c722e9e95d7e0928bf0cd1 ; affected 620805dc674eab3055543496a7ef25beb9ffd2a8 ; affected 8dfeedf9eceadc1a2fc9066b4c5230690d1cad48
Linux · Linuxaffected 6.17 ; unaffected 0 < 6.17 ; unaffected 6.12.80 ≤ 6.12.* ; unaffected 6.18.21 ≤ 6.18.* ; unaffected 6.19.11 ≤ 6.19.* ; unaffected 7.0 ≤ *

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