CVE-2024-45023

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-45023
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-45023.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-45023
Downstream
Related
Published
2024-09-11T15:13:56Z
Modified
2025-10-09T16:17:53.969144Z
Summary
md/raid1: Fix data corruption for degraded array with slow disk
Details

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:

raid1readrequest readbalance raid1shouldreadfirst -> return false choosebestrdev -> normal disk is not recovered, return -1 choosebbrdev -> missing the checking of recovery, return the normal disk -> read unrecovered data

Root cause is that the checking of recovery is missing in choosebbrdev(). Hence add such checking to fix the problem.

Also fix similar problem in chooseslowrdev().

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
dfa8ecd167c1753d4fc24a517e1d79c603183c94
Fixed
2febf5fdbf5d9a52ddc3e986971c8609b1582d67
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
dfa8ecd167c1753d4fc24a517e1d79c603183c94
Fixed
c916ca35308d3187c9928664f9be249b22a3a701

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.10.1
v6.10.2
v6.10.3
v6.10.4
v6.10.5
v6.10.6
v6.8
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.9.0
Fixed
6.10.7