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: <2024110747-CVE-2024-50159-3dec@gregkh>
Date: Thu,  7 Nov 2024 10:34:59 +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-50159: firmware: arm_scmi: Fix the double free in scmi_debugfs_common_setup()

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

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

firmware: arm_scmi: Fix the double free in scmi_debugfs_common_setup()

Clang static checker(scan-build) throws below warning:
  |  drivers/firmware/arm_scmi/driver.c:line 2915, column 2
  |        Attempt to free released memory.

When devm_add_action_or_reset() fails, scmi_debugfs_common_cleanup()
will run twice which causes double free of 'dbg->name'.

Remove the redundant scmi_debugfs_common_cleanup() to fix this problem.

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


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

	Issue introduced in 6.3 with commit c3d4aed763ce and fixed in 6.6.59 with commit 6d91d07913ae
	Issue introduced in 6.3 with commit c3d4aed763ce and fixed in 6.11.6 with commit fb324fdaf546
	Issue introduced in 6.3 with commit c3d4aed763ce and fixed in 6.12-rc4 with commit 39b13dce1a91

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-50159
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/firmware/arm_scmi/driver.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/6d91d07913aee90556362d648d6a28a1eda419dc
	https://git.kernel.org/stable/c/fb324fdaf546bf14bc4c17e0037bca6cb952b121
	https://git.kernel.org/stable/c/39b13dce1a91cdfc3bec9238f9e89094551bd428

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ