Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C0EBDC64ED8 for ; Thu, 23 Feb 2023 13:20:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233453AbjBWNUZ (ORCPT ); Thu, 23 Feb 2023 08:20:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234309AbjBWNUX (ORCPT ); Thu, 23 Feb 2023 08:20:23 -0500 Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44CFD5504E for ; Thu, 23 Feb 2023 05:20:21 -0800 (PST) Received: by mail-ed1-x543.google.com with SMTP id x10so41176172edd.13 for ; Thu, 23 Feb 2023 05:20:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=iSjnrafhPf2fV2dernAngBYS4Gggay/mJLZl6aCWzRw=; b=hZ2cWoLhw7vZdo3a8jZjRplebOgEK4dMYh8sTq41UW/1pFaZmvBXEqAZM3ksDsLouN QBsDou/MgRov9xaiFRFGwyRGskP40ebtzBt5dt/Q5q0IiX0DLmGnMPctRVg2LN+9ONp+ E2VFlwiqgYAJLmyp4SmjoYg2LV+oDPY1qIfkA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=iSjnrafhPf2fV2dernAngBYS4Gggay/mJLZl6aCWzRw=; b=M2P4KWNL5KAzGceGj+fmyIHqgH6CVrmL+rIpcJrhanGto7VAcCIBKviCs2FCDfGaLq fR9TdJtan1CppicxyDOtUwtFHED/0gk94+7pSReC4/0XskzM3hQJ906y2eHGaf8gzQma cmrCB6qhO8fi9ClKIElFFT3GTKZX5dI6P+58yjc8aJ4G0uuWwmKi8XcUYtPKBdPdS1zW Z6ERXv/lIuXemH1USOeFEEtai7YFnWNGYW3Kt6cPuPV3jTRlh/X/4JU6qg/tNSr9AGt8 L/iAMI0xHZ/9tu08bnILuHMqrl09iM9FpcYHzpQS5xWsm2MQCM4BWRPhoDVyBQ4jG4zM kSAQ== X-Gm-Message-State: AO0yUKXAKC8JV4Dwnn5QDcSKq04zpxoxuvMEzE8ccMpvjNmZTOvi6H3f UG+W6pQGjP0isUmdNncgfLzccA== X-Google-Smtp-Source: AK7set8YyYFogMSPl3OmEGg1NZPemZOCHQm2M6jX3eCL9OUurVpCatyIeHw/Rf7BFUTXkbnPqyK7rg== X-Received: by 2002:a17:906:eca1:b0:87d:eff1:acc8 with SMTP id qh1-20020a170906eca100b0087deff1acc8mr19267418ejb.48.1677158419722; Thu, 23 Feb 2023 05:20:19 -0800 (PST) Received: from cloudflare.com ([2a09:bac1:5bc0:40::49:12a]) by smtp.gmail.com with ESMTPSA id w7-20020a50d787000000b004aad0a9144fsm5322345edi.51.2023.02.23.05.20.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Feb 2023 05:20:19 -0800 (PST) References: User-agent: mu4e 1.6.10; emacs 28.2 From: Jakub Sitnicki To: Hsin-Wei Hung Cc: John Fastabend , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: A potential deadlock in sockhash map Date: Thu, 23 Feb 2023 14:17:54 +0100 In-reply-to: Message-ID: <87a614h62a.fsf@cloudflare.com> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Mon, Feb 20, 2023 at 07:39 AM -06, Hsin-Wei Hung wrote: > I think my previous report got blocked since it contained HTML > subparts so I am sending it again. Our bpf runtime fuzzer (a > customized syzkaller) triggered a lockdep warning in the bpf subsystem > indicating a potential deadlock. We are able to trigger this bug on > v5.15.25 and v5.19. The following code is a BPF PoC, and the lockdep > warning is attached at the end. Not sure if you've seen John's reply to the previous report: https://lore.kernel.org/all/63dddcc92fc31_6bb15208e9@john.notmuch/ Are you also fuzzing any newer kernel versions? Or was v5.19 the latest? Did syzkaller find a reproducer? Thanks, Jakub