# CVE-2024-57807: scsi: megaraid_sas: Fix for a potential deadlock

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-01-11T12:39:53.645Z
- Modified: 2026-06-17T08:14:04.617Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from e8c75b5d88f255ac5dcc4a90ae0c300f0b171fe7 before 78afb9bfad00c4aa58a424111d7edbcab9452f2b; from 422fb12054f42c4c82e3959811afd01bc080821a before f36d024bd15ed356a80dda3ddc46d0a62aa55815; from ae6874ba4b43c5a00065f48599811a09d33b873d before 3c654998a3e8167a58b6c6fede545fe400a4b554; from ae6874ba4b43c5a00065f48599811a09d33b873d before edadc693bfcc0f1ea08b8fa041c9361fd042410d; from ae6874ba4b43c5a00065f48599811a09d33b873d before f50783148ec98a1d38b87422e2ceaf2380b7b606; from ae6874ba4b43c5a00065f48599811a09d33b873d before 466ca39dbf5d0ba71c16b15c27478a9c7d4022a8; from ae6874ba4b43c5a00065f48599811a09d33b873d before 50740f4dc78b41dec7c8e39772619d5ba841ddd7; 5f4f65212e42feaee32533448f1c1defdaa6befa; 2262bb7ee19e2d0056ffae84cd1803bd330d06af; from 5.4.134 before 5.4.289; from 5.10.52 before 5.10.233; from 5.12.19 before 5.13; and 2 more (not affected: before 5.14; from 5.4.289 up to 5.4.*; from 5.10.233 up to 5.10.*; from 5.15.176 up to 5.15.*; from 6.1.123 up to 6.1.*; from 6.6.69 up to 6.6.*; from 6.12.8 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: before 5.4.289; from 5.5 before 5.10.233; from 5.11 before 5.15.176; from 5.16 before 6.1.123; from 6.2 before 6.6.69; from 6.7 before 6.12.8; 6.13

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/78afb9bfad00c4aa58a424111d7edbcab9452f2b> (patch)
- <https://git.kernel.org/stable/c/f36d024bd15ed356a80dda3ddc46d0a62aa55815> (patch)
- <https://git.kernel.org/stable/c/3c654998a3e8167a58b6c6fede545fe400a4b554> (patch)
- <https://git.kernel.org/stable/c/edadc693bfcc0f1ea08b8fa041c9361fd042410d> (patch)
- <https://git.kernel.org/stable/c/f50783148ec98a1d38b87422e2ceaf2380b7b606> (patch)
- <https://git.kernel.org/stable/c/466ca39dbf5d0ba71c16b15c27478a9c7d4022a8> (patch)
- <https://git.kernel.org/stable/c/50740f4dc78b41dec7c8e39772619d5ba841ddd7> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Sources

- CVE List: [CVE-2024-57807](https://www.cve.org/CVERecord?id=CVE-2024-57807), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2024-57807](https://nvd.nist.gov/vuln/detail/CVE-2024-57807), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-57807 · Whole record: https://cve.day/CVE-2024-57807.json · Rebuilt by cve.day 2026-11-25T22:58:50.937Z
