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

- Priority: **Insufficient evidence**
- Reason: No CVSS vector published; no exploitation reported by the 5 checked sources
- Next step: Check the vendor advisory
- Status: published
- Published: 2025-12-09 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2023-53848, DEBIAN-CVE-2023-53848
- Record: https://cvemate.com/vulnerability/CVE-2023-53848 · JSON: https://cvemate.com/vulnerability/CVE-2023-53848/json

## Description

```text
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.
```

## Signals

- CVSS: none published
- EPSS: 0.244%, percentile 16.621%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 87)

- debian linux (Debian): \< 6.1.55-1 \| \< 6.5.3-1
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-6.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-edge (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/ac9e103f282a7854f3274ef5ff0742fbbe8d7d6b>
- <https://git.kernel.org/stable/c/71cf23271f015a57038bdc4669952096f9fe5500>
- <https://git.kernel.org/stable/c/c406984738215dc20ac2dc63e49d70f20797730e>
- <https://git.kernel.org/stable/c/a705b11b358dee677aad80630e7608b2d5f56691>
- <https://ubuntu.com/security/CVE-2023-53848>
- <https://www.cve.org/CVERecord?id=CVE-2023-53848>
- <https://git.kernel.org/linus/a705b11b358dee677aad80630e7608b2d5f56691>
- <https://security-tracker.debian.org/tracker/CVE-2023-53848>

---

Data as of 2026-12-06T04:33:08.064Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
