CVE-2024-45023CWE-787

CVE-2024-45023

High · published September 11, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
8.1
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

md/raid1: Fix data corruption for degraded array with slow disk

read_balance() will avoid reading from slow disks as much as possible,

however, if valid data only lands in slow disks, and a new normal disk

is still in recovery, unrecovered data can be read:

raid1_read_request

read_balance

raid1_should_read_first

-> return false

choose_best_rdev

-> normal disk is not recovered, return -1

choose_bb_rdev

-> missing the checking of recovery, return the normal disk

-> read unrecovered data

Root cause is that the checking of recovery is missing in

choose_bb_rdev(). Hence add such checking to fix the problem.

Also fix similar problem in choose_slow_rdev().

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00189 · 8.1th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2024-09-11T20:15Z
Affected products (4)
ProductVersionsFixed in
linux/linux_kernel≥ 6.9, < 6.10.76.10.7
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (2)
EPSS history
Timeline
  • 11 SEP 15:13Z
    md/raid1: Fix data corruption for degraded array with slow disk
    cvelistv5