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 E294913A894 for ; Mon, 24 Jun 2024 13:57:19 +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=1719237440; cv=none; b=f33o/pL+mOaFR1kNG8vVRE4STKJllnpuEOWBwqhITQxuj5jwUBmTiyJBvZyeU9TYX1llsZ0Nij8MR5+GDtJ1hl3kTLJm0qQ6eI/t5m0p9pXfPGCII9XmbgaySCO5asEqtVu1LdxEDBkYRXL/bIHnNgD2oppSnYjFy5WzFfnx898= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719237440; c=relaxed/simple; bh=3jv4dGZMMVUn3IZYlniONZwa9If9V7trVJrVAS54QqU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SxIhF54v99RUDEtV5WQbSEmirm/Inbckxg28eGUZppLpPGpQRlbOQvFCGKCfrzMtLqBC50QkYG0Ys/406ss1yvteqGuvAJlW8NX8uF//E+7yXzczxkyfWIZMWV6r8aXXHP7Fve+4KZBK5mCugvFebgb2B++GUgrWheVG6n0eOHs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=w8Yd1sqm; 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="w8Yd1sqm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5F058C2BBFC; Mon, 24 Jun 2024 13:57:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1719237439; bh=3jv4dGZMMVUn3IZYlniONZwa9If9V7trVJrVAS54QqU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=w8Yd1sqmmtE2jSSxY5jqcmqRYY63cEVka/rjCfTza/xu1qAVyRRyW4BXlBKaC1jve OIGgTsh5p1lBDQiVTByAgtYTS+mr4l4hUuAYnOU4bEvxK5firl77/qO9Vswx+8GbSj rcHN/uYz4GKOFq/S5DqWvxY+GCs4ULCQDd0m7aJg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-34030: PCI: of_property: Return error for int_map allocation failure Date: Mon, 24 Jun 2024 15:57:01 +0200 Message-ID: <2024062458-CVE-2024-34030-48f1@gregkh> X-Mailer: git-send-email 2.45.2 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=1970; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3jv4dGZMMVUn3IZYlniONZwa9If9V7trVJrVAS54QqU=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmV1dq/37vMDboUtaKL/5+zCOMXTefTtcp7GBZpMJ4Vu i6mUyDYEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABP5Ks4wh2NTq/oED9GHPEcM A6pFkw5LSC/YybBgyd7l97+pldx64sYpIejdE5hxazYHAA== 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: PCI: of_property: Return error for int_map allocation failure Return -ENOMEM from of_pci_prop_intr_map() if kcalloc() fails to prevent a NULL pointer dereference in this case. [bhelgaas: commit log] The Linux kernel CVE team has assigned CVE-2024-34030 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit 407d1a51921e and fixed in 6.6.33 with commit b5f31d1470c4 Issue introduced in 6.6 with commit 407d1a51921e and fixed in 6.9.4 with commit 598e4a37a2f8 Issue introduced in 6.6 with commit 407d1a51921e and fixed in 6.10-rc1 with commit e6f7d27df5d2 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-34030 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/pci/of_property.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/b5f31d1470c4fdfae368feeb389768ba8d24fb34 https://git.kernel.org/stable/c/598e4a37a2f8da9144ba1fab04320c32169b6d0d https://git.kernel.org/stable/c/e6f7d27df5d208b50cae817a91d128fb434bb12c