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 CD1CA209668 for ; Thu, 6 Mar 2025 15:54:38 +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=1741276478; cv=none; b=J2tfNzB9nNtd5t1qBhJD4D+PgyETHirOrP44skhtap4mbAJkQGkKYzyuGYqVNjy4TOmJD6zEsG3Ud9VFhCWr+fhJ0SfVzbanSbHllTT2wquFkxaN22YMN1F4H5QzC3FYxBPe21AsOiLKrJLtq5WeN4Rdhj7bCkNktuyvg8UkZec= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741276478; c=relaxed/simple; bh=QeGDIsG8IReYXd5+Orpw9PV7r0vRKq18fdriswlXYkE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MjRqUv1T4iMBtpAZ7zmCBbxPatvGbK2fOzP3z6FIgu/UK3PqUOPCt/lVTkQsYd07mti/m/Kf+u1YiJsZdT/POH+4bwFL/oDwXbVcxRcA91/pujoY1VNlV5/fNCSyi8Cw+9uaMAQzZ5amUS0C7bYF1/Ta1bVVyIrJLBb3fKY5Gm0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kTWp7U+Y; 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="kTWp7U+Y" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51CDBC4CEE0; Thu, 6 Mar 2025 15:54:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1741276478; bh=QeGDIsG8IReYXd5+Orpw9PV7r0vRKq18fdriswlXYkE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=kTWp7U+YjmAHlDTi/0hZRMiCvflOP/xmMK7O2RdxexdKoLfBeYu3uPYeOD/KKYici amplgOXKYTfc3j2ENQoPVUaPKpXvKs6LgdBmucKrSgb0FMqcKz0th5Pfo+LuxvBiH9 nLUibZ6m67Oc/R14B4+VdcGqi1MHeUBa7cCyqWqY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-58065: clk: mmp: pxa1908-apbc: Fix NULL vs IS_ERR() check Date: Thu, 6 Mar 2025 16:54:18 +0100 Message-ID: <2025030610-CVE-2024-58065-a049@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=1858; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=QeGDIsG8IReYXd5+Orpw9PV7r0vRKq18fdriswlXYkE=; b=owGbwMvMwCRo6H6F97bub03G02pJDOknjyod7j9Xc0z6+LtJrj+Fn278s2Yq24LC0C1z9HTyH HYYb7ZS74hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ7HnMMJulPUdwZaVwROzG g65eGgdVO2okNRjmh++428rrEM2/vtXV/V7P2cT/T16fAgA= 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-apbc: Fix NULL vs IS_ERR() check The devm_kzalloc() function returns NULL on error, not error pointers. Fix the check. The Linux kernel CVE team has assigned CVE-2024-58065 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 51ce5591927389985451c0875f576701664f0a38 and fixed in 6.13.2 with commit 6628f7f88de5f65f01adef5a63c707cb49d0fddb Issue introduced in 6.13 with commit 51ce5591927389985451c0875f576701664f0a38 and fixed in 6.14-rc1 with commit e5ca5d7b4d7c29246d957dc45d63610584ae3a54 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-58065 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-apbc.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/6628f7f88de5f65f01adef5a63c707cb49d0fddb https://git.kernel.org/stable/c/e5ca5d7b4d7c29246d957dc45d63610584ae3a54