---
id: CVE-2024-57804
title: 'scsi: mpi3mr: Fix corrupt config pages PHY state is switched in sysfs'
summary: |-
  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 cont…
severity: high
cvss: 7.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-665
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 32d457d5a2af9bf5ddbe28297eabf1fc93451665 <
    d7dade716905b189f17cc1601cbb4b421a811a28
  - >-
    Linux >= 32d457d5a2af9bf5ddbe28297eabf1fc93451665 <
    869fdc6f0606060301aef648231e186c7c542f5a
  - >-
    Linux >= 32d457d5a2af9bf5ddbe28297eabf1fc93451665 <
    711201a8b8334a397440ac0b859df0054e174bc9
  - Linux 6.1
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-15T21:41:29.743004Z'
published: '2025-01-11'
updated: '2026-10-21'
sourceUpdated: '2026-10-21T12:35:41.092Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2024-57804'
references:
  - url: 'https://git.kernel.org/stable/c/d7dade716905b189f17cc1601cbb4b421a811a28'
  - url: 'https://git.kernel.org/stable/c/869fdc6f0606060301aef648231e186c7c542f5a'
  - url: 'https://git.kernel.org/stable/c/711201a8b8334a397440ac0b859df0054e174bc9'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-57804.json
  - url: 'https://access.redhat.com/security/cve/CVE-2024-57804'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2337133'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2024-57804'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-57804'
  - url: >-
      https://lore.kernel.org/linux-cve-announce/2025011152-CVE-2024-57804-4bad@gregkh/T
tags:
  - cve.org
  - csaf
  - vex
  - red-hat
  - score-dispute
epss: 0.00211
epssPercentile: 0.10833
scores:
  cna: 7.3
  vendor: 4.4
ingestedAt: '2026-10-15T22:48:25.460Z'
---

## Overview

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.

## Affected

- `Linux >= 32d457d5a2af9bf5ddbe28297eabf1fc93451665 < d7dade716905b189f17cc1601cbb4b421a811a28`
- `Linux >= 32d457d5a2af9bf5ddbe28297eabf1fc93451665 < 869fdc6f0606060301aef648231e186c7c542f5a`
- `Linux >= 32d457d5a2af9bf5ddbe28297eabf1fc93451665 < 711201a8b8334a397440ac0b859df0054e174bc9`
- `Linux 6.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · updated 2026-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-57804.json)
