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: <2024122736-CVE-2024-53230-5851@gregkh>
Date: Fri, 27 Dec 2024 14:53:16 +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-53230: cpufreq: CPPC: Fix possible null-ptr-deref for cppc_get_cpu_cost()

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

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

cpufreq: CPPC: Fix possible null-ptr-deref for cppc_get_cpu_cost()

cpufreq_cpu_get_raw() may return NULL if the cpu is not in
policy->cpus cpu mask and it will cause null pointer dereference,
so check NULL for cppc_get_cpu_cost().

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


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

	Issue introduced in 5.19 with commit 740fcdc2c20ecf855b36b919d7fa1b872b5a7eae and fixed in 6.1.120 with commit 1975b481f644f8f841d9c188e3c214fce187f18b
	Issue introduced in 5.19 with commit 740fcdc2c20ecf855b36b919d7fa1b872b5a7eae and fixed in 6.6.64 with commit f05ef81db63889f6f14eb77fd140dac6cedb6f7f
	Issue introduced in 5.19 with commit 740fcdc2c20ecf855b36b919d7fa1b872b5a7eae and fixed in 6.11.11 with commit afd22d9839359829776abb55cc9bc4946e888704
	Issue introduced in 5.19 with commit 740fcdc2c20ecf855b36b919d7fa1b872b5a7eae and fixed in 6.12.2 with commit 6be57617a38b3f33266acecdb3c063c1c079aaf7
	Issue introduced in 5.19 with commit 740fcdc2c20ecf855b36b919d7fa1b872b5a7eae and fixed in 6.13-rc1 with commit 1a1374bb8c5926674973d849feed500bc61ad535

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-53230
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/cpufreq/cppc_cpufreq.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/1975b481f644f8f841d9c188e3c214fce187f18b
	https://git.kernel.org/stable/c/f05ef81db63889f6f14eb77fd140dac6cedb6f7f
	https://git.kernel.org/stable/c/afd22d9839359829776abb55cc9bc4946e888704
	https://git.kernel.org/stable/c/6be57617a38b3f33266acecdb3c063c1c079aaf7
	https://git.kernel.org/stable/c/1a1374bb8c5926674973d849feed500bc61ad535

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ