Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58C43C433DB for ; Sat, 16 Jan 2021 00:00:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1346023A01 for ; Sat, 16 Jan 2021 00:00:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728003AbhAPAAt (ORCPT ); Fri, 15 Jan 2021 19:00:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:44094 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726282AbhAPAAs (ORCPT ); Fri, 15 Jan 2021 19:00:48 -0500 Received: by mail.kernel.org (Postfix) with ESMTPS id 6C5F723A5E; Sat, 16 Jan 2021 00:00:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610755208; bh=KZeCc6R56vZJhc/fk3Kh/NyMLXaLdCg4gYA4YPGtMFo=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=KuRkCkc/ndl6XWeNAm4N0B+oilnBv5x6qu8zfkL9nLlKaLM5ddZfs7FjLHIUwqeX3 kTxW4LKih0SFx3k3/JNlzuvtnpjA0FMQyNQZyiiK01hkJe5GQ55FKWSQ9D+82Vc+oY CJrBOwOrmrrVJN6PeNjoZZIZWMHDvhP8XlzFae07IXLfAk8UbE/LwOw9L2pFraClq5 AMYPS7/Tw/X0qhvie/VoPNscIwigcD7p4VPbYnKLdRpEVZ1Xex4SRio0Ov1l/eyi16 q3n0aGGsBEr0NEvXWdDQXgCoQaj+4vYIOcrawnmtCZ9+OP3C+1GcvJZGt0pR6fJIYQ GK+Oe49ZAh0wg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [Patch net v4] cls_flower: call nla_ok() before nla_next() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <161075520838.15612.8489720419574863467.git-patchwork-notify@kernel.org> Date: Sat, 16 Jan 2021 00:00:08 +0000 References: <20210115185024.72298-1-xiyou.wangcong@gmail.com> In-Reply-To: <20210115185024.72298-1-xiyou.wangcong@gmail.com> To: Cong Wang Cc: netdev@vger.kernel.org, cong.wang@bytedance.com, syzbot+2624e3778b18fc497c92@syzkaller.appspotmail.com, jhs@mojatatu.com, lucien.xin@gmail.com, jiri@resnulli.us, kuba@kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hello: This patch was applied to netdev/net.git (refs/heads/master): On Fri, 15 Jan 2021 10:50:24 -0800 you wrote: > From: Cong Wang > > fl_set_enc_opt() simply checks if there are still bytes left to parse, > but this is not sufficent as syzbot seems to be able to generate > malformatted netlink messages. nla_ok() is more strict so should be > used to validate the next nlattr here. > > [...] Here is the summary with links: - [net,v4] cls_flower: call nla_ok() before nla_next() https://git.kernel.org/netdev/net/c/c96adff95619 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html