Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2024447ybt; Sun, 21 Jun 2020 07:01:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKCOCmNqbuEqMLxCUpN+/9ceddAtoojs6pAiHZgqVC0TEZ5KzNon3hr1DXsKDRQ/9aVKLt X-Received: by 2002:a17:906:3499:: with SMTP id g25mr11588817ejb.518.1592748074762; Sun, 21 Jun 2020 07:01:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592748074; cv=none; d=google.com; s=arc-20160816; b=GKAtTeYCekZs2i6OTRTQLI9fgUwG0gIfd2voUT8IUP6ULDui/UGgMOnzUAbAqQbXE9 KjIHUJejkHKAplS3wKLjjHjI1/bDB5J4VwkZDKZtsgGgfH1GzDBmgdqaIYYfDvesdCxc A2BJLFT3HDo7JZfKcw3/RSzpnzOrGfzXk6rIeaeuamZP0rSEnPxDzJc4xr6jGBpsO+Yo MFbE/IaPys4u9ht2h+YRruWwYRFz2a8GjR40U220FuFfNhVQLLxke17IWXjiEzZWSr5j dctoG4eYqA9Wqk+5d3+CL8w4EWVjmcVSJ8rNY1MjLwMsIMOYLtc6QhbbojGeuy1/iIpH wdqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=vewurYL4RT3PvWQlki3nCvTIJMlXg35oGMx6lZeoqnQ=; b=fWaVOdCg30+SnWYofRkXWnioYj2KxBZJCCS/qTPYHiDTiG9bMGgdYEFodazmB46pnY QKoCQR1a4jycSKMjWoXl6lHoO+hf2/lMmgUOGDcjdh+uxb8Sy9Z+eO3NVg8PZ6MXrpKn ditNZHXCf1KjYMNi8jA0Ag8F9LiMjGxzdEqDwPjm3aBkfFV4izorOpKT3vowZhmM9hY9 YchaDzGPH7mt7OY7V8DIf1oLLSStw6a8KUVdWlFvLYhAAX/ZF+k6FMw65PT6WJM3uUpx U0cUpg1yR8bh9vkC0eM5NdegUBG4aPDO8gHcEMH5XSM6AUMezE/nEtUPrvKBu9mg4bdW VfSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ig1fa5DB; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q10si7641925edn.10.2020.06.21.07.00.51; Sun, 21 Jun 2020 07:01:14 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ig1fa5DB; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730135AbgFUN7J (ORCPT + 99 others); Sun, 21 Jun 2020 09:59:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729649AbgFUN7I (ORCPT ); Sun, 21 Jun 2020 09:59:08 -0400 Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83C0BC061794; Sun, 21 Jun 2020 06:59:08 -0700 (PDT) Received: by mail-io1-xd42.google.com with SMTP id i25so16774522iog.0; Sun, 21 Jun 2020 06:59:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vewurYL4RT3PvWQlki3nCvTIJMlXg35oGMx6lZeoqnQ=; b=Ig1fa5DB6SeYcM+hYKkE99p+3/vtG3Fthf56KEPUiUxC/c978WNjcoM0qPl1MHcWmV NtvJHsF0Dxok/k4FanZWpn/GcS+5wxqcJdRaoYjtqgGrZ2Pwbho2UvVJQaQZxmt1uTFP zi2a19v83PEYobt3kTCxdIgttxxUO/efojSw8NnlAwM7/3KlsEbUhpLLhEvDocrHKf/3 tfVtculHMkMtQmBH2fLwPvD8T7Y+WWEFtzWg13p5k/72CezWXul4zS5ye9Oljtwc+2yd QnuC1sbaug6H/LCAyfYpPR4J2PZFgJHZkHQosks3gr9PL+s0hYORDmqHa1sUORd14REA BWKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vewurYL4RT3PvWQlki3nCvTIJMlXg35oGMx6lZeoqnQ=; b=H9OUxTyMxGy+fp55OdJEYCjKsOzbh0CS0Fu2sYIHeVYXdYRaw3c8TcVYfSK+ph7PHg qFKxfCSx66SI+HO0wZx/GtmzKeEgicPxijWyer9n3u5WztueFw5zumrr6idrxPGjx8Ag wLJjNcgYY6Jzv+3KDaO0hwivHwK53tqLJvUUbQk26wUrTWUZgVlE9yhgaELCIBxQd+Q6 oBtgesfSKUYjfLwmaKfcsKNVA08BzFbPBpLCMHYmjZYi2rmrzgvv+xpCVXayuxxnkO3o D4qgrtmMo7wHGKPyE3jvLB1G+hQnXDpCn1KnCcCV7S29j7nYbqKvZqDrBzhp0xqoOkrd sqpA== X-Gm-Message-State: AOAM530Km01aDevwdKmqZcmTp+feKtiINOOM3zaMdyns6vFYKB6TWXeQ k4mkW1v0sSygb9debxW5pj2oayrHFNsecjryV1L0O1Wcgyo= X-Received: by 2002:a6b:b5d1:: with SMTP id e200mr14321200iof.191.1592747947123; Sun, 21 Jun 2020 06:59:07 -0700 (PDT) MIME-Version: 1.0 References: <20200621084512.GA720@nautica> <20200621135312.78201-1-alexander.kapshuk@gmail.com> <20200621135623.GA20810@nautica> In-Reply-To: <20200621135623.GA20810@nautica> From: Alexander Kapshuk Date: Sun, 21 Jun 2020 16:58:30 +0300 Message-ID: Subject: Re: [PATCH] net/9p: Validate current->sighand in client.c To: Dominique Martinet Cc: lucho@ionkov.net, ericvh@gmail.com, davem@davemloft.net, kuba@kernel.org, v9fs-developer@lists.sourceforge.net, netdev@vger.kernel.org, linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jun 21, 2020 at 4:56 PM Dominique Martinet wrote: > > Alexander Kapshuk wrote on Sun, Jun 21, 2020: > > Fix rcu not being dereferenced cleanly by using the task > > helpers (un)lock_task_sighand instead of spin_lock_irqsave and > > spin_unlock_irqrestore to ensure current->sighand is a valid pointer as > > suggested in the email referenced below. > > Ack. > I'll take this once symbol issue is resolved ; thanks for your time. > > -- > Dominique Noted. Thanks.