Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1018326iob; Fri, 13 May 2022 19:49:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJ3YkuQ6NrnyYBKSCSqAPAIeCC/asBFowcl8dM/IjRQe+D8N+F9UX2iwmX3D939GBbzCgY X-Received: by 2002:a7b:c199:0:b0:394:26d0:a6a9 with SMTP id y25-20020a7bc199000000b0039426d0a6a9mr17475037wmi.116.1652496586975; Fri, 13 May 2022 19:49:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652496586; cv=none; d=google.com; s=arc-20160816; b=Ctz6Ib5/mUOiXAGBR3N9Iuaf7JvFEGtdUN2pqpHpNoOYTqkgA7HFbvuJvX1WPJFXAB B7pNAqcZGHD1cQ6czC2ZtRmcgXIMYSORXQ0Jpc7joHQ8EpNrULoDT+pQfg6P92tJFDht aF8+mxvoB7e6TBPuQx2BduRLzuiJ3c45L6rRp+jjA93TxQJ3Hv1CleRemdJAOc90IYu3 pkw3FHDaqW0OaZN2+tI9u4WTZjY4IvmNKB68mwsEfDKwsFaXK3aXc4HuhZw/oPJHK08b /4y1V0kEps3eAJyKgLY6gaeuNJ5cAzMM9k1t6I4ZPiQjBxX+fQpqb/QtPkgfHF9y8ZLh JKQw== 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=7uGUkosNCb+tzNaPgYRUmTzV/ZqwFiIRuvOa2XedKa0=; b=z5dm0qJFx/lieAivR3DHyr7IYnZl4cK0Zmws0IClaLn9acnWUbzSEieZt9zfpPgvIp 33Y3meEDyG2Q5cJ4Epy2E0rgcqW8/Lfx6QZfHpd4+5Kjya4PES+NutWhwq7ZbQ64rKm8 vMBDPcxAiWVftWWBbACKLMlXcu0LOLfhqGchdV8nuDl4iTBwQCFnDn0E1mJAibaI/mpI K/p3kNB2MqXvbfG+/UIMleyVbOZJAuM6wYQif7QvVa/N3z/iXuHkoQVktyge5ivFmpeJ ZCavm5Cedcyp02ePc7LQcPYGY0SsD8++aIJPVJYNXM1dWq+ddVw5OmQFmP/r80LN+xvZ WTOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bKdcoXdl; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id o1-20020a5d6481000000b00207a66925fesi515669wri.439.2022.05.13.19.49.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 19:49:46 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bKdcoXdl; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F20A136F927; Fri, 13 May 2022 16:36:23 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359313AbiELWvn (ORCPT + 99 others); Thu, 12 May 2022 18:51:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359296AbiELWvl (ORCPT ); Thu, 12 May 2022 18:51:41 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9859B7092B; Thu, 12 May 2022 15:51:40 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 598F3B82910; Thu, 12 May 2022 22:51:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ADD30C34113; Thu, 12 May 2022 22:51:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652395898; bh=l9FI+xPaIYCA8qXMiCGdIY4O2JO8Tx/QE9A+vCNwMaI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=bKdcoXdlVkkR807/3DKbIpUXM0kRj7bK/6xqRTYNYrKtZtY66CPaQZnCZElkKD3D0 xsqMpqxVorjEG3ouvDe+jzVleXiRYq8a+N2iXdxk7jUPwv1aL2BQJkWtg7vkmvlgNU vBGFaYNZrVODJWagbw/PvBUrCd31PdADHUJjKwIiLA9z424EjV7LwHgJi8aVUGemP6 DcQNq69erTsz5h3KQiqAfirCAkbMa1Gyr/wxTod2SjRBK39JKOBRROea959Hdg8YGL 0TSR2vblyQAwIvvHyoQ8tQSRF27rvvtPJVkAQz3X15PX91a8ixQgIvfPXJ3ETcnhf/ Z+IttVBhP7ruQ== Date: Thu, 12 May 2022 15:51:36 -0700 From: Jakub Kicinski To: Eric Dumazet Cc: syzbot , David Miller , Jamal Hadi Salim , Jiri Pirko , LKML , netdev , Paolo Abeni , syzkaller-bugs , Cong Wang Subject: Re: [syzbot] UBSAN: shift-out-of-bounds in tcf_pedit_init Message-ID: <20220512155136.70554388@kernel.org> In-Reply-To: References: <0000000000005f1a8805ded719cc@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 12 May 2022 14:19:51 -0700 Eric Dumazet wrote: > On Thu, May 12, 2022 at 2:18 PM syzbot > > This report is generated by a bot. It may contain errors. > > See https://goo.gl/tpsmEJ for more information about syzbot. > > syzbot engineers can be reached at syzkaller@googlegroups.com. > > > > syzbot will keep track of this issue. See: > > https://goo.gl/tpsmEJ#status for how to communicate with syzbot. > > syzbot can test patches for this issue, for details see: > > https://goo.gl/tpsmEJ#testing-patches > > As mentioned earlier, this came with > > commit 8b796475fd7882663a870456466a4fb315cc1bd6 > Author: Paolo Abeni > Date: Tue May 10 16:57:34 2022 +0200 > > net/sched: act_pedit: really ensure the skb is writable Came in as in new stack trace for an old/existing bug, right? Nothing checks the shift so it'd have already tripped UBSAN later on in tcf_pedit_act(), anyway.