From mboxrd@z Thu Jan 1 00:00:00 1970 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.7 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 autolearn=unavailable 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 C7BA6C4320E for ; Mon, 16 Aug 2021 10:10:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AC10F61B2E for ; Mon, 16 Aug 2021 10:10:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233358AbhHPKKp (ORCPT ); Mon, 16 Aug 2021 06:10:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:41146 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229542AbhHPKKg (ORCPT ); Mon, 16 Aug 2021 06:10:36 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id 209A161B43; Mon, 16 Aug 2021 10:10:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629108605; bh=KJPNTC//0nL+YtlEMo8Zl6dCsMjS6QiZE7FS5Us2VI4=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=QZdmMHyJgfy5gHsSCNGHM+stTZWeVm2PeREK2vu7LrqnML99fSK8AMfLgbBANBmGb 5dYc2bCDd2/kVRBF7KXLYKcCNWxAlCio8UkeER5BT+6OfzU21xwxVZ92uBgoKwoLQv XkNylvBvSaboyJWfnoW2D9PQYR+CiEq00dXUmNxJfer4LVjFORMEhOVk5ZZdZDeTUB PTLWMXF1dnKUVGSGr5LPhPWWJmd61MuImkyNgodRxn875w3LVjFXQ0fqgCV/+IpMx9 pU6ijXRWahV1Dsu0JODMelXv8OR2/KPA9zrL0O3zKy7suOvQx2QncybrwWGxqG2Zns w3Xg5ulbcymsA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] net: 6pack: fix slab-out-of-bounds in decode_data From: patchwork-bot+netdevbpf@kernel.org Message-Id: <162910860507.22499.6005898561031397786.git-patchwork-notify@kernel.org> Date: Mon, 16 Aug 2021 10:10:05 +0000 References: <20210813151433.22493-1-paskripkin@gmail.com> In-Reply-To: <20210813151433.22493-1-paskripkin@gmail.com> To: Pavel Skripkin Cc: ajk@comnets.uni-bremen.de, davem@davemloft.net, kuba@kernel.org, linux-hams@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, dan.carpenter@oracle.com, syzbot+fc8cd9a673d4577fb2e4@syzkaller.appspotmail.com 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 Fri, 13 Aug 2021 18:14:33 +0300 you wrote: > Syzbot reported slab-out-of bounds write in decode_data(). > The problem was in missing validation checks. > > Syzbot's reproducer generated malicious input, which caused > decode_data() to be called a lot in sixpack_decode(). Since > rx_count_cooked is only 400 bytes and noone reported before, > that 400 bytes is not enough, let's just check if input is malicious > and complain about buffer overrun. > > [...] Here is the summary with links: - [v2] net: 6pack: fix slab-out-of-bounds in decode_data https://git.kernel.org/netdev/net/c/19d1532a1876 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html