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: <2024110931-CVE-2024-50235-14eb@gregkh>
Date: Sat,  9 Nov 2024 11:15:43 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-50235: wifi: cfg80211: clear wdev->cqm_config pointer on free

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

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

wifi: cfg80211: clear wdev->cqm_config pointer on free

When we free wdev->cqm_config when unregistering, we also
need to clear out the pointer since the same wdev/netdev
may get re-registered in another network namespace, then
destroyed later, running this code again, which results in
a double-free.

The Linux kernel CVE team has assigned CVE-2024-50235 to this issue.


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

	Issue introduced in 6.1.57 with commit c797498e860e and fixed in 6.1.116 with commit ba392e1355ba
	Issue introduced in 6.6 with commit 37c20b2effe9 and fixed in 6.6.60 with commit 6c44abb2d4c3
	Issue introduced in 6.6 with commit 37c20b2effe9 and fixed in 6.11.7 with commit 64e4c45d23cd
	Issue introduced in 6.6 with commit 37c20b2effe9 and fixed in 6.12-rc6 with commit d5fee261dfd9
	Issue introduced in 6.5.7 with commit 32fb9b7d98c3

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-2024-50235
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:
	net/wireless/core.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/ba392e1355ba74b1d4fa11b85f71ab6ed7ecc058
	https://git.kernel.org/stable/c/6c44abb2d4c3262737d5d67832daebc8cf48b8c9
	https://git.kernel.org/stable/c/64e4c45d23cd7f6167f69cc2d2877bc7f54292e5
	https://git.kernel.org/stable/c/d5fee261dfd9e17b08b1df8471ac5d5736070917

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ