What’s Vulnerable › Vulnerabilities
CVE-2021-47329: scsi: megaraid_sas: Fix resource leak in case of probe failure
- Severity: medium (CVSS 6.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-21 · updated 2026-06-17
- Weakness: CWE-400
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.
Affected products
- Linux kernel: before 5.4.134; from 5.5 before 5.10.52; from 5.11 before 5.12.19; from 5.13 before 5.13.4 — fixed in 5.10.52, 5.12.19, 5.13.4, 5.4.134
How to fix
Upgrade to a fixed version: Linux kernel 5.10.52, 5.12.19, 5.13.4, 5.4.134. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/04b6b9ea80906e3b41ff120b45db31768947cf72
- https://git.kernel.org/stable/c/0680db6f41920b2c91c7df3cc9cd5968701a6f74
- https://git.kernel.org/stable/c/0c6226601c3e191a44a57d8f9f814b7e5c308959
- https://git.kernel.org/stable/c/b5438f48fdd8e1c3f130d32637511efd32038152
- https://git.kernel.org/stable/c/e623f79691c5104317669ab36ec316a90c05062f
- https://git.kernel.org/stable/c/04b6b9ea80906e3b41ff120b45db31768947cf72
- https://git.kernel.org/stable/c/0680db6f41920b2c91c7df3cc9cd5968701a6f74
- https://git.kernel.org/stable/c/0c6226601c3e191a44a57d8f9f814b7e5c308959
- https://git.kernel.org/stable/c/b5438f48fdd8e1c3f130d32637511efd32038152
- https://git.kernel.org/stable/c/e623f79691c5104317669ab36ec316a90c05062f
Get alerted when CVE-2021-47329 or the next vulnerability affects your stack