Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp828507lqb; Fri, 15 Mar 2024 07:34:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWEyqVG8GLMANyeea9MN+SMhNtjucVGj8O+57frclJpnn9aIRLWKbCGG44KP+VlAaznlcY/PkAbQmEUq8oa1uqaiiUdH6dMcEMy6X8eKA== X-Google-Smtp-Source: AGHT+IFDyzNssU4GGxXPkqJ+XFr621VRCABleHQGw8hDXNlUNmDke41hoveXRy96H4yjD1EF4+zs X-Received: by 2002:a17:907:8747:b0:a46:776a:7e0e with SMTP id qo7-20020a170907874700b00a46776a7e0emr3154425ejc.77.1710513290968; Fri, 15 Mar 2024 07:34:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710513290; cv=pass; d=google.com; s=arc-20160816; b=l/vD6DfjcWohtce7JyCGnHEDG9nk3Y0gr8g1KpfnZmNfHdC2AR6tey1e21aDkFw69p ycfJddZmfCyFf07QuS9lwlEF7bI1FN26D92SO93K8vH2VcHfJBcOBCoiT0kNKTjfrmH0 PsOZpaznQkhPezJpXDn5jIjsEiHuJgpXHTCI//sRZKhezAjRTz9/pQ9Z5sw2pclGC+5I WF7tMt3s2ExdxGCZhGtQDwhqANIAh0dzpEskl0n4UE/U+3kHXwq8nwVwnFm+XaG+dSCd VQAczc2G9lkVp1jEf/5LPZQOgObiJZ7FwZHxboENiD7qjVjubP3oocHi+zRggZqfPgMl shBg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=+FdBkCX91uX/+qIH2itmgBttprldsSb0vKzbCiJSetw=; fh=D+flFIUJqY1Xx/sB61lA84G53FWxHIXoTD+8noEQl3o=; b=c8WzMphzpAulwtEiruiJ4AlC0bmRkOKIoH7fxUQX9JPCsBS0unu4YqjdU69ULAmV4N bJT9Gghtl1sgish1dg+yECZAH135L8q4hZ1+oRvub/oBnfjrY+6TFFlC4xDFIUju/nB1 uR/i0+VX7hzvUfb+NIj4qdy4jbzNDaAAhszGQUJxMZAfTikMTH6C21dE5LNjyFzqGGBI LeF4iiLGxPN10w01zHxVrxUtZC8WfH19bYc/TknkFxKbPQFqR3NISNB5XhTwBZ+afivw ybJ6Sal/a/PAJUm1aVMKoG8un80cptO74C07D3R4P5VQVZDq1QATm5ij7CuS696OqRfW HnyQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-104516-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104516-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id l24-20020a170906079800b00a465f037b47si1698058ejc.92.2024.03.15.07.34.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 07:34:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104516-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-104516-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104516-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id AE92C1F23617 for ; Fri, 15 Mar 2024 14:34:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9F813BBD0; Fri, 15 Mar 2024 14:34:44 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BABBD3BB26 for ; Fri, 15 Mar 2024 14:34:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710513284; cv=none; b=O21IXOPORwEt1irhEOLRuSGkvI6NpxuzacEdWO5fUOfcntqb83wQnerpbwNrG0sDOzlaehpDVZNwfZgM9xWFdZD1Wb3AFM9VDpewRi3UQMlPW/u6MHG4A7gGBEVc12npmjRGL1HTRISju2/3qcg8Ml5rGxbeEVsyjQjpSspRSGU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710513284; c=relaxed/simple; bh=iPjtTXtGBNqqHtpmj/RD96a/h3FsCnTbifhUxkUft74=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Bmb4Wr2xQNDQWZHeWvBZGSACTGaN5dnI0EMgop59NINajfoaU1xfPwdYC1qcsNVSdwIGP7GT2Kg60tRjk/Ujoh22GwPrbY+Jzfiqzqcwjujry3JAb1eNnIN60dalzzgw+Z/hzCJ53bhRGKtU3zALFopUhAEllbS06G1F5jVkPnw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rl8dV-0000qo-Tx; Fri, 15 Mar 2024 15:34:17 +0100 Received: from [2a0a:edc0:2:b01:1d::c5] (helo=pty.whiteo.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rl8dR-006WRK-BX; Fri, 15 Mar 2024 15:34:13 +0100 Received: from ore by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rl8dR-0013Tz-0o; Fri, 15 Mar 2024 15:34:13 +0100 Date: Fri, 15 Mar 2024 15:34:13 +0100 From: Oleksij Rempel To: syzbot Cc: astrajoan@yahoo.com, davem@davemloft.net, edumazet@google.com, hdanton@sina.com, kernel@pengutronix.de, kuba@kernel.org, linux-can@vger.kernel.org, linux-kernel@vger.kernel.org, linux@rempel-privat.de, mkl@pengutronix.de, netdev@vger.kernel.org, pabeni@redhat.com, robin@protonic.nl, socketcan@hartkopp.net, syzkaller-bugs@googlegroups.com, wg@grandegger.com Subject: Re: [syzbot] [can?] possible deadlock in j1939_session_activate Message-ID: References: <000000000000e8364c05ceefa4cf@google.com> <0000000000002d73880613abfe48@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <0000000000002d73880613abfe48@google.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org #syz fix: can: j1939: prevent deadlock by changing j1939_socks_lock to rwlock -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |