# CVE-2023-53697: nvdimm: Fix memleak of pmu attr_groups in unregister_nvdimm_pmu()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-10-22T13:23:37.757Z
- Modified: 2026-10-28T19:10:00.193Z
- Assigned by: Linux

## 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'.

(As written by CVE List.)

## Affected

- Linux Linux: from 0fab1ba6ad6ba1f76380f92ead95c6e861ef8116 before 500a6ff9c2a81348fe0f04e2deb758145e8ab94e; from 0fab1ba6ad6ba1f76380f92ead95c6e861ef8116 before 4999f2ec5fde7c45e3ecafda5b78560cc1c7bdb5; from 0fab1ba6ad6ba1f76380f92ead95c6e861ef8116 before 16259c80542ee8945aaa39cfc6a1809bcdc08ffe; from 0fab1ba6ad6ba1f76380f92ead95c6e861ef8116 before 85ae42c72142346645e63c33835da947dfa008b3; 5.18 (not affected: before 5.18; from 6.1.53 up to 6.1.*; from 6.4.16 up to 6.4.*; from 6.5.3 up to 6.5.*; from 6.6 up to *)

## References

- <https://git.kernel.org/stable/c/500a6ff9c2a81348fe0f04e2deb758145e8ab94e>
- <https://git.kernel.org/stable/c/4999f2ec5fde7c45e3ecafda5b78560cc1c7bdb5>
- <https://git.kernel.org/stable/c/16259c80542ee8945aaa39cfc6a1809bcdc08ffe>
- <https://git.kernel.org/stable/c/85ae42c72142346645e63c33835da947dfa008b3>

## Sources

- CVE List: [CVE-2023-53697](https://www.cve.org/CVERecord?id=CVE-2023-53697), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-53697](https://nvd.nist.gov/vuln/detail/CVE-2023-53697), Public domain, modified 2026-10-28

---

Page: https://cve.day/CVE-2023-53697 · Whole record: https://cve.day/CVE-2023-53697.json · Rebuilt by cve.day 2026-11-25T22:58:35.012Z
