CVE-2021-47329

scsi: megaraid_sas: Fix resource leak in case of probe failure

MEDIUM
6.2
CVSS Score
Published: May 21, 2024 at 02:35 PM UTC
Updated: June 17, 2026 at 04:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.2
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.4.1343.0 ≤ v < 5.10.523.0 ≤ v < 5.12.193.0 ≤ v < 5.13.43.0 ≤ v < 5.143.0 ≤ v < 5.4.1345.11 ≤ v < 5.12.195.13 ≤ v < 5.13.45.5 ≤ v < 5.10.521da177e4c3f43.0541f90b7c6dffe4cf4a3e8142ac8bd047da94733
Vendor states this is fixed in 04b6b9ea8090 (fixed)
Vendor states this is fixed in 04b6b9ea80906e3b41ff120b45db31768947cf72 (fixed)
Vendor states this is fixed in 0680db6f4192 (fixed)
Vendor states this is fixed in 0680db6f41920b2c91c7df3cc9cd5968701a6f74 (fixed)
Vendor states this is fixed in 0c6226601c3e (fixed)
Vendor states this is fixed in 0c6226601c3e191a44a57d8f9f814b7e5c308959 (fixed)
Vendor states this is fixed in b5438f48fdd8 (fixed)
Vendor states this is fixed in b5438f48fdd8e1c3f130d32637511efd32038152 (fixed)
Vendor states this is fixed in e623f79691c5 (fixed)
Vendor states this is fixed in e623f79691c5104317669ab36ec316a90c05062f (fixed)
Vendor states this is fixed in 3.0 (unaffected)
Vendor states this is fixed in 5.10.52 (unaffected)
Vendor states this is fixed in 5.12.19 (unaffected)
Vendor states this is fixed in 5.13.4 (unaffected)
Vendor states this is fixed in 5.14 (unaffected)
Vendor states this is fixed in 5.4.134 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/04b6b9ea80906e3b41ff120b45db31768947cf72
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0680db6f41920b2c91c7df3cc9cd5968701a6f74
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0c6226601c3e191a44a57d8f9f814b7e5c308959
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b5438f48fdd8e1c3f130d32637511efd32038152
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e623f79691c5104317669ab36ec316a90c05062f

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.2MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-400

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card