net: fec: Better handle pm_runtime_get() failing in .remove() (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.17 % · centile 6 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Modified
Rechercher sur…
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)
- CWE-415 — Double libération
Références
- https://git.kernel.org/stable/c/d52a0cca591e899d4e5c8ab19e067b4c6b7d104f
- https://git.kernel.org/stable/c/be85912c36ddca3e8b2eef1b5392cd8db6bdb730
- https://git.kernel.org/stable/c/b22b514209ff8c4287abb853399890ab97e1b5ca
- https://git.kernel.org/stable/c/83996d317b1deddc85006376082e8886f55aa709
- https://git.kernel.org/stable/c/c1bc2870f14e526a01897e14c747a0a0ca125231
- https://git.kernel.org/stable/c/9407454a9b18bbeff216e8ecde87ffb2171e9ccf
- https://git.kernel.org/stable/c/e02d8d5b1602689b98d9b91550a11b9b57baedbe
- https://git.kernel.org/stable/c/f816b9829b19394d318e01953aa3b2721bca040d
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2023-59953
- GCVE · GCVE-0-2023-53308
Avis du CERT-FR
- CERTFR-2025-AVI-0895 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.9.206 < 4.10cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.14.158 < 4.14.316cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.19.88 < 4.19.284cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.3.15 < 5.4cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.4.1 < 5.4.244cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.181cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.113cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 6.1.30cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.2 < 6.3.4cpe:2.3:o:linux:linux_kernel:5.4:-:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.4:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.4:rc2:*:*:*:*:*:*
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 982d424239d7fae74938557428d45c717567ea9b < d52a0cca591e899d4e5c8ab19e067b4c6b7d104f ; affected 04748841f7a02ec6ff07fadfc5d1f8e24e61946d < be85912c36ddca3e8b2eef1b5392cd8db6bdb730 ; affected a31eda65ba210741b598044d045480494d0ed52a < b22b514209ff8c4287abb853399890ab97e1b5ca ; affected a31eda65ba210741b598044d045480494d0ed52a < 83996d317b1deddc85006376082e8886f55aa709 ; affected a31eda65ba210741b598044d045480494d0ed52a < c1bc2870f14e526a01897e14c747a0a0ca125231 ; affected a31eda65ba210741b598044d045480494d0ed52a < 9407454a9b18bbeff216e8ecde87ffb2171e9ccf |
| Linux · Linux | affected 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
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |