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 62E0254723 for ; Tue, 9 Dec 2025 01:33:27 +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=1765244007; cv=none; b=BX4YlYBn77I7XMo8/55QMA3AWvQ9zwthjGv8uEEC0WpLxXv3zjmOWduoaYv9wozlRwgZ9gLgeGOdckY0Jo6QOxfnpRJQ2pqtxKbo1rkTPbdVAeKLC/XcPkDbBs6wbvh+Anj9ZjoghXB2T6SuRsXrXzxJkrLOSCTsb69Zrnn82QQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765244007; c=relaxed/simple; bh=hISzRpli1g1/BSGK3mbSTtDRk63wcremoioimpi/G/I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=g+YQ6smOqGnwXcVmjq/oBR38s5UYYiI5ytJDoNY/XZG91Sf4Ooc7i0zKgU6tqJs4Ff67OTclSEcQM7ZpNRh17KMEfLq8xK2N9ThUpVM1q5GPSbuvLiypfCYIn4OhtFBhpWY2qcvuJQUhpEVSJFRMfj01nMcQKwsScil/K01/Tzk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kPD5ep9M; 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="kPD5ep9M" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C6F21C4CEF1; Tue, 9 Dec 2025 01:33:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765244007; bh=hISzRpli1g1/BSGK3mbSTtDRk63wcremoioimpi/G/I=; h=From:To:Cc:Subject:Date:Reply-To:From; b=kPD5ep9MaK+KB2OrMm/n2+YaXk+wk4KU60d2aT6K23LOI8rBequPbj4UVvHF8UrOo TYi1qBDc/IG3EnHpKHohG7ZWYX9cGBOuPz6FYQAAC76AaLQytqRFarjmal/12GP0KZ MH6SMIuo+vdjZtKkpkpr+ijT8VvXTpjZQJuCFJt0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53828: Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_add_adv_monitor() Date: Tue, 9 Dec 2025 10:31:12 +0900 Message-ID: <2025120952-CVE-2023-53828-57cf@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2684; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=8n3bW2aPMbKzMXhvY7zl/LV6HlVXdvtnvXTWt9yWRDU=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnm1WdaTItmyhXucyt7am5nVOiwd+2xtz3Gi5sndpkeO sq3cbp7RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExEZQfDfMc7+ROOdu5cXdRs sufWhriYGZ+ePGZYcLCu6HhAdzP3VIPkXwIbtS4w7xAXAgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: Avoid use-after-free in dbg for hci_add_adv_monitor() KSAN reports use-after-free in hci_add_adv_monitor(). While adding an adv monitor, hci_add_adv_monitor() calls -> msft_add_monitor_pattern() calls -> msft_add_monitor_sync() calls -> msft_le_monitor_advertisement_cb() calls in an error case -> hci_free_adv_monitor() which frees the *moniter. This is referenced by bt_dev_dbg() in hci_add_adv_monitor(). Fix the bt_dev_dbg() by using handle instead of monitor->handle. The Linux kernel CVE team has assigned CVE-2023-53828 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit b747a83690c8f53bc7a3f75899415c699b2c51aa and fixed in 6.1.53 with commit 81d8e9f59df63b8358751c1ffed9f1cf5c796909 Issue introduced in 6.0 with commit b747a83690c8f53bc7a3f75899415c699b2c51aa and fixed in 6.4.16 with commit aafda69d4807f5edf3558c9534be9b911774e63a Issue introduced in 6.0 with commit b747a83690c8f53bc7a3f75899415c699b2c51aa and fixed in 6.5.3 with commit 8d66f7ced51cb924bc90278d6a0a26a52877271a Issue introduced in 6.0 with commit b747a83690c8f53bc7a3f75899415c699b2c51aa and fixed in 6.6 with commit a2bcd2b63271a93a695fabbfbf459c603d956d48 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-53828 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_core.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/81d8e9f59df63b8358751c1ffed9f1cf5c796909 https://git.kernel.org/stable/c/aafda69d4807f5edf3558c9534be9b911774e63a https://git.kernel.org/stable/c/8d66f7ced51cb924bc90278d6a0a26a52877271a https://git.kernel.org/stable/c/a2bcd2b63271a93a695fabbfbf459c603d956d48