🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #22524

Re: [PATCH net 01/12] can: bcm: copy the CAN frames outside of lock_sock()

#22524
From: Marc Kleine-Budde
Date: Wed, 25 Nov 2026 14:01
66 lines
12364 bytes
--f24icvnqsmeicx75
Content-Type: text/plain; protected-headers=v1; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Subject: Re: [PATCH net 01/12] can: bcm: copy the CAN frames outside of
 lock_sock()
MIME-Version: 1.0

On 24.11.2026 09:04:00, netdev-bot+sinfo@kernel.org wrote:
> This is an automated message. This series looks like a fix, but its
> commit messages seem to be missing some information:
>
>  - How the issue was discovered, e.g. hit in production, hit during
>    development, syzbot report, manual code inspection, LLM or static
>    analysis tool scan.

The issues in the CAN protocols BCM, RAW and ISOTP fixed in patches
#1...#7 were found by LLM review. They can lead to block the RTNL by an
unprivileged user, but have not been observed in the wild.

Patch #8 fixes problem with configuration of certain classes of older
CAN-FD hardware, found by LLM, not observed in the wild.

Patches #9...10 fix problems with the netlink attribute sizing, found by
LLM, not observed in the wild.

Patch #11 fixes a information leak of up to 8 bytes of kernel memory to
out USB URBs, found by LLM.

Patch #12 fixes a probe failure on of a driver on m68k/coldfire, found
by human review, not observed in the wild.

>  - Whether the issue was actually triggered, or is only theoretical
>    (e.g. found by LLM and not proven at runtime). If it was triggered
>    please include the symptoms, like the stack trace or kernel messages.
>
> Please do not repost the series just to address the above. Instead,
> reply to this email with the missing information, so that reviewers
> can take it into account.
>
> *IMPORTANT*: If you do repost (for other reasons) - please include
> the relevant info in the cover letter or commit messages.

regards,
Marc

--=20
Pengutronix e.K.                 | Marc Kleine-Budde          |
Embedded Linux                   | https://www.pengutronix.de |
Vertretung N=C3=BCrnberg              | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-9   |

--f24icvnqsmeicx75
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQSl+MghEFFAdY3pYJLMOmT6rpmt0gUCawbqIgAKCRDMOmT6rpmt
0pNtAQCWO8ec5l2bMRKI8jYsDO5ikgamoaLdohpb5KSIkOVZ9QD9FXwWK3KWIoDM
ZklqoUbx+3t1alr9F+qNYT/OZi1TtA8=
=Rwxo
-----END PGP SIGNATURE-----

--f24icvnqsmeicx75--
Technical Details
Message-ID: <20261125-lavender-pig-of-imagination-fe91b5-mkl@pengutronix.de>
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371361-linux-kernel-netdev=dewy.ru
References: <20261124085757.1093632-1-mkl@pengutronix.de> <20261124085757.1093632-2-mkl@pengutronix.de> <179551104023.3294.3966794215800671203@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371361-linux-kernel-netdev=dewy.ru
From: mkl@pengutronix.de (Marc Kleine-Budde)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net 01/12] can: bcm: copy the CAN frames outside of
 lock_sock()
Date: Wed, 25 Nov 2026 15:01:08 +0100
Organization: Usenet Network
Message-ID: <20261125-lavender-pig-of-imagination-fe91b5-mkl@pengutronix.de>
References: <20261124085757.1093632-1-mkl@pengutronix.de>
 <20261124085757.1093632-2-mkl@pengutronix.de>
 <179551104023.3294.3966794215800671203@kernel.org>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="f24icvnqsmeicx75"
Injection-Info: usenet.network;
	logging-data="221601"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:QIHb5sEZ92hJBuL88+FtttwCOMM= sha256:lQphH6bznCE1pJTLEFZY7swGpToDggC9boagkU1r/Bc=
	sha1:6VVcZyuxxdwr3sxnOvo0CqQM9ig= sha256:fdBYveybQzTNHT8hqzwbvrTelMlWGQoK7zcr6XoKScw=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 71011125E6C; Wed, 25 Nov 2026 17:01:30 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.15
X-Spam-Status: No, score=-3.15 tagged_above=-9999 required=6.31
	tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
	URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=pengutronix.de
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id JBvdmuWtdcEb;
	Wed, 25 Nov 2026 17:01:27 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-371361-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=pengutronix.de
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id A39EA125E69; Wed, 25 Nov 2026 17:01:18 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 747232AFA7; Wed, 25 Nov 2026 14:01:17 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795615277;
	b=yFtqgqWuDG8MLQhUdpPNapLGPkbtqvK0ISLGZy6RDjhojs7tTnzgo7ZIqPu31TM/zPSr
	 FoIAhInYfsCWeJvUiQAPl2ZxpU5QvAUqmvXtMczWZr00VXjP+mvWrPLSEdMzJ5viHTt0G
	 urnRw3BUBcz4uRHrhD6iJf+GU7GOS2rLesY8Q6UL5BCdIdSBGe4WAW21lnwJ+h/LlJho1
	 dbWw4jevWxh0pTTLFk2X3jAHIXZa5xbEkNnb+OkAR2H3yxteYXJ5mL87DGxk1C9ogOgvo
	 5bXY5qQVCyQTw3S5KzrqKO+k/Bsf6T3Fud+oMZYMaHQlY7WxAT3kArnTQFWCEq9VnEQ==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795615277;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:Date:
	 From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=xPs5f4A0Tob3CyDOsj13BsPyaIL8a+4YC+Rj1isrcw8=;
	b=Px2nTUZHrtd6YqxWZRHZeM1Zh6Mpi90onEnrz4awSwGhFXzFpw1Y5fE9nPHDCFAvPZiV
	 TFNL4KfT5C0mYUtQmujrXoIx798jD4t/zP6vWl4rcA2u/jiAopMKu5P5AKofVWft/LPLL
	 +K+CXBrcrqkJqlT+XEYSW930gdS9WoFMaW71y9Ycp1UksNbzTRmNfe4kbPVwKrnlBvQiF
	 Nd+LEKizExepQJ3oL+shu7EpXAfkDHeXm4FGpJMIlerwy7BLRARUKjaVll/eYOA3fZg+b
	 f6xn2q7pxnz9UewXBhKQQCAyNE29ItiDQKT7eHuyF3JC0aF/EmKtf3KPfvcorGOksLQ==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=pass header.d=pengutronix.de header.i=@pengutronix.de header.a=rsa-sha256 header.s=20260414 header.b=AVaw6qij;
	dmarc=none header.from=pengutronix.de;
	spf=pass smtp.mailfrom=pengutronix.de;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 3A7A4606A326;
	Wed, 25 Nov 2026 14:01:17 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=pengutronix.de header.i=@pengutronix.de header.a=rsa-sha256 header.s=20260414 header.b=AVaw6qij
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=185.203.200.13
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795615276;
	b=SQ3lfPX5+uvoAtMAFyAc81j1yvxdUx71CNmbu5WT1CrxOHd5U2g6r7enkpfFBGCIPnLx
	 qFTVcjgeJX+eGYtyPtBHh2SCUoACMDVo05dN7mlIPf+d79GpweHiW/6lTfMkag1kMvjEc
	 HmxVDxsmKLLjRx0tzkb46CyrXiHR+mRzXfGrXpkJeSOU6rQgLKjlAcRF7AVPzy3m2PY5W
	 +kyOzZV9B1ifIlQASahsywPKoVhVSa2paGPVq/DqiqwJiXezEaMGDTOH+DV5/oc5i/of4
	 HsiM9DHxBYnCOmdiSuafXowq7XRXTXRclnjkr7SxZ6AGKcTL4N5NKT8NQcKJV2NNZ2w==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795615276;
	h=DMARC-Filter:Received:DKIM-Signature:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=xPs5f4A0Tob3CyDOsj13BsPyaIL8a+4YC+Rj1isrcw8=;
	b=tRldjNz9MhImQxXEuyxofQIVSVSH+65eSLqEHh76Mym6o6IuQWubyLl7/BqLYby43w7s
	 HM+U2dwPZbf4ZlesUYF61BFX02w6Y8uc74Zlb2FYepgp00b4nxjndeTJGF0mR9XGhw1bR
	 GQs0dYkUTVGoDYxaJN4yA6BUjCbewS0VJjtlnJqzFS/Yp0IMQpkbbgMyYJfY8ZQdWLjRs
	 Q04BAkKQ5GyX3TY9+2uYY4Bc+LcduTBHhcDT5bGKf30QlKVTHRuzS+WJeIL/bTCdFHzQ/
	 Qy551OK00AULBfvVVpkfejULI/shDG4bFQwpqyyC05G2rGU7fsFgKWYAoQHlIptBQKg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=none header.from=pengutronix.de;
	spf=pass smtp.mailfrom=pengutronix.de;
	dkim=pass header.d=pengutronix.de header.i=@pengutronix.de header.a=rsa-sha256 header.s=20260414 header.b=AVaw6qij;
	arc=pass header.oldest-pass=0 smtp.remote-ip=185.203.200.13
X-Received: from mx1.white.stw.pengutronix.de (mx1.white.stw.pengutronix.de [185.203.200.13])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1FD64606A321;
	Wed, 25 Nov 2026 14:01:14 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 1FD64606A321
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de
X-Received: from pengutronix.de (ptz.office.stw.pengutronix.de [IPv6:2a0a:edc0:0:900:1d::77])
	(Authenticated sender: mkl@pengutronix.de)
	by mx1.white.stw.pengutronix.de (Postfix) with ESMTPSA id 9788E200033;
	Wed, 25 Nov 2026 15:01:08 +0100 (CET)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pengutronix.de;
	s=20260414; t=1795615268;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 in-reply-to:in-reply-to:references:references;
	bh=xPs5f4A0Tob3CyDOsj13BsPyaIL8a+4YC+Rj1isrcw8=;
	b=AVaw6qijL9sB64GGQtb+4AnGO4q1SMiVqVZOoY7KfgYMJQKi0EMIZzOgtVHoZvKg0VSMS2
	9NOob1fXRkom+BJO/os73IoB7dqXLrkgAN8OGLthFxTUpcp0NpBewmx580rDANbGK2NOXU
	BP8EypqZYy15+a+VuwOfB+x5bybQ6rZs6BClSSWEOGOXKyhQT1iatNnIA7TqbLFTyx72Tx
	Xph8L9wBGT/xZqTzQM6s+lch0he890EXKx9SA0GrhmwJueHepz+XjSZFccDBF1CmAKetVR
	8b71//zXKM9jiklLqyiCw9bc9FFhiQ3W0hfdwwyxR80IBINtLMjPp6+ZZaUhTQ==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=pengutronix.de;
	s=20260414; t=1795615268;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 in-reply-to:in-reply-to:references:references;
	bh=xPs5f4A0Tob3CyDOsj13BsPyaIL8a+4YC+Rj1isrcw8=;
	b=dElgK/igdiYA29p0fvkQsD/K/L9c89nkgBlDHA1dnUh2JlDucAC76heyQZ1VrLLfX/RkLL
	/n0R5zJqefUKk5Owc2x8zRIHsdkR1vTm/Fgmc+qA5lpKWZwUtwt0Our3Le1a9ayHoVVwjK
	a+3doS1ZOPal1s29JTyXSqWmYsnm0GXnxAZ+SJyTS8eU83gaFEKL56LdKeNU+WTKqrhhSH
	24N/8zIoaeMvRrdGvTIpaHSEl7HfTNL7aUY6wHj3R22god8oyQzAaqMZVkGQP+ZkeCLNgu
	DtZiqnmpSB2Xl7fq1lJzPaDlUiPMWRA8yB/ezrbEEL9ptaClMxXOUPhDeNLT7A==
X-ARC-Authentication-Results: i=1;
	ORIGINATING;
	auth=pass smtp.auth=mkl@pengutronix.de smtp.mailfrom=mkl@pengutronix.de
X-ARC-Seal: i=1; s=20260414; d=pengutronix.de; t=1795615268; a=rsa-sha256;
	cv=none;
	b=CvxV1kWrOoj0nUZq9FbqDAYIkWqoXbAy7Zij3DV7/VaBQZcG9vGG7ZO+JtGYLe2HNtcKS/
	iN0pQFGbVCIcSD/NhEYaUVkeiyyPNzY6QLWraL0+PqCNFVJmEODFsyB8NGwMw0dpMSNkS4
	t+FOAqqvxHrD1hdFGRxcibOVD4OmnPgz/27AHdt6q9+eaGeBbTHTPjgSetrbz3oTuGo+7N
	qR0HAQWFB9bQabtiDAs+yahsv7D/fZoJofkna2QWGXdyla72HYKAEnJIXlYwcxCpbLOhIg
	70D5Hic8ch8crjbvy/GbV+dsU0LxsT06z7f/ANcaXVESKDqPCl63SqhbwuXuOA==
X-Cc: netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org, 
	linux-can@vger.kernel.org, kernel@pengutronix.de, Oliver Hartkopp <socketcan@hartkopp.net>, 
	stable@vger.kernel.org
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <179551104023.3294.3966794215800671203@kernel.org>