# CVE-2023-53832: md/raid10: fix null-ptr-deref in raid10\_sync\_request

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-09T01:29:47.513Z
- **Modified:** 2026-06-17T06:46:09.047Z

## Who should check

- Anyone running Linux \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< 38d33593260536840b49fd1dcac9aedfd14a9d42; \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< 14964127be77884003976a392c9faa9ebaabbbe1; \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< bdbf104b1c91fbf38f82c522ebf75429f094292a; \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< 68695084077e3de9d3e94e09238ace2b6f246446; \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< b50fd1c3d9d0175aa29ff2706ef36cc178bc356a; \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< 99b503e4edc5938885d839cf0e7571963f75d800; \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< 9e9efc77efd1956cc244af975240f2513d78a371; \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< a405c6f0229526160aa3f177f65e20c86fce84c5
- Anyone running Linux 3.10

## Description

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

md/raid10: fix null-ptr-deref in raid10\_sync\_request

init\_resync() inits mempool and sets conf-\>have\_replacemnt at the beginning
of sync, close\_sync() frees the mempool when sync is completed.

After \[1\] recovery might be skipped and init\_resync() is called but
close\_sync() is not. null-ptr-deref occurs with r10bio-\>dev\[i\].repl\_bio.

The following is one way to reproduce the issue.

  1) create a array, wait for resync to complete, mddev-\>recovery\_cp is set
     to MaxSector.
  2) recovery is woken and it is skipped. conf-\>have\_replacement is set to
     0 in init\_resync(). close\_sync() not called.
  3) some io errors and rdev A is set to WantReplacement.
  4) a new device is added and set to A's replacement.
  5) recovery is woken, A have replacement, but conf-\>have\_replacemnt is
     0. r10bio-\>dev\[i\].repl\_bio will not be alloced and null-ptr-deref
     occurs.

Fix it by not calling init\_resync() if recovery skipped.

\[1\] commit 7e83ccbecd60 ("md/raid10: Allow skipping recovery when clean arrays are assembled")

## Affected and fixed versions

- Linux: \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< 38d33593260536840b49fd1dcac9aedfd14a9d42; \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< 14964127be77884003976a392c9faa9ebaabbbe1; \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< bdbf104b1c91fbf38f82c522ebf75429f094292a; \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< 68695084077e3de9d3e94e09238ace2b6f246446; \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< b50fd1c3d9d0175aa29ff2706ef36cc178bc356a; \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< 99b503e4edc5938885d839cf0e7571963f75d800; \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< 9e9efc77efd1956cc244af975240f2513d78a371; \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< a405c6f0229526160aa3f177f65e20c86fce84c5 (cvelist)
- Linux: 3.10 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53832. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53832.md
Affected: Linux >= 7e83ccbecd608b971f340e951c9e84cd0343002f, < 38d33593260536840b49fd1dcac9aedfd14a9d42; >= 7e83ccbecd608b971f340e951c9e84cd0343002f, < 14964127be77884003976a392c9faa9ebaabbbe1; >= 7e83ccbecd608b971f340e951c9e84cd0343002f, < bdbf104b1c91fbf38f82c522ebf75429f094292a; >= 7e83ccbecd608b971f340e9…
Fixed in: Linux 38d33593260536840b49fd1dcac9aedfd14a9d42, Linux 14964127be77884003976a392c9faa9ebaabbbe1, Linux 68695084077e3de9d3e94e09238ace2b6f246446, Linux 99b503e4edc5938885d839cf0e7571963f75d800, Linux 9e9efc77efd1956cc244af975240f2513d78a371

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53832 being exploited?

There is no confirmed exploitation: CVE-2023-53832 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53832?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-53832?

Linux \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< 38d33593260536840b49fd1dcac9aedfd14a9d42; \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< 14964127be77884003976a392c9faa9ebaabbbe1; \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< bdbf104b1c91fbf38f82c522ebf75429f094292a; \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< 68695084077e3de9d3e94e09238ace2b6f246446; \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< b50fd1c3d9d0175aa29ff2706ef36cc178bc356a; \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< 99b503e4edc5938885d839cf0e7571963f75d800; \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< 9e9efc77efd1956cc244af975240f2513d78a371; \>= 7e83ccbecd608b971f340e951c9e84cd0343002f, \< a405c6f0229526160aa3f177f65e20c86fce84c5; Linux 3.10.

### Is there a fix for CVE-2023-53832?

Yes. Fixed in Linux 38d33593260536840b49fd1dcac9aedfd14a9d42, Linux 14964127be77884003976a392c9faa9ebaabbbe1, Linux 68695084077e3de9d3e94e09238ace2b6f246446, Linux 99b503e4edc5938885d839cf0e7571963f75d800, Linux 9e9efc77efd1956cc244af975240f2513d78a371. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-53832?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/38d33593260536840b49fd1dcac9aedfd14a9d42>
- other: <https://git.kernel.org/stable/c/14964127be77884003976a392c9faa9ebaabbbe1>
- other: <https://git.kernel.org/stable/c/bdbf104b1c91fbf38f82c522ebf75429f094292a>
- other: <https://git.kernel.org/stable/c/68695084077e3de9d3e94e09238ace2b6f246446>
- other: <https://git.kernel.org/stable/c/b50fd1c3d9d0175aa29ff2706ef36cc178bc356a>
- other: <https://git.kernel.org/stable/c/99b503e4edc5938885d839cf0e7571963f75d800>
- other: <https://git.kernel.org/stable/c/9e9efc77efd1956cc244af975240f2513d78a371>
- other: <https://git.kernel.org/stable/c/a405c6f0229526160aa3f177f65e20c86fce84c5>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53832>

HTML: <https://flawdb.com/CVE-2023-53832> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53832>
