usb: dwc3: st: fix probed platform device ref count on probe error path (Linux Linux)

CVE-2024-46674
HIGH 7.8

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: st: fix probed platform device ref count on probe error path The probe function never performs any paltform device allocation, thus error path "undo_platform_dev_alloc" is entirely bogus. It drops the reference count from the platform device being probed. If error path is triggered, this will lead to unbalanced device reference counts and premature release of device resources, thus possible use-after-free when releasing remaining devm-managed resources.

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:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
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 f83fca0707c66e36f14efef7f68702cb12de70b7 < b0979a885b9d4df2a25b88e9d444ccaa5f9f495c ; affected f83fca0707c66e36f14efef7f68702cb12de70b7 < f3498650df0805c75b4e1c94d07423c46cbf4ce1 ; affected f83fca0707c66e36f14efef7f68702cb12de70b7 < 6aee4c5635d81f4809c3b9f0c198a65adfbb2ada ; affected f83fca0707c66e36f14efef7f68702cb12de70b7 < 060f41243ad7f6f5249fa7290dda0c01f723d12d ; affected f83fca0707c66e36f14efef7f68702cb12de70b7 < 4c6735299540f3c82a5033d35be76a5c42e0fb18 ; affected f83fca0707c66e36f14efef7f68702cb12de70b7 < e1e5e8ea2731150d5ba7c707f9e02fafebcfeb49
Linux · Linuxaffected 3.18 ; unaffected 0 < 3.18 ; unaffected 4.19.321 ≤ 4.19.* ; unaffected 5.4.283 ≤ 5.4.* ; unaffected 5.10.225 ≤ 5.10.* ; unaffected 5.15.166 ≤ 5.15.*

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