CVE-2023-53380
md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request
- Published
- Updated
- Reserved
- Assigned by
- Linux
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.15% · top 96% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Weakness
Affected products
- affected ee37d7314a32ab6809eacc3389bad0406c69a81f – < 45fa023b3334a7ae6f6c4eb977295804222dfa28
- affected ee37d7314a32ab6809eacc3389bad0406c69a81f – < 2990e2ece18dd4cca71b3109c80517ad94adb065
- affected ee37d7314a32ab6809eacc3389bad0406c69a81f – < f4368a462b1f9a8ecc2fdb09a28c3d4cad302a4f
- affected ee37d7314a32ab6809eacc3389bad0406c69a81f – < 222cc459d59857ee28a5366dc225ab42b22f9272
- affected ee37d7314a32ab6809eacc3389bad0406c69a81f – < b5015b97adda6a24dd3e713c63e521ecbeff25c6
- affected ee37d7314a32ab6809eacc3389bad0406c69a81f – < 144c7fd008e0072b0b565f1157eec618de54ca8a
- affected ee37d7314a32ab6809eacc3389bad0406c69a81f – < 34817a2441747b48e444cb0e05d84e14bc9443da
- affected 4.20
- unaffected < 4.20
- unaffected 5.4.251 – ≤ 5.4.*
- unaffected 5.10.188 – ≤ 5.10.*
- unaffected 5.15.121 – ≤ 5.15.*
- unaffected 6.1.39 – ≤ 6.1.*
- unaffected 6.3.13 – ≤ 6.3.*
- unaffected 6.4.4 – ≤ 6.4.*
- unaffected 6.5 – ≤ *
References (7)
- https://git.kernel.org/stable/c/45fa023b3334a7ae6f6c4eb977295804222dfa28 (opens in a new tab)
- https://git.kernel.org/stable/c/2990e2ece18dd4cca71b3109c80517ad94adb065 (opens in a new tab)
- https://git.kernel.org/stable/c/f4368a462b1f9a8ecc2fdb09a28c3d4cad302a4f (opens in a new tab)
- https://git.kernel.org/stable/c/222cc459d59857ee28a5366dc225ab42b22f9272 (opens in a new tab)
- https://git.kernel.org/stable/c/b5015b97adda6a24dd3e713c63e521ecbeff25c6 (opens in a new tab)
- https://git.kernel.org/stable/c/144c7fd008e0072b0b565f1157eec618de54ca8a (opens in a new tab)
- https://git.kernel.org/stable/c/34817a2441747b48e444cb0e05d84e14bc9443da (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-53380)Record last updated .