CVE-2024-57804: scsi: mpi3mr: Fix corrupt config pages PHY state is switched in sysfs
In the Linux kernel, the following vulnerability has been resolved:
scsi: mpi3mr: Fix corrupt config pages PHY state is switched in sysfs
The driver, through the SAS transport, exposes a sysfs interface to
enable/disable PHYs in a controller/expander setup. When multiple PHYs
are disabled and enabled in rapid succession, the persistent and current
config pages related to SAS IO unit/SAS Expander pages could get
corrupted.
Use separate memory for each config request.
Security readout for executives and security teams
Plain-English summary
A Linux storage-controller driver can corrupt active and saved SAS configuration when several hardware links are disabled and re-enabled quickly through sysfs. Corruption could disrupt storage connectivity or alter controller configuration. Triggering requires local, privileged access to the relevant management interface; ordinary remote traffic is not identified as an attack path.
Executive priority
Prioritize storage servers that use mpi3mr and permit automated or delegated hardware-link management. Patch them during an expedited, storage-aware maintenance window because configuration corruption could affect availability and persistence. Systems without the driver or relevant controller hardware are unlikely to be exposed and can remain on normal verification schedules.
Technical view
The mpi3mr SCSI driver reused memory across SAS configuration requests. Rapid, overlapping PHY state changes could corrupt current and persistent SAS IO Unit or SAS Expander configuration pages. The cited kernel fixes allocate separate memory for each request. The supplied CVSS 3.1 score is 7.3, reflecting local access, low complexity, low privileges, and potentially high integrity and availability impact.
Likely exposure
Exposure is limited to Linux systems using the mpi3mr driver with supported controllers or expanders and accessible PHY-control sysfs entries. Local users, management software, or automation able to change those entries create the relevant trigger path. The bundle identifies affected Linux releases including 6.1, 6.12.8, and 6.13, but its version data is ambiguous; verify distribution-specific status.
Exploitation context
The supplied record is not in CISA KEV, and no source in the bundle reports active exploitation or a public exploit. The condition requires rapid local PHY state changes through sysfs. Accidental triggering by privileged storage-management automation may therefore be as operationally relevant as deliberate abuse.
Researcher notes
The strongest evidence concerns a concurrency-related memory-sharing flaw in configuration handling, not remote code execution. The precise affected-version boundaries are unclear in the supplied normalized data. Researchers should compare distribution patches with the two upstream stable commits and assess sysfs authorization, concurrent request handling, and configuration integrity without reproducing corruption on production storage.
Mitigation direction
Install a vendor-supported kernel containing the cited mpi3mr fixes.
Confirm distribution backport status rather than relying only on the upstream kernel version.
Restrict sysfs PHY-control access to trusted administrators and management services.
Avoid rapid or concurrent PHY enable-disable operations until patched.
Review vendor guidance before changing production storage-controller behavior.
Validation and detection
Inventory hosts loading mpi3mr and identify attached controllers or SAS expanders.
Record running kernel and distribution package versions on exposed hosts.
Verify the kernel package includes either cited fix or an equivalent vendor backport.
Review permissions and automation accessing PHY-control sysfs entries.
Check storage and kernel logs for PHY resets, controller errors, or configuration anomalies.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-57804 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
0ADP providers
3Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.