drm/client: fix null pointer dereference in drm_client_modeset_probe (Linux Linux)

CVE-2024-43894
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.23 % · centile 14 ()
É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/client: fix null pointer dereference in drm_client_modeset_probe In drm_client_modeset_probe(), the return value of drm_mode_duplicate() is assigned to modeset->mode, which will lead to a possible 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 cf13909aee054f5aa667d4b9da0ac7df4f6c1327 < 24ddda932c43ffe156c7f3c568bed85131c63ae6 ; affected cf13909aee054f5aa667d4b9da0ac7df4f6c1327 < 5291d4f73452c91e8a11f71207617e3e234d418e ; affected cf13909aee054f5aa667d4b9da0ac7df4f6c1327 < c763dfe09425152b6bb0e348900a637c62c2ce52 ; affected cf13909aee054f5aa667d4b9da0ac7df4f6c1327 < d64847c383100423aecb6ac5f18be5f4316d9d62 ; affected cf13909aee054f5aa667d4b9da0ac7df4f6c1327 < d64fc94f7bb24fc2be0d6bd5df8df926da461a6d ; affected cf13909aee054f5aa667d4b9da0ac7df4f6c1327 < 612cae53e99ce32a58cb821b3b67199eb6e92dff
Linux · Linuxaffected 5.3 ; unaffected 0 < 5.3 ; unaffected 5.4.282 ≤ 5.4.* ; unaffected 5.10.224 ≤ 5.10.* ; unaffected 5.15.165 ≤ 5.15.* ; unaffected 6.1.105 ≤ 6.1.*

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