Bug 2337098 (CVE-2024-57807)

Summary: CVE-2024-57807 kernel: scsi: megaraid_sas: Fix for a potential deadlock
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: dfreiber, drow, jburrell, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2025-01-11 13:01:32 UTC
In the Linux kernel, the following vulnerability has been resolved:

scsi: megaraid_sas: Fix for a potential deadlock

This fixes a 'possible circular locking dependency detected' warning
      CPU0                    CPU1
      ----                    ----
 lock(&instance->reset_mutex);
                              lock(&shost->scan_mutex);
                              lock(&instance->reset_mutex);
 lock(&shost->scan_mutex);

Fix this by temporarily releasing the reset_mutex.

Comment 1 Avinash Hanwate 2025-01-13 08:28:21 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025011153-CVE-2024-57807-b595@gregkh/T

Comment 3 Avinash Hanwate 2025-01-13 11:30:13 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025011153-CVE-2024-57807-b595@gregkh/T

Comment 5 errata-xmlrpc 2025-03-10 01:24:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2025:2474 https://access.redhat.com/errata/RHSA-2025:2474

Comment 6 errata-xmlrpc 2025-03-10 01:31:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2025:2473 https://access.redhat.com/errata/RHSA-2025:2473