# CVE-2023-53151: md/raid10: prevent soft lockup while flush writes

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2025-09-15T14:03:19.155Z
- **Modified:** 2026-06-17T06:44:23.720Z

## Who should check

- Anyone running Linux \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< f45b2fa7678ab385299de345f7e85d05caea386b; \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< 00ecb6fa67c0f772290c5ea5ae8b46eefd503b83; \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< d0345f7c7dbc5d42e4e6f1db99c1c1879d7b0eb5; \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< 634daf6b2c81015cc5e28bf694a6a94a50c641cd; \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< 84a578961b2566e475bfa8740beaf0abcc781a6f; \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< 1d467e10507167eb6dc2c281a87675b731955d86; \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< fbf50184190d55f8717bd29aa9530c399be96f30; \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< 010444623e7f4da6b4a4dd603a7da7469981e293
- Anyone running Linux 2.6.16

## Description

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

md/raid10: prevent soft lockup while flush writes

Currently, there is no limit for raid1/raid10 plugged bio. While flushing
writes, raid1 has cond\_resched() while raid10 doesn't, and too many
writes can cause soft lockup.

Follow up soft lockup can be triggered easily with writeback test for
raid10 with ramdisks:

watchdog: BUG: soft lockup - CPU\#10 stuck for 27s! \[md0\_raid10:1293\]
Call Trace:
 \<TASK\>
 call\_rcu+0x16/0x20
 put\_object+0x41/0x80
 \_\_delete\_object+0x50/0x90
 delete\_object\_full+0x2b/0x40
 kmemleak\_free+0x46/0xa0
 slab\_free\_freelist\_hook.constprop.0+0xed/0x1a0
 kmem\_cache\_free+0xfd/0x300
 mempool\_free\_slab+0x1f/0x30
 mempool\_free+0x3a/0x100
 bio\_free+0x59/0x80
 bio\_put+0xcf/0x2c0
 free\_r10bio+0xbf/0xf0
 raid\_end\_bio\_io+0x78/0xb0
 one\_write\_done+0x8a/0xa0
 raid10\_end\_write\_request+0x1b4/0x430
 bio\_endio+0x175/0x320
 brd\_submit\_bio+0x3b9/0x9b7 \[brd\]
 \_\_submit\_bio+0x69/0xe0
 submit\_bio\_noacct\_nocheck+0x1e6/0x5a0
 submit\_bio\_noacct+0x38c/0x7e0
 flush\_pending\_writes+0xf0/0x240
 raid10d+0xac/0x1ed0

Fix the problem by adding cond\_resched() to raid10 like what raid1 did.

Note that unlimited plugged bio still need to be optimized, for example,
in the case of lots of dirty pages writeback, this will take lots of
memory and io will spend a long time in plug, hence io latency is bad.

## Affected and fixed versions

- Linux: \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< f45b2fa7678ab385299de345f7e85d05caea386b; \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< 00ecb6fa67c0f772290c5ea5ae8b46eefd503b83; \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< d0345f7c7dbc5d42e4e6f1db99c1c1879d7b0eb5; \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< 634daf6b2c81015cc5e28bf694a6a94a50c641cd; \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< 84a578961b2566e475bfa8740beaf0abcc781a6f; \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< 1d467e10507167eb6dc2c281a87675b731955d86; \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< fbf50184190d55f8717bd29aa9530c399be96f30; \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< 010444623e7f4da6b4a4dd603a7da7469981e293 (cvelist)
- Linux: 2.6.16 (cvelist)

## Mitigation

- Upgrade Linux to 010444623e7f4da6b4a4dd603a7da7469981e293 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53151.md
Affected: Linux >= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, < f45b2fa7678ab385299de345f7e85d05caea386b; >= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, < 00ecb6fa67c0f772290c5ea5ae8b46eefd503b83; >= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, < d0345f7c7dbc5d42e4e6f1db99c1c1879d7b0eb5; >= 6cce3b23f6f8e974c00af7a…
Fixed in: Linux 00ecb6fa67c0f772290c5ea5ae8b46eefd503b83, Linux 634daf6b2c81015cc5e28bf694a6a94a50c641cd, Linux 84a578961b2566e475bfa8740beaf0abcc781a6f, Linux 1d467e10507167eb6dc2c281a87675b731955d86, Linux 010444623e7f4da6b4a4dd603a7da7469981e293

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-53151 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< f45b2fa7678ab385299de345f7e85d05caea386b; \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< 00ecb6fa67c0f772290c5ea5ae8b46eefd503b83; \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< d0345f7c7dbc5d42e4e6f1db99c1c1879d7b0eb5; \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< 634daf6b2c81015cc5e28bf694a6a94a50c641cd; \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< 84a578961b2566e475bfa8740beaf0abcc781a6f; \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< 1d467e10507167eb6dc2c281a87675b731955d86; \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< fbf50184190d55f8717bd29aa9530c399be96f30; \>= 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8, \< 010444623e7f4da6b4a4dd603a7da7469981e293; Linux 2.6.16.

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

Yes. Fixed in Linux 00ecb6fa67c0f772290c5ea5ae8b46eefd503b83, Linux 634daf6b2c81015cc5e28bf694a6a94a50c641cd, Linux 84a578961b2566e475bfa8740beaf0abcc781a6f, Linux 1d467e10507167eb6dc2c281a87675b731955d86, Linux 010444623e7f4da6b4a4dd603a7da7469981e293. Upgrade Linux to 010444623e7f4da6b4a4dd603a7da7469981e293 or later.

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

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

- patch: <https://git.kernel.org/stable/c/f45b2fa7678ab385299de345f7e85d05caea386b>
- patch: <https://git.kernel.org/stable/c/00ecb6fa67c0f772290c5ea5ae8b46eefd503b83>
- patch: <https://git.kernel.org/stable/c/d0345f7c7dbc5d42e4e6f1db99c1c1879d7b0eb5>
- patch: <https://git.kernel.org/stable/c/634daf6b2c81015cc5e28bf694a6a94a50c641cd>
- patch: <https://git.kernel.org/stable/c/84a578961b2566e475bfa8740beaf0abcc781a6f>
- patch: <https://git.kernel.org/stable/c/1d467e10507167eb6dc2c281a87675b731955d86>
- patch: <https://git.kernel.org/stable/c/fbf50184190d55f8717bd29aa9530c399be96f30>
- patch: <https://git.kernel.org/stable/c/010444623e7f4da6b4a4dd603a7da7469981e293>

## 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-53151>

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