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 DCF0073478 for ; Mon, 26 Aug 2024 07:12:26 +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=1724656347; cv=none; b=ps3+J6bP9AG3UE8+9e7cqRtzQnIZjwJsVBYv8xYCpi1kr9TVoF/1Ko11j8q41oEveBR/jezieIDqjiNShbV2ap9lds4+j3//ZRXdRCzdloB5jqhQmmxGmGGVS92R4Neq48/caLJxeH7yu9ZKfr6UZsdQyZBU/sTwm50ozHiRTCk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724656347; c=relaxed/simple; bh=Ov0SwwmR/CkSFLtjfTShzFdWe3AtwxV3r4qMUzajLmk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZGXOGUpVkochfQyk5riYW1q+fHU+5gMMKNitIO+wmsjmOE/BlYct5XcYm5nF11kEle3QXT2iP/D9lmzyX27IMizeDJo9L3VdenoTQpmSmHawyMIqNuc9oXBqq7EeIsXNjVaLsJiV4VYtSU0DhpWbSbkv4rwPN8XdbuZKjXLegLQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1HVh0rdI; 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="1HVh0rdI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F295BC8CDC4; Mon, 26 Aug 2024 07:12:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1724656346; bh=Ov0SwwmR/CkSFLtjfTShzFdWe3AtwxV3r4qMUzajLmk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=1HVh0rdIsStakOCjv7rAARAFAUbEu9G2/pOeHK5gIaQ9rvhF0zBmAT8L18H9ctWM4 dibJcanUK7B7U1HMjNjyy/eRFJXn9BoEmtmOQ+2sA6wjSIFoVqINTSizSI6KjAVEtO fFe1NvMv1jHJAZbY1E/vweSdu/T8yTLfRKLgcbZw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-43884: Bluetooth: MGMT: Add error handling to pair_device() Date: Mon, 26 Aug 2024 09:12:22 +0200 Message-ID: <2024082621-CVE-2024-43884-43fa@gregkh> X-Mailer: git-send-email 2.46.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=1640; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Ov0SwwmR/CkSFLtjfTShzFdWe3AtwxV3r4qMUzajLmk=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlntK5yiahsl/nQ4HZ8FWfVNN81pdev/9cMnjBj497L6 cXRYlPSO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAid88wLNgrF5R/yO3Ziv6T JSd636Rwff5RU8UwT5ehT9DgeWTNUfl/G1WN0sy4CuYoAQA= 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: Bluetooth: MGMT: Add error handling to pair_device() hci_conn_params_add() never checks for a NULL value and could lead to a NULL pointer dereference causing a crash. Fixed by adding error handling in the function. The Linux kernel CVE team has assigned CVE-2024-43884 to this issue. Affected and fixed versions =========================== Issue introduced in 4.3 with commit 5157b8a503fa and fixed in 6.11-rc5 with commit 538fd3921afa 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-43884 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: net/bluetooth/mgmt.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/538fd3921afac97158d4177139a0ad39f056dbb2