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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C550CC0015E for ; Wed, 21 Jun 2023 20:14:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229757AbjFUUOR (ORCPT ); Wed, 21 Jun 2023 16:14:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229961AbjFUUOO (ORCPT ); Wed, 21 Jun 2023 16:14:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AE05199E for ; Wed, 21 Jun 2023 13:14:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7E094616C2 for ; Wed, 21 Jun 2023 20:14:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 980C9C433C8; Wed, 21 Jun 2023 20:14:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687378452; bh=dCDy3A/rSNHdhp/mXd4huyXQOqZFkZsHTIPIxDQhj1o=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=lbsWLd827a+PxMQHbt38u8IpyWB5Z0MoDwCAqH7tAxr6C8D2NtuYuQ7jWmhUegU0C 32AXpzlJNA53IP9fqpkriSMSrSnVgZ1h7Bx85DFPLNXyEFBKWWXz+e0g+c9H3RM8Py OLr5T1WjcA2ofwM3UmTxVfnFhbjZiXZrkW2+IVnCBhm+otwXbeGqzyMuRAqG6CEGhK 0/WQFLgOJyMV66NNAC64hLUKF+bz9JaJqA4e/DCf47l88Vaj90fzb/eSsyHo/qz523 CFBP5/2/cWggjNwYt9LRZ4PIVdbSLnCqtG55uEC9tqd2eXBtQUBcAFFWbUbFjbaoIP mbPmVg3jJ3s5w== Date: Wed, 21 Jun 2023 13:14:11 -0700 From: Jakub Kicinski To: Eric Dumazet Cc: syzbot , Johannes Berg , bpf@vger.kernel.org, davem@davemloft.net, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [net?] possible deadlock in netlink_set_err Message-ID: <20230621131411.6be73cc6@kernel.org> In-Reply-To: References: <000000000000e38d1605fea5747e@google.com> <20230621124246.07f9833c@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 Wed, 21 Jun 2023 22:05:13 +0200 Eric Dumazet wrote: > > Doesn't seem like netlink_set_err() wants to be called from just any > > context. Should we convert nl_table_lock to alwasy be _bh ? > > > > Jakub I already sent a fix : > > https://patchwork.kernel.org/project/netdevbpf/patch/20230621154337.1668594-1-edumazet@google.com/ Ah, I didn't spot it, LG!