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 6665822EF5 for ; Mon, 20 May 2024 09:43:31 +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=1716198211; cv=none; b=f7hb2xuj60sEKFtUTL8i3KrfBpRklQDTOXA4qFGtUZBdnv2eeMpfMEW5Jxuq6wK9Ive2DctuSQcvkLtgWGN2dI+9ceev3+cuUpBO9/LlMVr8XCfypRcfsYdYUBfdli+ROHWoWPQRG8Q8aDURQHbh8rajhozPvDPZDiqR+dPcONc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716198211; c=relaxed/simple; bh=+fnWXTeJEy3VsA8wv43JyWwAN500vDyoDsrtE/NooZ4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=coDE7seElyoGB66UPxZaOaMLLxfce4nfu9piheFDbjiz0bvhSqFnmOohobsljbFwE5TLPJfX4hQ0xGLd4SSt7ez/6vf/SZupU1/Ak3UmD5aZ3R27AfZDLhj5yFI+AuEPr9zwB+1r4d5FciBLKI3p7gWelmdIdAy5ys/7gxHoHMo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=x8YdvLu5; 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="x8YdvLu5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1CAFC2BD10; Mon, 20 May 2024 09:43:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716198211; bh=+fnWXTeJEy3VsA8wv43JyWwAN500vDyoDsrtE/NooZ4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=x8YdvLu5uPZcbSrBHTFjFcBsRF3ovH3sIiv+I9pD1lcTUIZSXrlWKLbR2HVBD5rVZ 0vWZCUbt6DshK3nMxdRW601YSOyMjno13g+UdGXewaGKdhQ1pM2CcjQbNbbDw3WFdK RnC3XpoOc31i6SNNA1PEpoKbJOARFzhs+MVgeViI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35978: Bluetooth: Fix memory leak in hci_req_sync_complete() Date: Mon, 20 May 2024 11:42:43 +0200 Message-ID: <2024052025-CVE-2024-35978-adaa@gregkh> X-Mailer: git-send-email 2.45.1 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=2796; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+fnWXTeJEy3VsA8wv43JyWwAN500vDyoDsrtE/NooZ4=; b=owGbwMvMwCRo6H6F97bub03G02pJDGne0ox3Uv85tahv/5r091LWm5i+Ndtfd4fcUCg5NTvn+ /yQ1mvPO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiGmwMC06+/qnjwvLclNE9 ZJumX5P4pdtLvjPMFTwR9PboI/u6wMSM9wtWlH9isJ/CDgA= 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: Fix memory leak in hci_req_sync_complete() In 'hci_req_sync_complete()', always free the previous sync request state before assigning reference to a new one. The Linux kernel CVE team has assigned CVE-2024-35978 to this issue. Affected and fixed versions =========================== Issue introduced in 4.1 with commit f60cb30579d3 and fixed in 4.19.313 with commit 89a32741f421 Issue introduced in 4.1 with commit f60cb30579d3 and fixed in 5.4.275 with commit 4beab84fbb50 Issue introduced in 4.1 with commit f60cb30579d3 and fixed in 5.10.216 with commit 8478394f76c7 Issue introduced in 4.1 with commit f60cb30579d3 and fixed in 5.15.156 with commit 75193678cce9 Issue introduced in 4.1 with commit f60cb30579d3 and fixed in 6.1.87 with commit 66fab1e120b3 Issue introduced in 4.1 with commit f60cb30579d3 and fixed in 6.6.28 with commit 9ab5e44b9bac Issue introduced in 4.1 with commit f60cb30579d3 and fixed in 6.8.7 with commit e4cb8382fff6 Issue introduced in 4.1 with commit f60cb30579d3 and fixed in 6.9 with commit 45d355a926ab 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-35978 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_request.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/89a32741f4217856066c198a4a7267bcdd1edd67 https://git.kernel.org/stable/c/4beab84fbb50df3be1d8f8a976e6fe882ca65cb2 https://git.kernel.org/stable/c/8478394f76c748862ef179a16f651f752bdafaf0 https://git.kernel.org/stable/c/75193678cce993aa959e7764b6df2f599886dd06 https://git.kernel.org/stable/c/66fab1e120b39f8f47a94186ddee36006fc02ca8 https://git.kernel.org/stable/c/9ab5e44b9bac946bd49fd63264a08cd1ea494e76 https://git.kernel.org/stable/c/e4cb8382fff6706436b66eafd9c0ee857ff0a9f5 https://git.kernel.org/stable/c/45d355a926ab40f3ae7bc0b0a00cb0e3e8a5a810