Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp3775028pxb; Mon, 30 Aug 2021 10:19:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzV29Gcb0WBk/6GaPtTtLhT3BYelZEqJdrm5h8c+6UAwbBTtGSCPlcHhRXr6ahgPh3y84vq X-Received: by 2002:a05:6402:350d:: with SMTP id b13mr15342721edd.1.1630343981181; Mon, 30 Aug 2021 10:19:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630343981; cv=none; d=google.com; s=arc-20160816; b=L97mXtcHPQA8sx1n9Q/WAfT5AFkgAHhm2i38wsyFOJA34JUjD4xpLFlFViTvjcAvl7 XDZHjdh5bNu4w5LCze/iaJ6cV5xsFJJWaC8xgUw26YZSpHV9wIUmoSpbaDM1OIJi12Y/ vN7NWAOKpBbrrnuOuf79KLM00SuL4oaSsIF2arvhaO3v4gUoWmew82eIZr8K7W266DXw 4JlZM69KfYHoplde7B/SZy2MoHEENYnysEMZgafcSOvER+qjhcVp8OLSILg479sIczrx 4a4DXT0ovWrvGQipVlLs7Sqx3A/SYxjniN3Xmpwq7gP1n4Da4oalJeQ1eLrlwa2xRoou OAIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=lP91Qq5SV1EIgnMWYlIEJyGojXw2uV8f5w6iVx7V2bQ=; b=TD/14huZHZ1bkczHg1BO0vc4iSFRocVMsy4VWfQ2Vgv8rf6OvL6JuoSQmPy2oS0uSc Sq7DltyfLrsZ+v5rsCK14hVUD0kZuwI/aQFCwfjf2gDWrmz7YsTHCdiSdzG6TjbQVCw5 Dtdzn6NLJ1+wv0PxM1yO3MmI3q5paG8n5yIIw4dcH6vqGc3UzZ357R5QFx1CvKa2pGaS pdZKBhfnlMZcfkRIRPHcKtT+4MifkEIxTscEcqqoI6JgEbBDchM6phMjKqZZj6sZlLTt vca0sHZmW+L/tAVezGNE/j1g1ulLiVdqpCUaMGVqTcT+wBjCyphiOaUuccCL3w2lccq0 SDYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aKQf46+V; 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 n28si8675802ejl.415.2021.08.30.10.19.11; Mon, 30 Aug 2021 10:19:41 -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=aKQf46+V; 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 S238042AbhH3RPw (ORCPT + 99 others); Mon, 30 Aug 2021 13:15:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:43544 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238036AbhH3RPv (ORCPT ); Mon, 30 Aug 2021 13:15:51 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9A7C960F57; Mon, 30 Aug 2021 17:14:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1630343698; bh=n/RczJltHq3DJvuVrlDp0ujs3aqIP1fmrLWiGpcRjdA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=aKQf46+VGljehCLkLpSCf0wndlqndajfGr4BL4Z5295K9nyBhh4rGssuOjrottkJO QfkuHWD9WvUKLbPCAcu3KSnMuF6BQlxE+wBRt2B9LBEsHw72LcNPJgirUbYT74f92+ +dG/SX7RQUQNOJOSq2WEH4/xknEXVn822tU0plkBO6RNFfKxMVLVwF0Pn/RtUP4Z0N m9TaV1SfohlgE5c5JIXvLXW3bjnIEaT08/7GJufq9APKWEBiqVTiKXBmVHVsk8tN+W zlf8fh3Y/q/7KA1HsoSuwqCrZe/TZbjvKxRyrimNyegrYyfIyzRNsi0GVaSipo6kxy KoOhgFOeMRd8A== Date: Mon, 30 Aug 2021 10:14:56 -0700 From: Jakub Kicinski To: Haimin Zhang Cc: vinicius.gomes@intel.com, jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, tcs_kernel@tencent.com Subject: Re: [PATCH V2] fix array-index-out-of-bounds in taprio_change Message-ID: <20210830101456.21944dfe@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <163032300695.3135.11373235819151215482.git-patchwork-notify@kernel.org> References: <1630295221-9859-1-git-send-email-tcs_kernel@tencent.com> <163032300695.3135.11373235819151215482.git-patchwork-notify@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 30 Aug 2021 11:30:06 +0000 patchwork-bot+netdevbpf@kernel.org wrote: > Hello: > > This patch was applied to netdev/net-next.git (refs/heads/master): > > On Mon, 30 Aug 2021 11:47:01 +0800 you wrote: > > From: Haimin Zhang > > > > syzbot report an array-index-out-of-bounds in taprio_change > > index 16 is out of range for type '__u16 [16]' > > that's because mqprio->num_tc is lager than TC_MAX_QUEUE,so we check > > the return value of netdev_set_num_tc. > > > > [...] > > Here is the summary with links: > - [V2] fix array-index-out-of-bounds in taprio_change > https://git.kernel.org/netdev/net-next/c/efe487fce306 > > You are awesome, thank you! https://lore.kernel.org/netdev/20210830091046.610ceb1b@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com/ Oh, well...