CVE-2023-53380

md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request

Medium · published September 18, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
3.7
In the wild
Unconfirmed
What it is

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

md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request

There are two check of 'mreplace' in raid10_sync_request(). In the first

check, 'need_replace' will be set and 'mreplace' will be used later if

no-Faulty 'mreplace' exists, In the second check, 'mreplace' will be

set to NULL if it is Faulty, but 'need_replace' will not be changed

accordingly. null-ptr-deref occurs if Faulty is set between two check.

Fix it by merging two checks into one. And replace 'need_replace' with

'mreplace' because their values are always the same.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00149 · 3.7th percentile
Published
2025-09-18T13:33Z
EPSS history
Timeline
  • 18 SEP 13:33Z
    md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request
    cvelistv5