drm/amdkfd: Check for potential null return of kmalloc_array() (Linux Linux)

CVE-2022-49055
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Check for potential null return of kmalloc_array() As the kmalloc_array() may return null, the 'event_waiters[i].wait' would lead to null-pointer dereference. Therefore, it is better to check the return value of kmalloc_array() to avoid this confusion.

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 f3a398183f7b9ef78f6b71ee9f7641e046403bcb < 32cf90a521dcc0f136db7ee5ba32bfe5f79e460e ; affected f3a398183f7b9ef78f6b71ee9f7641e046403bcb < 40bf32dbfef866c83a3e74800b81d79e52b6d20b ; affected f3a398183f7b9ef78f6b71ee9f7641e046403bcb < 94869bb0de69a812f70231b0eb480bb2f7ae73a6 ; affected f3a398183f7b9ef78f6b71ee9f7641e046403bcb < c7a268b33882d5feaafd29c1734456f41ba41396 ; affected f3a398183f7b9ef78f6b71ee9f7641e046403bcb < 1d7a5aae884ca727d41c7ed15d4c82fdb67c040c ; affected f3a398183f7b9ef78f6b71ee9f7641e046403bcb < f2658d5966bcee8c3eb487875f459756d4f7cdfc
Linux · Linuxaffected 4.2 ; unaffected 0 < 4.2 ; unaffected 4.9.311 ≤ 4.9.* ; unaffected 4.14.276 ≤ 4.14.* ; unaffected 4.19.239 ≤ 4.19.* ; unaffected 5.4.190 ≤ 5.4.*

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