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: <2024052227-CVE-2021-47466-ff03@gregkh>
Date: Wed, 22 May 2024 08:23:32 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2021-47466: mm, slub: fix potential memoryleak in kmem_cache_open()

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

mm, slub: fix potential memoryleak in kmem_cache_open()

In error path, the random_seq of slub cache might be leaked.  Fix this
by using __kmem_cache_release() to release all the relevant resources.

The Linux kernel CVE team has assigned CVE-2021-47466 to this issue.


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

	Issue introduced in 4.8 with commit 210e7a43fa90 and fixed in 5.4.156 with commit 4f5d1c29cfab
	Issue introduced in 4.8 with commit 210e7a43fa90 and fixed in 5.10.76 with commit 568f906340b4
	Issue introduced in 4.8 with commit 210e7a43fa90 and fixed in 5.14.15 with commit 42b81946e3ac
	Issue introduced in 4.8 with commit 210e7a43fa90 and fixed in 5.15 with commit 9037c57681d2

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-2021-47466
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:
	mm/slub.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/4f5d1c29cfab5cb0ab885059818751bdef32e2bb
	https://git.kernel.org/stable/c/568f906340b43120abd6fcc67c37396482f85930
	https://git.kernel.org/stable/c/42b81946e3ac9ea0372ba16e05160dc11e02694f
	https://git.kernel.org/stable/c/9037c57681d25e4dcc442d940d6dbe24dd31f461

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ