Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1208336pxb; Mon, 11 Oct 2021 00:21:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjBXkX9Za+AgY7IDES7zVAkEk598Wy7VUBIN+ZONGcHkqppDXDSnXmCPUOfeSqT7DYh5kq X-Received: by 2002:a62:8ccf:0:b0:44c:7db2:344e with SMTP id m198-20020a628ccf000000b0044c7db2344emr24559999pfd.66.1633936877918; Mon, 11 Oct 2021 00:21:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633936877; cv=none; d=google.com; s=arc-20160816; b=Zs6lETK/De0ASktLlj7CZh6VYZr8st/3AYpcRRxLhj3Klq8PLAqfSP2jmkB0jDZqf1 OMz0FfIl+I45W/5Grlhg+RSi5J8pqZHCuDT9xB6362UFVpl1K1/l5GjDAqT5oZNBqijm KUhIJ+pK9foPwIPXNG9y5f2InUiRD2aG1PbMC/GyV4QjkL/n5d8Sy7/fjluzfACgEMMZ TSFIggJiQvC7RHTEPiBeF3WEvdQ25Cb0Ri3yS5eilVlmdK8srMelRzEI2cQ2YFpMmYyf DEz6Cl5ndUF8lzaOdTBY+ekBCSXeSjlNphk+Va4f4ysaEWP2BpuaA7bLlhcPKJSc2o2r zK/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=tLKM0kPjNB6bx9ldkBzxPzVj2ouG2ehJ3LhAQVkIfNA=; b=ew4KGV2J939tX/zh4gOlCtutdtSV0e6q0Bu8+nClTTfSMUuxSpqqVlUYJJav/G3Wf6 cO9fJLhCuX7UR5P33wuK7SKp+d6MbbEGDWURLzncU4WTmnSLI0iNUxuYzNx9SI1jN1MG 4T5vWAI74vobJ8wh6GSthq0rSOlnpmAvzZRlibI+m4QoVw81YvLGqUKkppJgQ+bTiKkM r30zKDTMi0MCP7mGfyhkF4yyE0SBvatWId/eJ8E51qEVHdejGLUwXVx41tb+1uv7TUUF YVbj77ltNuPdQgxLPdsLcaAa1Lqk0K9xhp1Wlru79QoGj1XmURpsJQmZbLeXQhxKHWkY mxSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=xQ1traNP; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=qqaRUiWo; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x2si9108162pjd.41.2021.10.11.00.20.47; Mon, 11 Oct 2021 00:21:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=xQ1traNP; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=qqaRUiWo; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234082AbhJKHP0 (ORCPT + 99 others); Mon, 11 Oct 2021 03:15:26 -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