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 B27FB33DD for ; Wed, 1 May 2024 12:58:09 +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=1714568289; cv=none; b=Q1VsV2KCfeYQjJVuxXEyFuT+iiX3AztqAfNt04Xu9cyox1qvP/N7BseBpUa/QeXmz30txDaea1k0JImvTvKgjBN1L/+VEVOconLCNI5+xe50jIimhCOUAy+2cziACBIIj6sRdOoISKkjkjq5NCeeYuoKnMOTmwJo9wEIP7WKpX4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714568289; c=relaxed/simple; bh=yR3Iq/u6mbLv4MVz4qZ06Png5oIFQ/JJJnLxUG1N42g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Od9tymee4414szVL9RF3iU42Z7iUE3F4TJ4cUdzmkvAqpRTRvw/bU7eutVukq3veyoHb/2C2cQhxeZGTPosKynIFE9KppwWwCLxPdqOnJzaRubIbkZ3B/mGa1KcR01PQcsUGleq4KXbDdNsOgUrNEsrdxZNAX4oiwoTEdMZkIA4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MinLDiB7; 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="MinLDiB7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 388A3C113CC; Wed, 1 May 2024 12:58:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714568289; bh=yR3Iq/u6mbLv4MVz4qZ06Png5oIFQ/JJJnLxUG1N42g=; h=From:To:Cc:Subject:Date:Reply-to:From; b=MinLDiB7ku7pYjb6clbK3lTu3PPTpJQ0KWcdZ9H1jJxOy4U4+8hMEHlzCA0+6QNQ0 P8mzyA7GrnF+h5Wxo8u65Fuuxk1EpDAVgX2LBPMjy0u2bXsP3ogrK5cCvPxco5Y/AO FBmzSrH54k6jXESVkOb6yVJocye7iwf84+QjR6PI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-27048: wifi: brcm80211: handle pmk_op allocation failure Date: Wed, 1 May 2024 14:57:33 +0200 Message-ID: <2024050114-CVE-2024-27048-016f@gregkh> X-Mailer: git-send-email 2.44.0 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=2281; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=yR3Iq/u6mbLv4MVz4qZ06Png5oIFQ/JJJnLxUG1N42g=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlGNlqqbE9++WbP0HV4tXXfP3GmmXJrLX7dOfOg5XyQo fHmJiX9jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiI2FaGeXrn4+v/+x9+/HTG ulabnnhWVgv1Lob5CUmP7/YonTgzZ5maZAnr+t+xya8rAA== 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: wifi: brcm80211: handle pmk_op allocation failure The kzalloc() in brcmf_pmksa_v3_op() will return null if the physical memory has run out. As a result, if we dereference the null value, the null pointer dereference bug will happen. Return -ENOMEM from brcmf_pmksa_v3_op() if kzalloc() fails for pmk_op. The Linux kernel CVE team has assigned CVE-2024-27048 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4 with commit a96202acaea4 and fixed in 6.6.23 with commit df62e22c2e27 Issue introduced in 6.4 with commit a96202acaea4 and fixed in 6.7.11 with commit 9975908315c1 Issue introduced in 6.4 with commit a96202acaea4 and fixed in 6.8.2 with commit 6138a82f3bcc Issue introduced in 6.4 with commit a96202acaea4 and fixed in 6.9-rc1 with commit b4152222e04c 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-27048 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/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.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/df62e22c2e27420e8990a4f09e30d7bf56c2036f https://git.kernel.org/stable/c/9975908315c13bae2f2ed5ba92870fa935180b0e https://git.kernel.org/stable/c/6138a82f3bccfc67ed7ac059493579fc326c02e5 https://git.kernel.org/stable/c/b4152222e04cb8afeeca239c90e3fcaf4c553b42