# CVE-2024-57807: scsi: megaraid\_sas: Fix for a potential deadlock

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 9, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2025-01-11T12:39:53.645Z
- **Modified:** 2026-06-17T08:14:04.617Z

## Who should check

- Anyone running Linux \>= e8c75b5d88f255ac5dcc4a90ae0c300f0b171fe7, \< 78afb9bfad00c4aa58a424111d7edbcab9452f2b; \>= 422fb12054f42c4c82e3959811afd01bc080821a, \< f36d024bd15ed356a80dda3ddc46d0a62aa55815; \>= ae6874ba4b43c5a00065f48599811a09d33b873d, \< 3c654998a3e8167a58b6c6fede545fe400a4b554; \>= ae6874ba4b43c5a00065f48599811a09d33b873d, \< edadc693bfcc0f1ea08b8fa041c9361fd042410d; \>= ae6874ba4b43c5a00065f48599811a09d33b873d, \< f50783148ec98a1d38b87422e2ceaf2380b7b606; \>= ae6874ba4b43c5a00065f48599811a09d33b873d, \< 466ca39dbf5d0ba71c16b15c27478a9c7d4022a8; \>= ae6874ba4b43c5a00065f48599811a09d33b873d, \< 50740f4dc78b41dec7c8e39772619d5ba841ddd7; 5f4f65212e42feaee32533448f1c1defdaa6befa; 2262bb7ee19e2d0056ffae84cd1803bd330d06af; \>= 5.4.134, \< 5.4.289; …
- Anyone running Linux 5.14

## 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.

## Affected and fixed versions

- Linux: \>= e8c75b5d88f255ac5dcc4a90ae0c300f0b171fe7, \< 78afb9bfad00c4aa58a424111d7edbcab9452f2b; \>= 422fb12054f42c4c82e3959811afd01bc080821a, \< f36d024bd15ed356a80dda3ddc46d0a62aa55815; \>= ae6874ba4b43c5a00065f48599811a09d33b873d, \< 3c654998a3e8167a58b6c6fede545fe400a4b554; \>= ae6874ba4b43c5a00065f48599811a09d33b873d, \< edadc693bfcc0f1ea08b8fa041c9361fd042410d; \>= ae6874ba4b43c5a00065f48599811a09d33b873d, \< f50783148ec98a1d38b87422e2ceaf2380b7b606; \>= ae6874ba4b43c5a00065f48599811a09d33b873d, \< 466ca39dbf5d0ba71c16b15c27478a9c7d4022a8; \>= ae6874ba4b43c5a00065f48599811a09d33b873d, \< 50740f4dc78b41dec7c8e39772619d5ba841ddd7; 5f4f65212e42feaee32533448f1c1defdaa6befa; 2262bb7ee19e2d0056ffae84cd1803bd330d06af; \>= 5.4.134, \< 5.4.289; … (cvelist)
- Linux: 5.14 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-57807. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-57807.md
Affected: Linux >= e8c75b5d88f255ac5dcc4a90ae0c300f0b171fe7, < 78afb9bfad00c4aa58a424111d7edbcab9452f2b; >= 422fb12054f42c4c82e3959811afd01bc080821a, < f36d024bd15ed356a80dda3ddc46d0a62aa55815; >= ae6874ba4b43c5a00065f48599811a09d33b873d, < 3c654998a3e8167a58b6c6fede545fe400a4b554; >= ae6874ba4b43c5a00065f48…
Fixed in: Linux 78afb9bfad00c4aa58a424111d7edbcab9452f2b, Linux 3c654998a3e8167a58b6c6fede545fe400a4b554, Linux 466ca39dbf5d0ba71c16b15c27478a9c7d4022a8, Linux 50740f4dc78b41dec7c8e39772619d5ba841ddd7, Linux 5.4.289

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-57807 being exploited?

There is no confirmed exploitation: CVE-2024-57807 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-57807?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-57807?

Linux \>= e8c75b5d88f255ac5dcc4a90ae0c300f0b171fe7, \< 78afb9bfad00c4aa58a424111d7edbcab9452f2b; \>= 422fb12054f42c4c82e3959811afd01bc080821a, \< f36d024bd15ed356a80dda3ddc46d0a62aa55815; \>= ae6874ba4b43c5a00065f48599811a09d33b873d, \< 3c654998a3e8167a58b6c6fede545fe400a4b554; \>= ae6874ba4b43c5a00065f48599811a09d33b873d, \< edadc693bfcc0f1ea08b8fa041c9361fd042410d; \>= ae6874ba4b43c5a00065f48599811a09d33b873d, \< f50783148ec98a1d38b87422e2ceaf2380b7b606; \>= ae6874ba4b43c5a00065f48599811a09d33b873d, \< 466ca39dbf5d0ba71c16b15c27478a9c7d4022a8; \>= ae6874ba4b43c5a00065f48599811a09d33b873d, \< 50740f4dc78b41dec7c8e39772619d5ba841ddd7; 5f4f65212e42feaee32533448f1c1defdaa6befa; 2262bb7ee19e2d0056ffae84cd1803bd330d06af; \>= 5.4.134, \< 5.4.289; …; Linux 5.14.

### Is there a fix for CVE-2024-57807?

Yes. Fixed in Linux 78afb9bfad00c4aa58a424111d7edbcab9452f2b, Linux 3c654998a3e8167a58b6c6fede545fe400a4b554, Linux 466ca39dbf5d0ba71c16b15c27478a9c7d4022a8, Linux 50740f4dc78b41dec7c8e39772619d5ba841ddd7, Linux 5.4.289. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-57807?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-57807>

HTML: <https://flawdb.com/CVE-2024-57807> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-57807>
