CWE data temporarily unavailableCWE data is currently experiencing intermittent outages, which may cause incomplete section loading on CVE pages. We are actively working on a fix.

CVE-2024-45023

Description

A flaw was found in the md/raid1 component of the Linux kernel. This vulnerability allows a local attacker with elevated privileges to cause data corruption in a degraded RAID1 array. The read_balance() function, responsible for balancing read operations across disks, can incorrectly read unrecovered data from a disk that is still in the recovery process, particularly when valid data resides on slower disks. This issue stems from a missing recovery check in the choose_bb_rdev() and choose_slow_rdev() functions.

Statement

Accessing storage device will need some extra privilege and hence impact of this issue is considered to be Moderate.

Mitigation

To mitigate this issue, systems not utilizing software RAID1 can prevent the `raid1` kernel module from loading. This can be achieved by creating a blacklist rule.

Create a file `/etc/modprobe.d/disable-raid1.conf` with the following content:
`blacklist raid1`

After creating the file, regenerate the initramfs and reboot the system for the changes to take effect. For Red Hat Enterprise Linux 7 and 8, use `dracut -f -v`. For Red Hat Enterprise Linux 6, use `mkinitrd -f -v`.

This action may impact systems relying on software RAID1 functionality and requires a system reboot to apply.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score6.77.17.8
Attack VectorLocalLocalLocal
Attack ComplexityLowLowLow
Privileges RequiredHighLowLow
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityHighNoneHigh
Integrity ImpactHighHighHigh
Availability ImpactHighHighHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

cve.org: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

Want to get errata notifications? Sign up here.