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 6B833259CA7 for ; Fri, 2 May 2025 15:57:36 +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=1746201456; cv=none; b=qe62s11F+DbOddJBr9aXvXv31O+nSPLeGXUWL6Weach6TDqmczoTlCIPGLetbIRFLPjrNjInQ0vKk1mgTL7YxpKxei0YU7TouWumaiwFRjY415dm7liy0z9Lf9Z4vtt8FkHPdEvI7J63AWTlDaNR346iA0N04AB1rPRnon32zmI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746201456; c=relaxed/simple; bh=ka49MZzzZweOCfcq+rR7u59U3lFMBTp1VRto98hMLYU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aqDKnHYREh+PknU8zQ68O0HfaNfgO+H4nftCbhYK0G0rWPPigADgeC1Juc5D9Fe9oyt7Gf+3TglVyKu0nEYa7aii3ERtWZAfrnYXZH2Zc3JbWA2PuQPqrmTRi/ivWKfaTDLDdUxzrcC0BEuOqkGTak8nU1v/GdjWbL1T0es2Huo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gXOoS+Ak; 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="gXOoS+Ak" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC683C4CEE4; Fri, 2 May 2025 15:57:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746201456; bh=ka49MZzzZweOCfcq+rR7u59U3lFMBTp1VRto98hMLYU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=gXOoS+AkqIFdUlh1oM3tR0OjGy8oScDV4TH5bbQgFNWiVlwVpK87MDjDNvUSqx+/F jzNM1lyRk41NxupH3zbAcF/BnfyA47ht2iIFAlPkyq2FppATkxEsJCgrDAUkCUnvYt XtEoOMm6WdvNRfDWHYskgmyLAWiTGAOb37AwBNGA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53063: Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work Date: Fri, 2 May 2025 17:55:28 +0200 Message-ID: <2025050210-CVE-2023-53063-a2c2@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=3403; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=P0sqxmaXDg3Sx//NzKCtjlupU5oWxKFzZJdUxxkDjrA=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkir+61fbrFIMwyj+dXUcWjv3qrn9xYKj7lv/Vkl3OF9 0PUMs76dsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBELKwZFpw4HHft4aykmlb9 z68//3NoYszriWZYsHm7xy0Hr7XFp3fUykY9VFsQv0XkFQA= 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: btsdio: fix use after free bug in btsdio_remove due to unfinished work In btsdio_probe, &data->work was bound with btsdio_work.In btsdio_send_frame, it was started by schedule_work. If we call btsdio_remove with an unfinished job, there may be a race condition and cause UAF bug on hdev. The Linux kernel CVE team has assigned CVE-2023-53063 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.24 with commit ddbaf13e3609442b64abb931ac21527772d87980 and fixed in 4.14.312 with commit 95eacef5692545f199fae4e52abfbfa273acb351 Issue introduced in 2.6.24 with commit ddbaf13e3609442b64abb931ac21527772d87980 and fixed in 4.19.280 with commit af4d48754d5517d33bac5e504ff1f1de0808e29e Issue introduced in 2.6.24 with commit ddbaf13e3609442b64abb931ac21527772d87980 and fixed in 5.4.240 with commit a18fb433ceb56e0787546a9d77056dd0f215e762 Issue introduced in 2.6.24 with commit ddbaf13e3609442b64abb931ac21527772d87980 and fixed in 5.10.177 with commit da3d3fdfb4d523c5da30e35a8dd90e04f0fd8962 Issue introduced in 2.6.24 with commit ddbaf13e3609442b64abb931ac21527772d87980 and fixed in 5.15.105 with commit 8efae2112d910d8e5166dd0a836791b08721eef1 Issue introduced in 2.6.24 with commit ddbaf13e3609442b64abb931ac21527772d87980 and fixed in 6.1.22 with commit cbf8deacb7053ce3e3fed64b277c6c6989e65bba Issue introduced in 2.6.24 with commit ddbaf13e3609442b64abb931ac21527772d87980 and fixed in 6.2.9 with commit c59c65a14e8f7d738429648833f3bb3f9df0513f Issue introduced in 2.6.24 with commit ddbaf13e3609442b64abb931ac21527772d87980 and fixed in 6.3 with commit 1e9ac114c4428fdb7ff4635b45d4f46017e8916f 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-53063 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/bluetooth/btsdio.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/95eacef5692545f199fae4e52abfbfa273acb351 https://git.kernel.org/stable/c/af4d48754d5517d33bac5e504ff1f1de0808e29e https://git.kernel.org/stable/c/a18fb433ceb56e0787546a9d77056dd0f215e762 https://git.kernel.org/stable/c/da3d3fdfb4d523c5da30e35a8dd90e04f0fd8962 https://git.kernel.org/stable/c/8efae2112d910d8e5166dd0a836791b08721eef1 https://git.kernel.org/stable/c/cbf8deacb7053ce3e3fed64b277c6c6989e65bba https://git.kernel.org/stable/c/c59c65a14e8f7d738429648833f3bb3f9df0513f https://git.kernel.org/stable/c/1e9ac114c4428fdb7ff4635b45d4f46017e8916f