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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025091557-CVE-2022-50294-7c87@gregkh>
Date: Mon, 15 Sep 2025 16:45:56 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50294: wifi: libertas: fix memory leak in lbs_init_adapter()

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

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

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

wifi: libertas: fix memory leak in lbs_init_adapter()

When kfifo_alloc() failed in lbs_init_adapter(), cmd buffer is not
released. Add free memory to processing error path.

The Linux kernel CVE team has assigned CVE-2022-50294 to this issue.


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

	Issue introduced in 2.6.26 with commit 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 and fixed in 4.14.308 with commit 4c102ad59bfa66c0f6662af64fa3b9007b02c20f
	Issue introduced in 2.6.26 with commit 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 and fixed in 4.19.276 with commit 98e0ff6980c89239d9e5d3da90d791c2383dc23a
	Issue introduced in 2.6.26 with commit 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 and fixed in 5.4.235 with commit 23b34e08de5c2380414c9d3c33e8235094bcccae
	Issue introduced in 2.6.26 with commit 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 and fixed in 5.10.173 with commit 9c8f50c7433bdfba1588831c413136ecc3f29f99
	Issue introduced in 2.6.26 with commit 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 and fixed in 5.15.99 with commit 037f84c0bfae5c436c651d0e804264e2648010ec
	Issue introduced in 2.6.26 with commit 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 and fixed in 6.1.16 with commit 653d13a73e498d0bb6aeaf689aaa960defa7878b
	Issue introduced in 2.6.26 with commit 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 and fixed in 6.2.3 with commit d46c33f667b05c22bc5c5b69aa730349c4b6fe31
	Issue introduced in 2.6.26 with commit 7919b89c8276d657976d4d4d6b7cb58ea1aa08c3 and fixed in 6.3 with commit 16a03958618fb91bb1bc7077cf3211055162cc2f

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-2022-50294
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/net/wireless/marvell/libertas/main.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/4c102ad59bfa66c0f6662af64fa3b9007b02c20f
	https://git.kernel.org/stable/c/98e0ff6980c89239d9e5d3da90d791c2383dc23a
	https://git.kernel.org/stable/c/23b34e08de5c2380414c9d3c33e8235094bcccae
	https://git.kernel.org/stable/c/9c8f50c7433bdfba1588831c413136ecc3f29f99
	https://git.kernel.org/stable/c/037f84c0bfae5c436c651d0e804264e2648010ec
	https://git.kernel.org/stable/c/653d13a73e498d0bb6aeaf689aaa960defa7878b
	https://git.kernel.org/stable/c/d46c33f667b05c22bc5c5b69aa730349c4b6fe31
	https://git.kernel.org/stable/c/16a03958618fb91bb1bc7077cf3211055162cc2f

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ