CVE-2023-53697
nvdimm: Fix memleak of pmu attr_groups in unregister_nvdimm_pmu()
Check your servers for CVE-2023-53697
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-53697 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
nvdimm: Fix memleak of pmu attr_groups in unregister_nvdimm_pmu()
Memory pointed by 'nd_pmu->pmu.attr_groups' is allocated in function 'register_nvdimm_pmu' and is lost after 'kfree(nd_pmu)' call in function 'unregister_nvdimm_pmu'.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.4% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 0fab1ba6ad6ba1f76380f92ead95c6e861ef8116, before 500a6ff9c2a81348fe0f04e2deb758145e8ab94e affected from 0fab1ba6ad6ba1f76380f92ead95c6e861ef8116, before 4999f2ec5fde7c45e3ecafda5b78560cc1c7bdb5 affected from 0fab1ba6ad6ba1f76380f92ead95c6e861ef8116, before 16259c80542ee8945aaa39cfc6a1809bcdc08ffe affected from 0fab1ba6ad6ba1f76380f92ead95c6e861ef8116, before 85ae42c72142346645e63c33835da947dfa008b3
Other versions: unaffected
|
| Linux |
affected 5.18 unaffected before 5.18 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-53697 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53697
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-53697
trivy image --scanners vuln IMAGE | grep CVE-2023-53697
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
- https://git.kernel.org/stable/c/500a6ff9c2a81348fe0f04e2deb758145e8ab94e git.kernel.org
- https://git.kernel.org/stable/c/4999f2ec5fde7c45e3ecafda5b78560cc1c7bdb5 git.kernel.org
- https://git.kernel.org/stable/c/16259c80542ee8945aaa39cfc6a1809bcdc08ffe git.kernel.org
- https://git.kernel.org/stable/c/85ae42c72142346645e63c33835da947dfa008b3 git.kernel.org
Source: the record CVE-2023-53697 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.
Vulnpocalypse