Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6295461rwi; Sun, 23 Oct 2022 22:21:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6HpeIPp7VarRGhY91hql3sk7a7q9V6RLOFjoICRVcSQcG9KSKkooqLY4SrfmgUFsSJAxG1 X-Received: by 2002:a17:90a:dc83:b0:212:59ea:84b2 with SMTP id j3-20020a17090adc8300b0021259ea84b2mr23145732pjv.61.1666588900174; Sun, 23 Oct 2022 22:21:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666588900; cv=none; d=google.com; s=arc-20160816; b=rJxcXrZ3B2vgu20I1mM+bxnwShQmWt61BzE56q4ljR/ayCacu2kBqJZVB3YKbq6m+R GeRpXi0yqpiNks+VmHV03sTAertS58AVbOSLWvPJYCSLGDQiLSUWaADfBsW8aqXZKo0J UwdkOtYAajCz0bdA3gdp9Kl87nG5AuuHvVM3DmgnSk7HJGDuY6CJ8SIf6yrRi7W/HWVp P2+hJLd+eYGQRxlGVquh7623dZyIYYKk9WjXCMAiFkpKeK07wZTZFme4NhKb7xAJaLND /pIdiBdR/i7WFqFUM3Cve+4NNJRIEcw6zlkHuCnWeX18rbqE6JgIObFMhURJR1eBhqTa HmCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=WwqSzcoMvyhyFWyTfJvwM0/Q2G25lsQVB7KMhKUPCYo=; b=WzqDgmaKzYMYzPqmOjITToTD34Y4aF1Y3UaCeM1USvBfofN4pb+Oupkr8nuc0rvrMj DrTGmHS9j259TC33IV1xOz0CKBY8kDlD74a6R0KqxggZXxg/p5rW/sP07h7pi/Wp5sNG qNOF50XFM2w8jiEsYBDy/F7AAkMjwgOXBrHpFoY8OrS4yLnjG1s5vHV5xk4qXQV3irg+ KizzCJ6wsquAdQGuDFL2ysMuHOVoekyCHa4tTPXAhEqR5I9aSAYr51BrIM5SH3J8YJTY dzhO4ii03GcoF32hDWqZ/fq8TWUoJ0K7ea3vnVgRQWnynIKvTR5Q2vWYBVL5uX/vn2CG IuaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kk9-20020a17090b4a0900b0021321b3bf6esi687425pjb.112.2022.10.23.22.21.27; Sun, 23 Oct 2022 22:21:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229608AbiJXFBw (ORCPT + 99 others); Mon, 24 Oct 2022 01:01:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230132AbiJXFBt (ORCPT ); Mon, 24 Oct 2022 01:01:49 -0400 Received: from formenos.hmeau.com (helcar.hmeau.com [216.24.177.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CFDD7AC1C; Sun, 23 Oct 2022 22:01:45 -0700 (PDT) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1ompa3-005TdM-7f; Mon, 24 Oct 2022 13:01:32 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Mon, 24 Oct 2022 13:01:31 +0800 Date: Mon, 24 Oct 2022 13:01:31 +0800 From: Herbert Xu To: Eric Dumazet Cc: syzbot , davem@davemloft.net, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, steffen.klassert@secunet.com, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] kernel BUG in warn_crc32c_csum_combine Message-ID: References: <000000000000fd9a4005ebbeac67@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham 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 Sun, Oct 23, 2022 at 07:49:44PM -0700, Eric Dumazet wrote: > > pfkey_send_acquire() allocates and skb, and then later this skb seems > to be too small to fit all dump info. > > Maybe ->available status flips during the duration of the call ? > > (So count_esp_combs() might return a value, but later dump_esp_combs() > needs more space) Thanks! > Relevant patch suggests this could happen > > commit ba953a9d89a00c078b85f4b190bc1dde66fe16b5 > Author: Herbert Xu > Date: Thu Aug 4 18:03:46 2022 +0800 > > af_key: Do not call xfrm_probe_algs in parallel Yes this looks like the same issue just in a different spot. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt