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 02B975B696 for ; Fri, 17 May 2024 14:27:15 +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=1715956036; cv=none; b=ErPGMg66QNoFvTnqT9Use7QdUGWt2ytoY0YT3LoiMansom/xoe80ui5xk5G4ItSnCiGXniqHEIdg8aNRjAxy+fXNkxGjI7QbkBgpMDfxUhPpnBmfSPSD5tEk7mSbyoz/Bw5uy4wyhD+3fCB+ASegThxME/i3lQPaB23B7vJVgL0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715956036; c=relaxed/simple; bh=UCwQDyZH5b76HuAHQ02Tg7ShPRtd0moSwZB31iSllS4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=V3z00gdq6DGweL0foCumJvVlIOgHdtu1UjMQmfhiC81yGlzxIy5IR2u4tOcc1JRmucqNcb01K/svYUFSHifcfEgzV0JedDWZ8xTN8PUCSzmsDuEhgM0zA0uAB0KOTrxiXslJQVJPREsreCIeZOiw2tVyCkRylVF4QbiyzelmuiQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=e5tpA1pc; 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="e5tpA1pc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F973C2BD10; Fri, 17 May 2024 14:27:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715956035; bh=UCwQDyZH5b76HuAHQ02Tg7ShPRtd0moSwZB31iSllS4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=e5tpA1pc0Ckf408VZg1rYuFfz9O23b5OPmIfmkSCA+Naa3z1ZlidEJbGNCKcuFWQq yI1w80UhYG/glt9XiRJWiayP9tMU4uLIjpnwoZ91iji7VvuMMh+x5o0dZvgRyLWPRo ropdl2+gxu23tQ9Cgi8c0y9neW8JE+b896J+cISI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52686: powerpc/powernv: Add a null pointer check in opal_event_init() Date: Fri, 17 May 2024 16:26:59 +0200 Message-ID: <2024051752-CVE-2023-52686-4a08@gregkh> X-Mailer: git-send-email 2.45.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=2810; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UCwQDyZH5b76HuAHQ02Tg7ShPRtd0moSwZB31iSllS4=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnumTo9LQdaw+r91iTd//tt1469ycFBL3cd+q7k+imAc ZL53bWZHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRBCaGBUs6t8yftjV5eqri 388pbInPhXy0TzEsOPXPc+b2Dubvjt8aFNgfJLTdW8FZCAA= 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: powerpc/powernv: Add a null pointer check in opal_event_init() kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. The Linux kernel CVE team has assigned CVE-2023-52686 to this issue. Affected and fixed versions =========================== Issue introduced in 4.11 with commit 2717a33d6074 and fixed in 4.19.306 with commit 8422d179cf46 Issue introduced in 4.11 with commit 2717a33d6074 and fixed in 5.4.268 with commit e93d7cf4c1dd Issue introduced in 4.11 with commit 2717a33d6074 and fixed in 5.10.209 with commit e6ad05e3ae9c Issue introduced in 4.11 with commit 2717a33d6074 and fixed in 5.15.148 with commit c0b111ea786d Issue introduced in 4.11 with commit 2717a33d6074 and fixed in 6.1.75 with commit 9a523e1da6d8 Issue introduced in 4.11 with commit 2717a33d6074 and fixed in 6.6.14 with commit a14c55eb461d Issue introduced in 4.11 with commit 2717a33d6074 and fixed in 6.7.2 with commit e08c2e275fa1 Issue introduced in 4.11 with commit 2717a33d6074 and fixed in 6.8 with commit 8649829a1dd2 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-2023-52686 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: arch/powerpc/platforms/powernv/opal-irqchip.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/8422d179cf46889c15ceff9ede48c5bfa4e7f0b4 https://git.kernel.org/stable/c/e93d7cf4c1ddbcd846739e7ad849f955a4f18031 https://git.kernel.org/stable/c/e6ad05e3ae9c84c5a71d7bb2d44dc845ae7990cf https://git.kernel.org/stable/c/c0b111ea786ddcc8be0682612830796ece9436c7 https://git.kernel.org/stable/c/9a523e1da6d88c2034f946adfa4f74b236c95ca9 https://git.kernel.org/stable/c/a14c55eb461d630b836f80591d8caf1f74e62877 https://git.kernel.org/stable/c/e08c2e275fa1874de945b87093f925997722ee42 https://git.kernel.org/stable/c/8649829a1dd25199bbf557b2621cedb4bf9b3050