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

CVE-2023-52821
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.24 % · centile 15 ()
É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/panel: fix a possible null pointer dereference In versatile_panel_get_modes(), 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.

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 f40f5b87d974655984ce545515e5c9e57b371b3c < c7dc0aca5962fb37dbea9769dd26ec37813faae1 ; affected f40f5b87d974655984ce545515e5c9e57b371b3c < 2381f6b628b3214f07375e0adf5ce17093c31190 ; affected f40f5b87d974655984ce545515e5c9e57b371b3c < 79813cd59398015867d51e6d7dcc14d287d4c402 ; affected f40f5b87d974655984ce545515e5c9e57b371b3c < 4fa930ba046d20fc1899770396ee11e905fa96e4 ; affected f40f5b87d974655984ce545515e5c9e57b371b3c < 8a9dd36fcb4f3906982b82593393578db4479992 ; affected f40f5b87d974655984ce545515e5c9e57b371b3c < 924e5814d1f84e6fa5cb19c6eceb69f066225229
Linux · Linuxaffected 4.17 ; unaffected 0 < 4.17 ; unaffected 5.10.202 ≤ 5.10.* ; unaffected 5.15.140 ≤ 5.15.* ; unaffected 6.1.64 ≤ 6.1.* ; unaffected 6.5.13 ≤ 6.5.*

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