Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp981007lqm; Thu, 2 May 2024 01:20:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWPWpglpgJhOC+x342vA5BPqA0bPRNGKkwGwnMqZjAoTlDXDHkWgNNRZGrKE7YccTCBdgn1+qJizcfRq8U7V1T7QKOHBLUcV7DAPEqNag== X-Google-Smtp-Source: AGHT+IHjq7XfUwZCaQKhS34bFq8WHzOzErO8A8xnas7LcDVqfm1KP07xrmdQheLSjMwuWnkfeQAO X-Received: by 2002:ac8:590f:0:b0:43a:f80c:6923 with SMTP id 15-20020ac8590f000000b0043af80c6923mr5389740qty.36.1714638039401; Thu, 02 May 2024 01:20:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714638039; cv=pass; d=google.com; s=arc-20160816; b=VRFQZjdDyNlUcvfAhkhjCOfR9ahZCJT84pNvRim/ktF3QUiKbT3jMljoIe8mpHYoCD JgImRbOHgjvDMNcgu/Zt4noNh6SsVkJ52+LHQKFEgTyKOdCJnis3ghDiN3iYy/w48G42 s2Gqc/AmWWewO4xIq25SwWsI5QAo7bUGWx59ZA2rVF3iftn5tB25EtcvEcGBJqIMBdco T8a88vpdHwVWyLK31svD2g1W3TCAeN0gYo6QbxVnyRp9bOVREyqfFQvgnT6xHuXNDtvf gDRD64UkRrWmfxJ0DNEbN5Az0R6Zyb3eOYte8vBDJyhGIXNp9Uoshlf1oTDV0QQtZQyf bS3g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=m7KELwrDSWPTMWfjdzEWiTm+V6uagXViwwM4mgRFkKo=; fh=TRyYZF68jan4bWRcmOHZQDisW9dU/aYrihTRJim+aq0=; b=J4vqjQipcwQEmkRDXYH5H6d4uVwvh8OrKpoX0TvZoAgZE+sGvbk1jTDDxjc58hSQS6 i+xDJkbhY8zEYpD6NTqivZHhWfTU+N37jovz+OzDCcghm4yvIXkpzNcddP96AkgqfLfP oc6pB5HgxdT7kkLPgwC7oVr4JpmcbzwjHD1qZtlQWlsg7VxsFBlrofxNTHCAp86X+dHJ CGUmDfOi0sVmKoIlyZyzcFjh0Odza5DtPpbaJhP0EENZnewd3gYb1N0SBBV13w2rb4Zi iLSuOByCEc1iEW/D0KotuDRXk4dDw7nJ7Mbi9jY/MW8yAeHps7rYPzv0mGQT5KSC8D9r ph6A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pfWXzONG; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-166107-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166107-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id o9-20020a05622a008900b004390ae6192fsi465698qtw.670.2024.05.02.01.20.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 01:20:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166107-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pfWXzONG; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-166107-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166107-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 1A9451C21915 for ; Thu, 2 May 2024 08:20:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 66E973A1A2; Thu, 2 May 2024 08:20:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pfWXzONG" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8424D2E85A; Thu, 2 May 2024 08:20:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714638030; cv=none; b=qAR5CSJz+Ea12FnOAdnO2WTmMsgR4MMaPGU0TmC+XIcF18DWP1Te3tYTtHk9qksrlCQ2E/JgrnO7VJgqNwRZaK8rA7uRQEDQqoA0dclnzzWfnWiKkZ9oZeY3QBNl3voIXnt9c9iMfy+Mk/lYpYxVIYdRP/jkDGmwC/jeB7XJlBw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714638030; c=relaxed/simple; bh=YQBen27imwkHlJoTAfQQ4ESQW0FwT0KYy1Oj/L+TEGo=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=q4C2uDi7wMtxvU9I6osKWyzHze6YWXEl/nChidhfEcF71WkypvZYuv9XVw5XUwNhTO54IW6hEpdGhUNH+W5m0VFKfd/IHXy9CSakDFrID5x1kXTh002FSiu8O1aKZioEEcTiCxKJ46yZOd/KWfUBFkSqpECIiIV+zxLkArNjoQk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pfWXzONG; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 053AAC116B1; Thu, 2 May 2024 08:20:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714638030; bh=YQBen27imwkHlJoTAfQQ4ESQW0FwT0KYy1Oj/L+TEGo=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=pfWXzONGYCYwbAQg2NspsS6CFJykuMQIpE3pZwVA373yc7nPGK0Fc6kksIEhtXGkP 3o2ur3j/Bzo0a/BHwDgTCsJB/RrfHZolCn5maUcDQU2gec9IJCPe8DlPWHTqp2frTy mPMmCieXf34NjnV5seaqwTvw5G5SWSy7I6mxCz7jF6SOd4yaSLVPFWEc6801SIp2zy Hf7YQcwGayga6rjWC29RixYMej0Enx7Ojfizy9i3Wx2NYfry5Adp+G3meFUdS8uTJG /i4Z3q56Y1iuXm3wY3GkI38u/gR+iSEtPszN7+NMrghyWJcENTjvorWYnK1Udj1owI AqSVPnOIwDB8Q== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id EA016C43335; Thu, 2 May 2024 08:20:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net v2] ipv4: Fix uninit-value access in __ip_make_skb() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <171463802995.31501.18180325804062708968.git-patchwork-notify@kernel.org> Date: Thu, 02 May 2024 08:20:29 +0000 References: <20240430123945.2057348-1-syoshida@redhat.com> In-Reply-To: <20240430123945.2057348-1-syoshida@redhat.com> To: Shigeru Yoshida Cc: davem@davemloft.net, dsahern@kernel.org, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller@googlegroups.com Hello: This patch was applied to netdev/net.git (main) by Paolo Abeni : On Tue, 30 Apr 2024 21:39:45 +0900 you wrote: > KMSAN reported uninit-value access in __ip_make_skb() [1]. __ip_make_skb() > tests HDRINCL to know if the skb has icmphdr. However, HDRINCL can cause a > race condition. If calling setsockopt(2) with IP_HDRINCL changes HDRINCL > while __ip_make_skb() is running, the function will access icmphdr in the > skb even if it is not included. This causes the issue reported by KMSAN. > > Check FLOWI_FLAG_KNOWN_NH on fl4->flowi4_flags instead of testing HDRINCL > on the socket. > > [...] Here is the summary with links: - [net,v2] ipv4: Fix uninit-value access in __ip_make_skb() https://git.kernel.org/netdev/net/c/fc1092f51567 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html