scsi: megaraid_sas: Fix resource leak in case of probe failure (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.26 % · percentile 18 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: megaraid_sas: Fix resource leak in case of probe failure The driver doesn't clean up all the allocated resources properly when scsi_add_host(), megasas_start_aen() function fails during the PCI device probe. Clean up all those resources.
Weaknesses (CWE)
- CWE-400 — Uncontrolled Resource Consumption
References
- https://git.kernel.org/stable/c/0c6226601c3e191a44a57d8f9f814b7e5c308959
- https://git.kernel.org/stable/c/0680db6f41920b2c91c7df3cc9cd5968701a6f74
- https://git.kernel.org/stable/c/04b6b9ea80906e3b41ff120b45db31768947cf72
- https://git.kernel.org/stable/c/e623f79691c5104317669ab36ec316a90c05062f
- https://git.kernel.org/stable/c/b5438f48fdd8e1c3f130d32637511efd32038152
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
| CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
European references
- ENISA EUVD · EUVD-2021-34334
- GCVE · GCVE-0-2021-47329
CERT-FR advisories
- CERTFR-2024-AVI-0526 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0496 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*< 5.4.134cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.52cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.12.19cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.13 < 5.13.4
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 541f90b7c6dffe4cf4a3e8142ac8bd047da94733 < 0c6226601c3e191a44a57d8f9f814b7e5c308959 ; affected 541f90b7c6dffe4cf4a3e8142ac8bd047da94733 < 0680db6f41920b2c91c7df3cc9cd5968701a6f74 ; affected 541f90b7c6dffe4cf4a3e8142ac8bd047da94733 < 04b6b9ea80906e3b41ff120b45db31768947cf72 ; affected 541f90b7c6dffe4cf4a3e8142ac8bd047da94733 < e623f79691c5104317669ab36ec316a90c05062f ; affected 541f90b7c6dffe4cf4a3e8142ac8bd047da94733 < b5438f48fdd8e1c3f130d32637511efd32038152 |
| Linux · Linux | affected 3.0 ; unaffected 0 < 3.0 ; unaffected 5.4.134 ≤ 5.4.* ; unaffected 5.10.52 ≤ 5.10.* ; unaffected 5.12.19 ≤ 5.12.* ; unaffected 5.13.4 ≤ 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 |