CVE-2023-53380

Source
https://cve.org/CVERecord?id=CVE-2023-53380
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53380.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53380
Downstream
Related
Published
2025-09-18T13:33:25.383Z
Modified
2026-04-11T12:46:46.235319Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request
Details

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

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

There are two check of 'mreplace' in raid10syncrequest(). In the first check, 'needreplace' 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 'needreplace' 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53380.json",
    "cna_assigner": "Linux"
}
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
ee37d7314a32ab6809eacc3389bad0406c69a81f
Fixed
45fa023b3334a7ae6f6c4eb977295804222dfa28
Fixed
2990e2ece18dd4cca71b3109c80517ad94adb065
Fixed
f4368a462b1f9a8ecc2fdb09a28c3d4cad302a4f
Fixed
222cc459d59857ee28a5366dc225ab42b22f9272
Fixed
b5015b97adda6a24dd3e713c63e521ecbeff25c6
Fixed
144c7fd008e0072b0b565f1157eec618de54ca8a
Fixed
34817a2441747b48e444cb0e05d84e14bc9443da

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53380.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.251
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.188
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.121
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.39
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.3.13
Type
ECOSYSTEM
Events
Introduced
6.4.0
Fixed
6.4.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53380.json"