Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp3040821pxy; Mon, 3 May 2021 13:44:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzp6sVpUyFf31ZTIGR73nfkIW7hkcg+d+o9eepDbuzfMGPQsOqmLlwlI457yfkTm9ruefF+ X-Received: by 2002:a17:906:600b:: with SMTP id o11mr18647203ejj.345.1620074666359; Mon, 03 May 2021 13:44:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620074666; cv=none; d=google.com; s=arc-20160816; b=dkiIyjR+3DDwclnQnSV1DgFBfD2tVuI66KyBX2ez1Ra5TVBog/17M6Y4VYrf/BMTtU Ko+xnNERNfxNuY6rqsC/z2yjRUoakEpsRuSG9EGXoe2k0Vxqm4Se7GZXE7R/G/9HZIM5 P4UkZSGQ9ZTgR/oPOzwDq7ETa9buXZIR5D18GNMQMziQEVv/mEqMdkLoaGhurDu3hSVl 9Gkglepdnl3BO2ZuTwUzbghBLwhvFxK0JGE6cD4EdK4x9oRbw7mlXba3ILe5iuCiAJ9L PiYYglX5HJ0/SzJn948O7tibmREu9PasmeIxz5kZyRhvAIEMILsLfpQlFytBJ8aHdzl3 Fu+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=92uyD7Pu1PcD0YzU8kvCsUbsg6VjHS1dn0e1OGQSuW8=; b=fa2fFYTR2g3C8EFt1J+x/4htf2JrvQ0KY1OXOa09/zAx9V19eubkd1aCSTo0PfYqBh df7mFhYL8neUc91PSJ7TRK5KoECHOr3cteuuyGHqb+CG9w7NTncZqhCLp8+tKZOr35QA 2gViBe1juz6kGXDep3cX/2Wc0dMsMAt25HWzZD98lJmP23L1UHxXhRu9HdeARbaJCU2D 2I0Tb9XJGn+JbAiXW9yVI/6Uzc+2I2AoxiclfxcxEwJ7tdrG1oVlxQqVIXVCLpqDB/tS NRfLW71aVc4Fbuo2OCni4NAy7G3XGtKxkPUKMAXF9e7ttPTE3P3qsbm1JFdHga4GV7mj KZQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VE0BKSxy; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u26si854526ejj.30.2021.05.03.13.44.01; Mon, 03 May 2021 13:44:26 -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=@kernel.org header.s=k20201202 header.b=VE0BKSxy; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229970AbhECUlR (ORCPT + 99 others); Mon, 3 May 2021 16:41:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:46940 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229928AbhECUlE (ORCPT ); Mon, 3 May 2021 16:41:04 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id 6B853613C3; Mon, 3 May 2021 20:40:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620074410; bh=gq4Sk4xGeDQacCjcHMfgI4xdKJiAF3rvZgt0PNCGEsg=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=VE0BKSxylv3TsTCSSN8l8+7wjKDKHJOqvtN+isev0a0UOLQrtMor2npEs+7ncB5CT w+9Lx1fjTB7RlGKFJlhVwB+b0a4hwRb64ZdNF1shK2/X4QSXnMaZ/QOO9D+eY1CDh6 zPDdGGNV636PhetimJ2lZ7NPYqshNrLnaTXk7JX6LrQpGR6Ne9la1B1h7CJSJREb0n fJAwEkKhzeJVXFFGXedNpgByQ5GkUySOkjVUCZITziikQTUWH8ifCQTgHSHeyR4eH7 jH9m7viXBx9n4WaE0u/fFqxFlBmjGQ52cT8v+bSTvD7vWZyM+2sEq1YuCvEPlNrij/ cmoVxP3XMZU7g== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id 5FDC1609D9; Mon, 3 May 2021 20:40:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: hsr: check skb can contain struct hsr_ethhdr in fill_frame_info From: patchwork-bot+netdevbpf@kernel.org Message-Id: <162007441038.32677.12112313977751851037.git-patchwork-notify@kernel.org> Date: Mon, 03 May 2021 20:40:10 +0000 References: <20210502213442.2139-1-phil@philpotter.co.uk> In-Reply-To: <20210502213442.2139-1-phil@philpotter.co.uk> To: Phillip Potter Cc: davem@davemloft.net, kuba@kernel.org, m-karicheri2@ti.com, olteanv@gmail.com, george.mccollister@gmail.com, ap420073@gmail.com, wanghai38@huawei.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (refs/heads/master): On Sun, 2 May 2021 22:34:42 +0100 you wrote: > Check at start of fill_frame_info that the MAC header in the supplied > skb is large enough to fit a struct hsr_ethhdr, as otherwise this is > not a valid HSR frame. If it is too small, return an error which will > then cause the callers to clean up the skb. Fixes a KMSAN-found > uninit-value bug reported by syzbot at: > https://syzkaller.appspot.com/bug?id=f7e9b601f1414f814f7602a82b6619a8d80bce3f > > [...] Here is the summary with links: - net: hsr: check skb can contain struct hsr_ethhdr in fill_frame_info https://git.kernel.org/netdev/net/c/2e9f60932a2c You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html