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 B62682147F4 for ; Thu, 27 Mar 2025 16:46:33 +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=1743093993; cv=none; b=uZWQwlrlqfSsyI2L3Qn8V0tjNbuTwtjjGh35BSw5boX7Jx5O04LFaby3N2oEU4oOm2cx9Habua+4ux/FYAgRfAQ5TlyncEdTXrd5HSpigUaNjJ+cvXWf+OhlHNnBs1/OOAd1UJoQmjij2Uka+9SU+JxqM0H/wJS6poblW+1P4hk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743093993; c=relaxed/simple; bh=Yz4IQKOg0iLK+hL4TJMid8Oiv/Ax2Cqb/fVbLDRVYmU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=u7ewazEoFAeLLepQhTzm/NO52ztNS6SntNEKHORIPafcH3AlheCu1e8dgCPqkqQkylmjQRprVx0weec5fy9HKKpYraYUFbFBxOc73rQsGdsdW3112pIL7go+jiDHtnqVFYOHbT16qdruSJQ/YoEFY1h9ZOCgQ+wI9zLScA8ouO4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ftiiohKK; 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="ftiiohKK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24B2DC4CEDD; Thu, 27 Mar 2025 16:46:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1743093993; bh=Yz4IQKOg0iLK+hL4TJMid8Oiv/Ax2Cqb/fVbLDRVYmU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ftiiohKKmMAZZZzn+ATbSZb2KkTcf0hu1oO/zkzB5lDlvaYB8de/RfL90oN1/j3Xt 2sK4PvacBPdaAydTWlsNnv8UV69q3fMQwZ7ox5vsbFPKzILv94nTT+DH/1vog4RdtF aDGwYLi/T0Pj23gE/xXRnxf1EQA6Bqn1UvZQ+5xA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53017: Bluetooth: hci_sync: fix memory leak in hci_update_adv_data() Date: Thu, 27 Mar 2025 17:44:04 +0100 Message-ID: <2025032716-CVE-2023-53017-8dd9@gregkh> X-Mailer: git-send-email 2.49.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=1978; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Yz4IQKOg0iLK+hL4TJMid8Oiv/Ax2Cqb/fVbLDRVYmU=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlPG1R/mIg0bI4+N+fAmu1bmzT/Cv507cy+uW2GlcMht /KJvvmZHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR1TwM8+u9hWp4H15bPJN/ 3rmL2xXuc0oHzGeYZ/NP8mPe+y/f/4Qdid/8R2fn9pjfOQA= 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: hci_sync: fix memory leak in hci_update_adv_data() When hci_cmd_sync_queue() failed in hci_update_adv_data(), inst_ptr is not freed, which will cause memory leak, convert to use ERR_PTR/PTR_ERR to pass the instance to callback so no memory needs to be allocated. The Linux kernel CVE team has assigned CVE-2023-53017 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1 with commit 651cd3d65b0f76a2198fcf3a80ce5d53dd267717 and fixed in 6.1.9 with commit 8ac6043bd3e5b58d30f50737aedc2e58e8087ad5 Issue introduced in 6.1 with commit 651cd3d65b0f76a2198fcf3a80ce5d53dd267717 and fixed in 6.2 with commit 1ed8b37cbaf14574c779064ef1372af62e8ba6aa 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-53017 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/hci_sync.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/8ac6043bd3e5b58d30f50737aedc2e58e8087ad5 https://git.kernel.org/stable/c/1ed8b37cbaf14574c779064ef1372af62e8ba6aa