Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3052072pxb; Sun, 26 Sep 2021 04:03:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3Web66yW/2Plac/w5tti0WHSKaxdgv3CTkd5PvG9Q56C33wJsQhrMlcthX+K0A9lwUZtN X-Received: by 2002:a05:6e02:19c9:: with SMTP id r9mr5581370ill.102.1632654184400; Sun, 26 Sep 2021 04:03:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632654184; cv=none; d=google.com; s=arc-20160816; b=OkkfaCjr98TRpd6JipCag2lEdlBSh26NdI/JR1mHFN0A5p1PzfVykMxk+BB7Y6HPRs wHH6BGh/h6BNabS+j56UL+RxDtlX9u+CbKva9JREchIzPjp+E8oanJsLi2R2wkCIjcbu K8A7NOWCSC5QO6ikeRapYDFdB2xcmuemvXBjbNb//6lBgjakx10EP5XGKGR8EXBD9bs7 /DnOGCm+CwTfCrdVTlxsFVaYqOFlBWEQ1iNshwNUD36WKHpyDz33zqhhm/Tq3zSu4me7 u/Jqqt8TMMxGTouo8/Z8gWjXEGPnRtXV5rvZWFLE0+0nZzM6db9F9J7qCcwuZD2aJXOv ZsgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=KCmSaxiCKyKnZHoflM26IgVIjwRbnQUYyV/HkeZDM6M=; b=lFM1pJFLWefrzuo0fmpItQJsmAFreZc8K0/c1w3IQwY/9tj6H7Gogos+DKFmFsvmSl BgbgN49De44uW5pjTAFWqM3nAsCcUd5AzSzNqo7MwZadN3Ru8+Ul5fXDFecvtmDeEGT9 ZeIbqL4GshlZ9QGy8luLCmsMQy541xw7d0hIU/Y8eUvUJ3ojl/ZLeG0X1PNkTSM5dPds h72olNTQ78aAjHAEB5U32jCkwuIMikPPcXR2C8sKKyB8Yw2y/376M+Tsc5PTb3X7OflP n7AX9PyK2CiPE7121PaUrt5XM8y9zjrjnb6TAYjurSoWfLtUTBWirpHau2CFlei1F10o u8cw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j11si17478051ilu.130.2021.09.26.04.02.52; Sun, 26 Sep 2021 04:03:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230219AbhIZLDq (ORCPT + 99 others); Sun, 26 Sep 2021 07:03:46 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:11027 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229530AbhIZLDq (ORCPT ); Sun, 26 Sep 2021 07:03:46 -0400 Received: from dggeml757-chm.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4HHN9K19W8zW6QG; Sun, 26 Sep 2021 19:00:53 +0800 (CST) Received: from localhost.localdomain (10.175.104.82) by dggeml757-chm.china.huawei.com (10.1.199.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.8; Sun, 26 Sep 2021 19:02:07 +0800 From: Ziyang Xuan To: CC: , , , , , Subject: [PATCH net 0/2] fix tx buffer concurrent access protection Date: Sun, 26 Sep 2021 19:01:07 +0800 Message-ID: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.104.82] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggeml757-chm.china.huawei.com (10.1.199.137) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix tx buffer concurrent access protection in isotp_sendmsg(). Ziyang Xuan (2): can: isotp: add result check for wait_event_interruptible() can: isotp: fix tx buffer concurrent access in isotp_sendmsg() net/can/isotp.c | 46 ++++++++++++++++++++++++++++++++-------------- 1 file changed, 32 insertions(+), 14 deletions(-) -- 2.25.1