drm: bridge/panel: Cleanup connector on bridge detach (Linux Linux)

CVE-2021-47063
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.26 % · centile 17 ()
É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: bridge/panel: Cleanup connector on bridge detach If we don't call drm_connector_cleanup() manually in panel_bridge_detach(), the connector will be cleaned up with the other DRM objects in the call to drm_mode_config_cleanup(). However, since our drm_connector is devm-allocated, by the time drm_mode_config_cleanup() will be called, our connector will be long gone. Therefore, the connector must be cleaned up when the bridge is detached to avoid use-after-free conditions. v2: Cleanup connector only if it was created v3: Add FIXME v4: (Use connector->dev) directly in if() block

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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 13dfc0540a575b47b2d640b093ac16e9e09474f6 < ce450934a00cf896e648fde08d0bd1426653d7a2 ; affected 13dfc0540a575b47b2d640b093ac16e9e09474f6 < 18149b420c9bd93c443e8d1f48a063d71d9f6aa1 ; affected 13dfc0540a575b47b2d640b093ac16e9e09474f6 < 98d7d76a74e48ec3ddf2e23950adff7edcab9327 ; affected 13dfc0540a575b47b2d640b093ac16e9e09474f6 < 4d906839d321c2efbf3fed4bc31ffd9ff55b75c0
Linux · Linuxaffected 4.13 ; unaffected 0 < 4.13 ; unaffected 5.10.37 ≤ 5.10.* ; unaffected 5.11.21 ≤ 5.11.* ; unaffected 5.12.4 ≤ 5.12.* ; unaffected 5.13 ≤ *

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