drm/radeon: fix a possible null pointer dereference (Linux Linux)

CVE-2022-48710
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
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: drm/radeon: fix a possible null pointer dereference In radeon_fp_native_mode(), the return value of drm_mode_duplicate() is assigned to mode, which will lead to a NULL pointer dereference on failure of drm_mode_duplicate(). Add a check to avoid npd. The failure status of drm_cvt_mode() on the other path is checked too.

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 771fe6b912fca54f03e8a72eb63058b582775362 < b33f7d99c9226892c7794dc2500fae35966020c9 ; affected 771fe6b912fca54f03e8a72eb63058b582775362 < 16a0f0b63c4c7eb46fc4c3f00bf2836e6ee46a9f ; affected 771fe6b912fca54f03e8a72eb63058b582775362 < 8a89bfeef9abe93371e3ea8796377f2d132eee29 ; affected 771fe6b912fca54f03e8a72eb63058b582775362 < 28fd384c78d7d8ed8af0d086d778c3e438ba7f60 ; affected 771fe6b912fca54f03e8a72eb63058b582775362 < fee8ae0a0bb66eb7730c22f44fbd7203f63c2eab ; affected 771fe6b912fca54f03e8a72eb63058b582775362 < 7b7fba107b2c4ec7673d0f45bdbb9d1af697d9b9
Linux · Linuxaffected 2.6.31 ; unaffected 0 < 2.6.31 ; unaffected 4.9.318 ≤ 4.9.* ; unaffected 4.14.283 ≤ 4.14.* ; unaffected 4.19.247 ≤ 4.19.* ; unaffected 5.4.198 ≤ 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