From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BCCFAC433EF for ; Mon, 11 Oct 2021 07:13:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9FDC260EFE for ; Mon, 11 Oct 2021 07:13:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234280AbhJKHP3 (ORCPT ); Mon, 11 Oct 2021 03:15:29 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:50222 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231163AbhJKHPZ (ORCPT ); Mon, 11 Oct 2021 03:15:25 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 36CCD2202D; Mon, 11 Oct 2021 07:13:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1633936405; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tLKM0kPjNB6bx9ldkBzxPzVj2ouG2ehJ3LhAQVkIfNA=; b=xQ1traNPdgobXCzyaC1HiYgdIxsL4t+2/6c6XkTtmZIOms9/3BIF0nw/Gzl/VKAQEMkzFj OvdU2Ki+Sc1Mw4RbwC2HPgNrZVxg/MzqEegQYFaeLK9aiT3pO9M9tXTAmqj9ZVN5jIRyTK G9/M1/oBsX3IUa3BxsO6Iqhw5irLWd8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1633936405; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tLKM0kPjNB6bx9ldkBzxPzVj2ouG2ehJ3LhAQVkIfNA=; b=qqaRUiWoJtxlz24NmY8uaTUbNYkeE7TpaberqfoVttPCz2eiMe+7/00k0Hui30kUkraxQI c5+LYEegNooW3VDQ== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 5BF21A3B8A; Mon, 11 Oct 2021 07:13:24 +0000 (UTC) Date: Mon, 11 Oct 2021 09:13:24 +0200 Message-ID: From: Takashi Iwai To: Salvatore Bonaccorso Cc: Tetsuo Handa , Luiz Augusto von Dentz , LinMa , "linux-bluetooth@vger.kernel.org" , Marcel Holtmann , Johan Hedberg , Linus Torvalds , tiwai@suse.com Subject: Re: [PATCH] Bluetooth: avoid page fault from sco_send_frame() In-Reply-To: References: <15f5a46.b79d9.17ba6802ccd.Coremail.linma@zju.edu.cn> <60f604f8-2a89-fd3f-996f-9d9e4a229427@i-love.sakura.ne.jp> <883dc4b7-d1a1-3d31-a5a8-8fa1791084b6@i-love.sakura.ne.jp> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On Mon, 11 Oct 2021 09:00:00 +0200, Salvatore Bonaccorso wrote: > > Hi, > > On Sat, Sep 04, 2021 at 11:02:58AM +0900, Tetsuo Handa wrote: > > Commit 99c23da0eed4fd20 ("Bluetooth: sco: Fix lock_sock() blockage > > by memcpy_from_msg()") in linux-next.git should be sent to linux.git > > now as a mitigation for CVE-2021-3640. > > > > But I think "[PATCH v3 3/4] Bluetooth: SCO: Replace use of > > memcpy_from_msg with bt_skb_sendmsg" still contains bug. > > Did his one felt through the cracks? I'm confused about the statement > in https://bugzilla.suse.com/show_bug.cgi?id=1188172#c8 so Cc'ing > Takashi Iwai as well. The quite similar fix has been already in the subsystem tree, commit 99c23da0eed4 ("Bluetooth: sco: Fix lock_sock() blockage by memcpy_from_msg()"). The particular CVE should be covered by that and prerequisite patches. Takashi