CVE-2023-53848

md/raid5-cache: fix a deadlock in r5l_exit_log()

No CVSS score yet EPSS 0.24%

Published 9 Dec 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2023-53848

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53848 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.6% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from b13015af94cf405f73ff64ce0797269554020c37, before ac9e103f282a7854f3274ef5ff0742fbbe8d7d6b
affected from b13015af94cf405f73ff64ce0797269554020c37, before 71cf23271f015a57038bdc4669952096f9fe5500
affected from b13015af94cf405f73ff64ce0797269554020c37, before c406984738215dc20ac2dc63e49d70f20797730e
affected from b13015af94cf405f73ff64ce0797269554020c37, before a705b11b358dee677aad80630e7608b2d5f56691
Other versions: unaffected
Linux
affected 6.0
unaffected before 6.0
unaffected from 6.1.53 up to and including 6.1.*
unaffected from 6.4.16 up to and including 6.4.*
unaffected from 6.5.3 up to and including 6.5.*
unaffected 6.6 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53848 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53848

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-53848
trivy image --scanners vuln IMAGE | grep CVE-2023-53848

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-53848 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.