# CVE-2023-53848: md/raid5-cache: fix a deadlock in r5l\_exit\_log()

> 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.28% (percentile 13, 2026-11-26)
- **Published:** 2025-12-09T01:30:11.895Z
- **Modified:** 2026-06-17T06:46:10.730Z

## Who should check

- Anyone running Linux \>= b13015af94cf405f73ff64ce0797269554020c37, \< ac9e103f282a7854f3274ef5ff0742fbbe8d7d6b; \>= b13015af94cf405f73ff64ce0797269554020c37, \< 71cf23271f015a57038bdc4669952096f9fe5500; \>= b13015af94cf405f73ff64ce0797269554020c37, \< c406984738215dc20ac2dc63e49d70f20797730e; \>= b13015af94cf405f73ff64ce0797269554020c37, \< a705b11b358dee677aad80630e7608b2d5f56691
- Anyone running Linux 6.0

## Description

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

md/raid5-cache: fix a deadlock in r5l\_exit\_log()

Commit b13015af94cf ("md/raid5-cache: Clear conf-\>log after finishing
work") introduce a new problem:

// caller hold reconfig\_mutex
r5l\_exit\_log
 flush\_work(&log-\>disable\_writeback\_work)
			r5c\_disable\_writeback\_async
			 wait\_event
			  /\*
			   \* conf-\>log is not NULL, and mddev\_trylock()
			   \* will fail, wait\_event() can never pass.
			   \*/
 conf-\>log = NULL

Fix this problem by setting 'config-\>log' to NULL before wake\_up() as it
used to be, so that wait\_event() from r5c\_disable\_writeback\_async() can
exist. In the meantime, move forward md\_unregister\_thread() so that
null-ptr-deref this commit fixed can still be fixed.

## Affected and fixed versions

- Linux: \>= b13015af94cf405f73ff64ce0797269554020c37, \< ac9e103f282a7854f3274ef5ff0742fbbe8d7d6b; \>= b13015af94cf405f73ff64ce0797269554020c37, \< 71cf23271f015a57038bdc4669952096f9fe5500; \>= b13015af94cf405f73ff64ce0797269554020c37, \< c406984738215dc20ac2dc63e49d70f20797730e; \>= b13015af94cf405f73ff64ce0797269554020c37, \< a705b11b358dee677aad80630e7608b2d5f56691 (cvelist)
- Linux: 6.0 (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-53848. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53848.md
Affected: Linux >= b13015af94cf405f73ff64ce0797269554020c37, < ac9e103f282a7854f3274ef5ff0742fbbe8d7d6b; >= b13015af94cf405f73ff64ce0797269554020c37, < 71cf23271f015a57038bdc4669952096f9fe5500; >= b13015af94cf405f73ff64ce0797269554020c37, < c406984738215dc20ac2dc63e49d70f20797730e; >= b13015af94cf405f73ff64c…
Fixed in: Linux 71cf23271f015a57038bdc4669952096f9fe5500

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= b13015af94cf405f73ff64ce0797269554020c37, \< ac9e103f282a7854f3274ef5ff0742fbbe8d7d6b; \>= b13015af94cf405f73ff64ce0797269554020c37, \< 71cf23271f015a57038bdc4669952096f9fe5500; \>= b13015af94cf405f73ff64ce0797269554020c37, \< c406984738215dc20ac2dc63e49d70f20797730e; \>= b13015af94cf405f73ff64ce0797269554020c37, \< a705b11b358dee677aad80630e7608b2d5f56691; Linux 6.0.

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

Yes. Fixed in Linux 71cf23271f015a57038bdc4669952096f9fe5500. No fix listed yet: follow the vendor advisory.

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

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/ac9e103f282a7854f3274ef5ff0742fbbe8d7d6b>
- other: <https://git.kernel.org/stable/c/71cf23271f015a57038bdc4669952096f9fe5500>
- other: <https://git.kernel.org/stable/c/c406984738215dc20ac2dc63e49d70f20797730e>
- other: <https://git.kernel.org/stable/c/a705b11b358dee677aad80630e7608b2d5f56691>

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

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