net: fec: Better handle pm_runtime_get() failing in .remove() (Linux Linux)

CVE-2023-53308
HIGH 7.8

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: net: fec: Better handle pm_runtime_get() failing in .remove() In the (unlikely) event that pm_runtime_get() (disguised as pm_runtime_resume_and_get()) fails, the remove callback returned an error early. The problem with this is that the driver core ignores the error value and continues removing the device. This results in a resource leak. Worse the devm allocated resources are freed and so if a callback of the driver is called later the register mapping is already gone which probably results in a crash.

Faiblesses (CWE)

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:HCISA-ADP
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)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 982d424239d7fae74938557428d45c717567ea9b < d52a0cca591e899d4e5c8ab19e067b4c6b7d104f ; affected 04748841f7a02ec6ff07fadfc5d1f8e24e61946d < be85912c36ddca3e8b2eef1b5392cd8db6bdb730 ; affected a31eda65ba210741b598044d045480494d0ed52a < b22b514209ff8c4287abb853399890ab97e1b5ca ; affected a31eda65ba210741b598044d045480494d0ed52a < 83996d317b1deddc85006376082e8886f55aa709 ; affected a31eda65ba210741b598044d045480494d0ed52a < c1bc2870f14e526a01897e14c747a0a0ca125231 ; affected a31eda65ba210741b598044d045480494d0ed52a < 9407454a9b18bbeff216e8ecde87ffb2171e9ccf
Linux · Linuxaffected 5.4 ; unaffected 0 < 5.4 ; unaffected 4.14.316 ≤ 4.14.* ; unaffected 4.19.284 ≤ 4.19.* ; unaffected 5.4.244 ≤ 5.4.* ; unaffected 5.10.181 ≤ 5.10.*

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