Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 018D5148FF5 for ; Thu, 6 Mar 2025 15:54:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741276483; cv=none; b=p4JwXtfNh8R8ot/o6KGoxTKubQZ3PCnBI5BMaSp9AkZ5xTAzEFfIEh46Jw5P8+tnxTb6/hVnwGw5iDmRa2goJHrEc8va4RdzVsv9rt5OU2xniLFbZ4kQWSn1Yh5GYAmO2NSfcO0bYkitSYxrq2yl+bjHPx0tbNC+PJvZrOjc71A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741276483; c=relaxed/simple; bh=kS3UIFECmMiZqy9EGBas1cGSN+i1OpBuLhwQYhTgl40=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CvFwYbFBvt80HbfffbQG5sw5riaM2uihhO2gsxSaz5LKV91dXqzu9n+BgaL26mGCEOyjSCJXnH37nAwpfGZvVIRioG6/lU4j2FeRVCWaW/vKrL+6Wj/EMkZTUkVEYF5JUVbKIcNE8ROzpTZCSEHoJb0iiNgNB+kQ57vq/DDerIk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QIuVAdNA; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="QIuVAdNA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2DFE6C4CEE0; Thu, 6 Mar 2025 15:54:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1741276481; bh=kS3UIFECmMiZqy9EGBas1cGSN+i1OpBuLhwQYhTgl40=; h=From:To:Cc:Subject:Date:Reply-to:From; b=QIuVAdNAvIW0NsehaRsBFNmZsV3TlfQfZo/UIFfc9mXX99d7uNgvswlInpfFrW004 YsmD377XOYdSY04rCMVeG6mSem8BOjead/WhwIAZ4DXQekSGsLbb60dRrl/xMEGxLy EH8Xf6UF8M9p/ZEic8Bz76U9DDTNXb/zC8k6kbJc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-58066: clk: mmp: pxa1908-apbcp: Fix a NULL vs IS_ERR() check Date: Thu, 6 Mar 2025 16:54:19 +0100 Message-ID: <2025030610-CVE-2024-58066-d537@gregkh> X-Mailer: git-send-email 2.48.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1889; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=kS3UIFECmMiZqy9EGBas1cGSN+i1OpBuLhwQYhTgl40=; b=owGbwMvMwCRo6H6F97bub03G02pJDOknjyrFCLYd+HTNaGL+/eDJ6xaGy7UWy55dn2hdv6FsQ 57QvaaCjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiI9GOGBQ22/mdun9uQfu9V x92ORXffv2gr2M6w4LTcZYEY2YJ4A79LD75VZDLXCU35CwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit 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