lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025102211-CVE-2023-53697-3078@gregkh>
Date: Wed, 22 Oct 2025 15:24:36 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-53697: nvdimm: Fix memleak of pmu attr_groups in unregister_nvdimm_pmu()

From: Greg Kroah-Hartman <gregkh@...nel.org>

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

The Linux kernel CVE team has assigned CVE-2023-53697 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 5.18 with commit 0fab1ba6ad6ba1f76380f92ead95c6e861ef8116 and fixed in 6.1.53 with commit 500a6ff9c2a81348fe0f04e2deb758145e8ab94e
	Issue introduced in 5.18 with commit 0fab1ba6ad6ba1f76380f92ead95c6e861ef8116 and fixed in 6.4.16 with commit 4999f2ec5fde7c45e3ecafda5b78560cc1c7bdb5
	Issue introduced in 5.18 with commit 0fab1ba6ad6ba1f76380f92ead95c6e861ef8116 and fixed in 6.5.3 with commit 16259c80542ee8945aaa39cfc6a1809bcdc08ffe
	Issue introduced in 5.18 with commit 0fab1ba6ad6ba1f76380f92ead95c6e861ef8116 and fixed in 6.6 with commit 85ae42c72142346645e63c33835da947dfa008b3

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2023-53697
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/nvdimm/nd_perf.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ