net/smc: remove device from smcd_dev_list after failed device_add() (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.22 % · centile 13 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Analyzed
Description
In the Linux kernel, the following vulnerability has been resolved: net/smc: remove device from smcd_dev_list after failed device_add() If the device_add() for a smcd_dev fails, there's no cleanup step that rolls back the earlier list_add(). The device subsequently gets freed, and we end up with a corrupted list. Add some error handling that removes the device from the list.
Faiblesses (CWE)
- CWE-459 — Nettoyage incomplet
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
Références européennes
- ENISA EUVD · EUVD-2021-33791
- GCVE · GCVE-0-2021-47143
Avis du CERT-FR
- CERTFR-2024-AVI-0458 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0440 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0420 — 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.19 < 5.10.42cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.12.9cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected c6ba7c9ba43de1b57e9a53946e7ff988554c84ed < 8b2cdc004d21a7255f219706dca64411108f7897 ; affected c6ba7c9ba43de1b57e9a53946e7ff988554c84ed < 40588782f1016c655ae1d302892f61d35af96842 ; affected c6ba7c9ba43de1b57e9a53946e7ff988554c84ed < 444d7be9532dcfda8e0385226c862fd7e986f607 |
| Linux · Linux | affected 4.19 ; unaffected 0 < 4.19 ; unaffected 5.10.42 ≤ 5.10.* ; unaffected 5.12.9 ≤ 5.12.* ; unaffected 5.13 ≤ * |
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 |