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 469451E573A for ; Mon, 21 Oct 2024 20:11:38 +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=1729541499; cv=none; b=V2HuXPlAtAKZ2HObCqf9oKj2bGoDklT4zPLwUVu6tpCoZe9NS+dS8jxNpDzt4sj+7PlwbGQHNP5MiK98p3DsOeWIvVXjxRb4auWIekNBOMDGd16e8oNm0/QSBH+YR+2D9YE3td+OwUcs1/4wUfCeMxb9DSSxaR/Fv82dQg9pSDI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729541499; c=relaxed/simple; bh=t+0+ZHfhyTiyp7qjUVvxJwPcVT1uu4/hwWJdv9KD+yQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XX+WpgN+7iSD6Ysui+NDEl3PSJlXKV2QIQrMg8CUMVB01WxnRv3WMTwLfSHqQTn5KEHwqrRMdYHxl2A/f5aUmB63p6gWRe6/VBF5TLGuXUxIlqAVikAJL6OJSak0obxhFqFygcyFWsO4vFzUlvI21MQ3zbO1nkRlbK5s81i4WOM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=J7lIuROU; 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="J7lIuROU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 74DB9C4CEC7; Mon, 21 Oct 2024 20:11:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729541498; bh=t+0+ZHfhyTiyp7qjUVvxJwPcVT1uu4/hwWJdv9KD+yQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=J7lIuROUiH61LIKvpLn/QKBSb9OC2yrq0AnFlaJNe4ODcFTGnURsGE2tbgB3nZmgz we4zt/AwMg7JQc4RRX2xvYduopChxWohcRJG9JKSNT40pk0ygARGieWi8YLHNoy3jX EHOflv14RyMJ+jtNdqWc8A/QDiJKqh9HQ/1tDE5g= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48982: Bluetooth: Fix crash when replugging CSR fake controllers Date: Mon, 21 Oct 2024 22:06:14 +0200 Message-ID: <2024102146-CVE-2022-48982-717d@gregkh> X-Mailer: git-send-email 2.47.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=4068; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=t+0+ZHfhyTiyp7qjUVvxJwPcVT1uu4/hwWJdv9KD+yQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDOliW6Sqzk1+4rwxRTTdIVThuLyCptiNS05bTdiYxRIbV PoK2cI6YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCJS0xgW7JrLdl4xq/9N3yvm 6o+smXqbzr1XZpifIGjg9evjRDahed/3+HxIj3xy9ZIYAA== 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 crash when replugging CSR fake controllers It seems fake CSR 5.0 clones can cause the suspend notifier to be registered twice causing the following kernel panic: [ 71.986122] Call Trace: [ 71.986124] [ 71.986125] blocking_notifier_chain_register+0x33/0x60 [ 71.986130] hci_register_dev+0x316/0x3d0 [bluetooth 99b5497ea3d09708fa1366c1dc03288bf3cca8da] [ 71.986154] btusb_probe+0x979/0xd85 [btusb e1e0605a4f4c01984a4b9c8ac58c3666ae287477] [ 71.986159] ? __pm_runtime_set_status+0x1a9/0x300 [ 71.986162] ? ktime_get_mono_fast_ns+0x3e/0x90 [ 71.986167] usb_probe_interface+0xe3/0x2b0 [ 71.986171] really_probe+0xdb/0x380 [ 71.986174] ? pm_runtime_barrier+0x54/0x90 [ 71.986177] __driver_probe_device+0x78/0x170 [ 71.986180] driver_probe_device+0x1f/0x90 [ 71.986183] __device_attach_driver+0x89/0x110 [ 71.986186] ? driver_allows_async_probing+0x70/0x70 [ 71.986189] bus_for_each_drv+0x8c/0xe0 [ 71.986192] __device_attach+0xb2/0x1e0 [ 71.986195] bus_probe_device+0x92/0xb0 [ 71.986198] device_add+0x422/0x9a0 [ 71.986201] ? sysfs_merge_group+0xd4/0x110 [ 71.986205] usb_set_configuration+0x57a/0x820 [ 71.986208] usb_generic_driver_probe+0x4f/0x70 [ 71.986211] usb_probe_device+0x3a/0x110 [ 71.986213] really_probe+0xdb/0x380 [ 71.986216] ? pm_runtime_barrier+0x54/0x90 [ 71.986219] __driver_probe_device+0x78/0x170 [ 71.986221] driver_probe_device+0x1f/0x90 [ 71.986224] __device_attach_driver+0x89/0x110 [ 71.986227] ? driver_allows_async_probing+0x70/0x70 [ 71.986230] bus_for_each_drv+0x8c/0xe0 [ 71.986232] __device_attach+0xb2/0x1e0 [ 71.986235] bus_probe_device+0x92/0xb0 [ 71.986237] device_add+0x422/0x9a0 [ 71.986239] ? _dev_info+0x7d/0x98 [ 71.986242] ? blake2s_update+0x4c/0xc0 [ 71.986246] usb_new_device.cold+0x148/0x36d [ 71.986250] hub_event+0xa8a/0x1910 [ 71.986255] process_one_work+0x1c4/0x380 [ 71.986259] worker_thread+0x51/0x390 [ 71.986262] ? rescuer_thread+0x3b0/0x3b0 [ 71.986264] kthread+0xdb/0x110 [ 71.986266] ? kthread_complete_and_exit+0x20/0x20 [ 71.986268] ret_from_fork+0x1f/0x30 [ 71.986273] [ 71.986274] ---[ end trace 0000000000000000 ]--- [ 71.986284] btusb: probe of 2-1.6:1.0 failed with error -17 The Linux kernel CVE team has assigned CVE-2022-48982 to this issue. Affected and fixed versions =========================== Fixed in 5.10.159 with commit 549b46f8130e Fixed in 5.15.83 with commit a49894a5ac36 Fixed in 6.0.13 with commit dc8fa6570dea Fixed in 6.1 with commit b5ca338751ad 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-2022-48982 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/549b46f8130effccf168293270bb3b1d5da529cc https://git.kernel.org/stable/c/a49894a5ac3656f1a4f0f6b110460060e8026bf8 https://git.kernel.org/stable/c/dc8fa6570deadb70c3fb74d7cd8ce38849feaed0 https://git.kernel.org/stable/c/b5ca338751ad4783ec8d37b5d99c3e37b7813e59