CVE-2024-45023·Kernel vulnerability
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().
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.10.7
- Published
- 2024-09-11
Affected versions
From: 6.9
Until: 6.10.7
Fixed in: 6.10.7
How to fix this CVE
Update your Linux kernel to version 6.10.7 or later to resolve a data corruption issue in RAID1 arrays with degraded configurations and slow disks. The vulnerability allows unrecovered data to be read when recovery is still in progress, potentially leading to silent data corruption. Apply the kernel update immediately, especially if running RAID1 storage configurations in production environments.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check current kernel version: uname -r (must be 6.10.7 or later)
- Verify RAID1 configuration: cat /proc/mdstat (look for 'md' arrays in degraded state)
- Check for slow disk presence: mdadm --detail /dev/mdX (look for disks marked with 'S' or in recovery state)
- After patching, reboot and re-run uname -r to confirm 6.10.7 or later is active
FAQ
What is CVE-2024-45023?
A kernel bug in RAID1 read balancing logic where unrecovered data from a disk still in recovery can be read when the array is degraded, potentially causing data corruption. The issue stems from missing recovery status checks in the disk selection functions.
Is CVE-2024-45023 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities catalog and no public exploits are currently available. It requires local access and specific RAID1 hardware configurations to trigger.
What versions of Kernel are affected by CVE-2024-45023?
Linux kernel versions 6.9 through 6.10.6 are vulnerable. The fix is included in kernel 6.10.7 and all later versions.
How do I check if my server is vulnerable to CVE-2024-45023?
Run 'uname -r' and verify your kernel version; if it shows 6.9.x through 6.10.6 and you have RAID1 arrays, you are vulnerable. Also check 'cat /proc/mdstat' to see if any RAID1 arrays are in degraded or recovery state.
Does Defensia detect CVE-2024-45023?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2024-45023 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-45023. Free for 1 server.
Get started free