soc: ti: ti_sci_pm_domains: Check for null return of devm_kcalloc (Linux Linux)

CVE-2022-49453
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: soc: ti: ti_sci_pm_domains: Check for null return of devm_kcalloc The allocation funciton devm_kcalloc may fail and return a null pointer, which would cause a null-pointer dereference later. It might be better to check it and directly return -ENOMEM just like the usage of devm_kcalloc in previous code.

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:HCISA-ADP
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)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected efa5c01cd7ee20421a92ffe9b4aae7dfed385eeb < 05efc4591f80582b6fe53366b70b6a35a42fd255 ; affected efa5c01cd7ee20421a92ffe9b4aae7dfed385eeb < 7cef9274fa1b8506949d74bc45aef072b890824a ; affected efa5c01cd7ee20421a92ffe9b4aae7dfed385eeb < c4e188869406b47ac3350920bf165be303cb1c96 ; affected efa5c01cd7ee20421a92ffe9b4aae7dfed385eeb < 01ba41a359622ab256ce4d4f8b94c67165ae3daf ; affected efa5c01cd7ee20421a92ffe9b4aae7dfed385eeb < ba56291e297d28aa6eb82c5c1964fae2d7594746
Linux · Linuxaffected 5.10 ; unaffected 0 < 5.10 ; unaffected 5.10.121 ≤ 5.10.* ; unaffected 5.15.46 ≤ 5.15.* ; unaffected 5.17.14 ≤ 5.17.* ; unaffected 5.18.3 ≤ 5.18.*

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