Article View: linux.kernel.netdev
Article #23146Re: [PATCH net 01/12] can: bcm: copy the CAN frames outside of lock_sock()
From: patchwork-bot+netdevbpf
Date: Thu, 26 Nov 2026 15:10
Date: Thu, 26 Nov 2026 15:10
46 lines
9842 bytes
9842 bytes
Hello:
This series was applied to netdev/net.git (main)
by Marc Kleine-Budde <mkl@pengutronix.de>:
On Tue, 24 Nov 2026 09:51:28 +0100 you wrote:
> From: Oliver Hartkopp <socketcan@hartkopp.net>
>
> bcm_sendmsg() copies the CAN frames of TX_SETUP, RX_SETUP and TX_SEND
> from user space while holding lock_sock(). A copy that faults or
> stalls, e.g. on a FUSE backed mapping, holds lock_sock() for its whole
> duration.
>
> [...]
Here is the summary with links:
- [net,01/12] can: bcm: copy the CAN frames outside of lock_sock()
https://git.kernel.org/netdev/net/c/a2bdc43c05f9
- [net,02/12] can: bcm: do not remove the procfs entry in bcm_notify()
https://git.kernel.org/netdev/net/c/2caf66eca1bc
- [net,03/12] can: raw: use a private mutex instead of lock_sock()
https://git.kernel.org/netdev/net/c/f7c5b6e19684
- [net,04/12] can: isotp: use a private mutex instead of lock_sock()
https://git.kernel.org/netdev/net/c/c781fc329528
- [net,05/12] can: bcm: use a private mutex instead of lock_sock()
https://git.kernel.org/netdev/net/c/bcea265a4c04
- [net,06/12] can: isotp: always start the rx timeout in ISOTP_WAIT_DATA state
https://git.kernel.org/netdev/net/c/4b558c0ccb62
- [net,07/12] can: isotp: reject socket options while a transfer is active
https://git.kernel.org/netdev/net/c/da0eaf6fd9bb
- [net,08/12] can: netlink: fix static FD-NON-ISO mode validation
https://git.kernel.org/netdev/net/c/36da93199869
- [net,09/12] can: netlink: fix IFLA_CAN_BITRATE_MAX attribute sizing
https://git.kernel.org/netdev/net/c/0bfb76b7c927
- [net,10/12] can: netlink: fix CAN XL PWM attribute sizing
https://git.kernel.org/netdev/net/c/3949d692d646
- [net,11/12] can: gs_usb: gs_can_start_xmit(): don't leak uninitialized memory over USB
https://git.kernel.org/netdev/net/c/4dfaa1160683
- [net,12/12] can: flexcan: Fix probing for m68k/coldfire
https://git.kernel.org/netdev/net/c/869199293237
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179570580753.1889275.331318921844606497.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372193-linux-kernel-netdev=dewy.ruReferences:
<20261124085757.1093632-2-mkl@pengutronix.de>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-372193-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net 01/12] can: bcm: copy the CAN frames outside of lock_sock() Date: Thu, 26 Nov 2026 15:10:07 +0000 Organization: Usenet Network Message-ID: <179570580753.1889275.331318921844606497.git-patchwork-notify@kernel.org> References: <20261124085757.1093632-2-mkl@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="494372"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:VoaIwYnTKYhtWqiJxDt7cxtlmyM= sha256:FY61HySTJWCVevw/qn1SwisZIILEmsIQoy/paKf/InM= sha1:dNk9d2TMhBIRnpcIYBlLsVehNyU= sha256:tDzsTXgtvj/Y5RDlNLlCbRnWTQs58MyfoueiDkpzU/I= 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 C2EEB125EE2; Thu, 26 Nov 2026 18:10:40 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.501 X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31 tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org 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 5FgoBZLBycbj; Thu, 26 Nov 2026 18:10:37 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-372193-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 03AAA125EDC; Thu, 26 Nov 2026 18:10:28 +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 3CEF9327D6; Thu, 26 Nov 2026 15:10:11 +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=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1795705810; b=tY0fAomiGO5k08BZPA7y4Tn/tMqELXN0Xoc2KWNZ02+fLADs/E9hl+PuKvM1xYiy98X8 9CGAtH9tOM3x43MEp4uf5pDWGcW4AVXrTHDyMXyNKIVDUCSwX/HszF/JfAOCTzr6S4KK4 6Y99Nz/70olDF2DpQWcgG2N2lnORDwSR9QcR3yIUvVNleflGe9pbkr2HGfjz6oIUTNmy6 HOPN2xbm/1GlKq6vvhgQoKOlGBzvNfqHNBZKPz7iGF9eK/q/5cch0kjkSzeIm+BmG0QOO Ru0tfgAr5dyr3xF+F++Ye1OtjElVNFOgWV7LzvGA7NpbcULbHQZapPkX6YK7gck5bwA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795705810; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=nve0oiWt3fDBEFLCLIFQKd/HP7O7o2kSx1+K6NEp3nc=; b=eXdfvf0PLAZrNtaNctqHdf9yWT666MMoJwJnLmfift0sqDvBXvOH4uMbF6CP5CfLqr2q GaiDCI/CQLW1ASgF+6c+Xz9sZVRvxckAt7yhMmue/i4VAXaCEEndyFAebaA8BvQJ2gzWI 3+DR+Pra0OBKtRvn6Ft29Lpq3le7CBaJhAgLDeByH7lqvXfkQup3ktHzt8Sq2tTdFIzVU j7Bt3V7y898i4uBOk1cL8iCsagHu5tsBgTJanb91+LOt3FVztyJx9XGghFX49mE8Yko1/ 0z17b+m1NzelPDcpFx7bQ2yQWcvwA2em13Wq5MOMJ6PtG74tyrfxsp2CjT0ODUQGAxw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=aelEwF6A; 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 02504606A330; Thu, 26 Nov 2026 15:10:10 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=aelEwF6A X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795705809; b=ZPCcq9OeG2hK0HNkkevBTN+fuG9PTWAupXWF40h/G9EPuynN7GpSwoKe1TOEJJRFosp8 IdWaKLp8A9rw91rK7TG2PEskNUGs9BEzcN9TKlfvy0hTX5pDJGvEYtB7g4FSX6QbDVCKT REgAITatcRKU0Tpp/8JTUM2uGfBYVBg4/Fm7y+Ym1sf5KfJ9ZXr5GL8lvno9ptP/qZtJg nknGDxv7lN1AKCSYv5QnjUY3k2qGjN78Exq058ykGaLwXqwF0+hQ/LXRI9DtrOvWezKGF lQqAUu8USFYF4AcOY1rroCmL5YT9Awk6J7kVIMVVm26s2cQsmAlZRkKiquh89buSIug== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795705809; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=nve0oiWt3fDBEFLCLIFQKd/HP7O7o2kSx1+K6NEp3nc=; b=rsTtR2dq2Wez4I1/oAXng9dPnOBdvRRWa3L9eXl5g2nvT8SbA1T4Yyw4VwSyvd5V3zWo b9nR+XJZjrOeomWJLk7l4TWtVjv1QHaN5nH5arwNdJTWHH7kro1jbfc05G2xgrHZvVFAw YCoam7+ubEXfYO4IC9k7PTuC4w42HCGeu0oCnNRisCLGZiOmF/QcKx1KsdnJ5tutLbom9 qNpXzRfsmhiEDnOmPSOiQLfyQm6XDIr49j7yVeQqnvv1qndi7A8sIHzjJzGESVUpO5kIi fNWcpDQzsU5YM0RiVMEjX2+cXX8VA8Gf81XZiCua8D5gdl79/2s893HkSbyIauF+T7w== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=aelEwF6A; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 23DC1606A332; Thu, 26 Nov 2026 15:10:09 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BCE7E1F000CF; Thu, 26 Nov 2026 15:10:08 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795705808; bh=nve0oiWt3fDBEFLCLIFQKd/HP7O7o2kSx1+K6NEp3nc=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=aelEwF6A03r3YWdtYsLZPM9kvOmQFrhn7zpswNC32gfEfUBl5dMYRElCUEcYrhqGw z7FV1skppZDcvhD23+lrQHZMWdRCVsDh+NO907CHknnDvs1Qst45NWjW0gvhs9Dv+u TF3Ez5l5oRISNn+kARNT/g3+WaXqGFWDOnZfqjQa1vnMfi/cQSH08VRSBT5O6m/1gK 9NJc8WNFyiozd40Dm78TkZCUjWCGcgC75/xwwNx6Gk9xCf8DfYhsAePkPwqu9LWxI5 KC2N9En3vvNJd8so0VJgoZbqa5K7LLfvlVwG6zdlBR50aS3Schr+zCGfmpZht+w65E UuTB2L8hZeerQ== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id B445E380A96C; Thu, 26 Nov 2026 15:10:08 +0000 (UTC) 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: <20261124085757.1093632-2-mkl@pengutronix.de> X-Cc: netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org, linux-can@vger.kernel.org, kernel@pengutronix.de, socketcan@hartkopp.net, stable@vger.kernel.org