[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025030610-CVE-2024-58066-d537@gregkh>
Date: Thu, 6 Mar 2025 16:54:19 +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-58066: clk: mmp: pxa1908-apbcp: Fix a NULL vs IS_ERR() check
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
clk: mmp: pxa1908-apbcp: Fix a NULL vs IS_ERR() check
The devm_kzalloc() function doesn't return error pointers, it returns
NULL on error. Update the check to match.
The Linux kernel CVE team has assigned CVE-2024-58066 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.13 with commit a89233dbd4df521094caa0dbcd03338259f8ead6 and fixed in 6.13.2 with commit 2b3a36fb572caf9fb72f158be328395b1c938bf7
Issue introduced in 6.13 with commit a89233dbd4df521094caa0dbcd03338259f8ead6 and fixed in 6.14-rc1 with commit 3acea81be689b77b3ceac6ff345ff0366734d967
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-58066
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/clk/mmp/clk-pxa1908-apbcp.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/2b3a36fb572caf9fb72f158be328395b1c938bf7
https://git.kernel.org/stable/c/3acea81be689b77b3ceac6ff345ff0366734d967
Powered by blists - more mailing lists