CVE-2023-53614

mm/ksm: fix race with VMA iteration and mm_struct teardown

No CVSS score yet EPSS 0.11%

Published 4 Oct 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2023-53614

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-53614 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:

mm/ksm: fix race with VMA iteration and mm_struct teardown

exit_mmap() will tear down the VMAs and maple tree with the mmap_lock held in write mode. Ensure that the maple tree is still valid by checking ksm_test_exit() after taking the mmap_lock in read mode, but before the for_each_vma() iterator dereferences a destroyed maple tree.

Since the maple tree is destroyed, the flags telling lockdep to check an external lock has been cleared. Skip the for_each_vma() iterator to avoid dereferencing a maple tree without the external lock flag, which would create a lockdep warning.

Exploitation

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

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from a5f18ba0727656bd1fe3bcdb0d563f81790f9a04, before 286b0cab31bac29960e5684f6fb331d42f03b363
affected from a5f18ba0727656bd1fe3bcdb0d563f81790f9a04, before b4f664ffd8f78c05a1fd542a28bc5a11e994c014
affected from a5f18ba0727656bd1fe3bcdb0d563f81790f9a04, before 6db504ce55bdbc575723938fc480713c9183f6a2
Other versions: unaffected
Linux
affected 6.1
unaffected before 6.1
unaffected from 6.1.22 up to and including 6.1.*
unaffected from 6.2.9 up to and including 6.2.*
unaffected 6.3 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-53614 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53614

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-53614
trivy image --scanners vuln IMAGE | grep CVE-2023-53614

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-53614 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.