From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9E6F345BB4; Wed, 23 Oct 2024 18:06:55 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8D46D42E59; Wed, 23 Oct 2024 18:06:55 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 22EA942E6C for ; Wed, 23 Oct 2024 18:06:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1729699613; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=J3ywgtpcUGTOAarWQJn/wL2Peer8rqN5DWlkORWbtbI=; b=Jxiw4puZR816cxDxvcLVav+iHFJeZVq3nCfuH5dNJVcLNhEsHBWXD4UV8ZBddRLs0PiA4E 8OBPndlanlhNUdy/daXIhoUzI1PzfCi8BM7E+uisFwXVm3LeJopnF1haWYCAl6MG86xX/z bSqXLTjTeqy0K/IgM+zWuRTxtdJ3s04= Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-613-4TAkpKYHNDmcSBlP_JToIA-1; Wed, 23 Oct 2024 12:06:51 -0400 X-MC-Unique: 4TAkpKYHNDmcSBlP_JToIA-1 Received: by mail-lf1-f69.google.com with SMTP id 2adb3069b0e04-53b1eddcf4aso611583e87.3 for ; Wed, 23 Oct 2024 09:06:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729699610; x=1730304410; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=J3ywgtpcUGTOAarWQJn/wL2Peer8rqN5DWlkORWbtbI=; b=Sz8GJrIpTPdV4HjiVDEDcUvgyB4ao159cAGO4qCumaCi8hDCswvzGMz8S0j3HaKFxD B85QiDM2rUa109PRmWUqE7GXADhA90yNvJbleBfCP0ymQ5jXgbKAPxKvD51s8llBJ5qP eFWT1HjVItr4nzfjW5DAHqJesOra7ldpC+d0BPI+8UCe/16+REnglRr103h1NXOxsEsa QEVW0jhGaXJ2DqJ9TxtluAt99Zlwo1Rfz6NNAEb1SN9uIFxCPPFhd+X7qS+u7kzPeKug vDkQfR4eUZQLri9SeWiH3v+2lp5f7AX5cxc9I5guAE8AXcjQOMUIehwB693ILRlBYzcB kLcQ== X-Gm-Message-State: AOJu0YzCY5N8/1RkTnsdHyJfGP8OfRZFDVeSkwJQADDeVX0AO4jUgBaN RH8VG9mBYQT2vs7clNfU3jfiNxhIRl4f+lA6SUE1KxIENyDFSLNkbk1o2YFHwpXgOa0Mqu7CMuA A8NbUX/n0XQ1I8dFo4Ze9+NrSZeKByNDjouIwPrSe08eRFYmgHOAi9e61i3vu59h9VUPyqqt13Q IW2qs1RpiZieXSYbQ= X-Received: by 2002:a05:6512:b01:b0:539:d428:fbdd with SMTP id 2adb3069b0e04-53b1a3736e7mr1921490e87.53.1729699610177; Wed, 23 Oct 2024 09:06:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGO2bc8LhKd1yajI9rqR1aVXquOazXF1kJoYyQ4O//ghuOJAMIhU6EyHw3jAhwZ5H8K03jAgVW48EWvKYq/Mqs= X-Received: by 2002:a05:6512:b01:b0:539:d428:fbdd with SMTP id 2adb3069b0e04-53b1a3736e7mr1921467e87.53.1729699609715; Wed, 23 Oct 2024 09:06:49 -0700 (PDT) MIME-Version: 1.0 References: <20241023151552.2863387-1-maxime.coquelin@redhat.com> <20241023151552.2863387-3-maxime.coquelin@redhat.com> In-Reply-To: <20241023151552.2863387-3-maxime.coquelin@redhat.com> From: David Marchand Date: Wed, 23 Oct 2024 18:06:38 +0200 Message-ID: Subject: Re: [PATCH 2/6] vhost: fix possible TOCTOU in VDUSE dev creation To: Maxime Coquelin Cc: dev@dpdk.org, chenbox@nvidia.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Wed, Oct 23, 2024 at 5:16=E2=80=AFPM Maxime Coquelin wrote: > > This patch fixes a possible TOCTOU on the VDUSE > device chardev opening at device creation time. > > Coverity issue: 445526 > Fixes: da79cc7fda76 ("vhost: add reconnection support to VDUSE") > > Signed-off-by: Maxime Coquelin Reviewed-by: David Marchand --=20 David Marchand