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 3D4E31F7580 for ; Thu, 18 Sep 2025 13:35:58 +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=1758202559; cv=none; b=iyXHUT9iRXIcR6t16GaUjjhrWxLRTHFX5xskEFKH7ZlEGOetWsQWy51v2XgG9BGh3gEvWQoKbWvzDMEHiJ0lHQ2NJmeACq3UYfWAtxr5N6RRtbhej/Yg2fno+0UDrprG75R0QCmh8++PMe0AbfiThTVvGd88uHCpY25s+oIp+q4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758202559; c=relaxed/simple; bh=6b0WSZuG625M2HZXDgTcuBTnUBjZwyWaDWYcahrauog=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VqhXywIMPyy4tfDmiVrF9IIQ47b2ryuxENEOqGpIp6ZSfUAYb0HLn06x1AebSZV1E0a8oFEh4NOKtHoKkfBOK+/CwDUdEHyjEXO20elk/r0pDoz0B2l3fNNvS2ISO83tZQOzN2uPo15/ul1fP/1tVTS6fc56wvHfkqZQOVKKB8Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BYZaD8de; 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="BYZaD8de" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 74B69C4CEE7; Thu, 18 Sep 2025 13:35:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758202558; bh=6b0WSZuG625M2HZXDgTcuBTnUBjZwyWaDWYcahrauog=; h=From:To:Cc:Subject:Date:Reply-to:From; b=BYZaD8de7X6yaRMOVPjTn+BGHEQ4EdmR+A/QUZYMZWbkSiVVJuJSadlOcCswjJJ4C UzPfBZgvJcdPYsc/IKnh34W5TVEJDryiNqZgHIflm6g1aCRuKDkBFST2dbvoeQ0NV/ IOV2CRYjFL4fAMD1g0C9rjmW/mHtPWQE04R8DnyE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53386: Bluetooth: Fix potential use-after-free when clear keys Date: Thu, 18 Sep 2025 15:34:31 +0200 Message-ID: <2025091857-CVE-2023-53386-8ab2@gregkh> X-Mailer: git-send-email 2.51.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=2815; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=yFlojO/T1FuxYZHW2cylUByNg09ZoG+9TdTI2EKWa+g=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlnuFzP/vzr6KDzp8pmshhb4dF7dy1mT2dxV5h9h+FP+ 8T0dUzdHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARM2eGeeaOF3Pm2xV/1r/W Gb/ZWD9hsW68PcP81Omn9r7SrGQK5Ktv8HlbvtfnpFQfAA== 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: Fix potential use-after-free when clear keys Similar to commit c5d2b6fa26b5 ("Bluetooth: Fix use-after-free in hci_remove_ltk/hci_remove_irk"). We can not access k after kfree_rcu() call. The Linux kernel CVE team has assigned CVE-2023-53386 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit d7d41682efc25d58b5bd8b80e85e3c9ce586635c and fixed in 5.10.195 with commit e87da6a0ac6e631454e7da53a76aa9fe44aaa5dd Issue introduced in 5.7 with commit d7d41682efc25d58b5bd8b80e85e3c9ce586635c and fixed in 5.15.132 with commit 942d8cefb022f384d5424f8b90c7878f3f93726f Issue introduced in 5.7 with commit d7d41682efc25d58b5bd8b80e85e3c9ce586635c and fixed in 6.1.53 with commit 94617b736c25091b60e514e2e7aeafcbbee6b700 Issue introduced in 5.7 with commit d7d41682efc25d58b5bd8b80e85e3c9ce586635c and fixed in 6.4.16 with commit da19f35868dfbecfff4f81166c054d2656cb1be4 Issue introduced in 5.7 with commit d7d41682efc25d58b5bd8b80e85e3c9ce586635c and fixed in 6.5.3 with commit 35cc42f04bc49f0656f6840cb7451b3df6049649 Issue introduced in 5.7 with commit d7d41682efc25d58b5bd8b80e85e3c9ce586635c and fixed in 6.6 with commit 3673952cf0c6cf81b06c66a0b788abeeb02ff3ae 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-53386 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/e87da6a0ac6e631454e7da53a76aa9fe44aaa5dd https://git.kernel.org/stable/c/942d8cefb022f384d5424f8b90c7878f3f93726f https://git.kernel.org/stable/c/94617b736c25091b60e514e2e7aeafcbbee6b700 https://git.kernel.org/stable/c/da19f35868dfbecfff4f81166c054d2656cb1be4 https://git.kernel.org/stable/c/35cc42f04bc49f0656f6840cb7451b3df6049649 https://git.kernel.org/stable/c/3673952cf0c6cf81b06c66a0b788abeeb02ff3ae