🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #21422

Re: [PATCH net v6 0/2] vsock/bpf: fix recvmsg deadlock and zero-length, OOB, errqueue reads

#21422
From: patchwork-bot+netdevbpf
Date: Tue, 24 Nov 2026 01:00
26 lines
9005 bytes
Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Sat, 14 Nov 2026 12:59:13 +0100 you wrote:
> On a vsock socket in a sockmap, a blocking recv() deadlocks with the
> virtio delivery worker and stops all vsock rx on that worker, and
> zero-length, MSG_OOB and MSG_ERRQUEUE reads spin with the lock held,
> wait, or consume stream bytes. Both come from the commit that added
> sockmap support. Patch 1 hands those reads to __vsock_recvmsg(), and
> patch 2 releases the lock around the wait and makes the wait loop.
> 
> [...]

Here is the summary with links:
  - [net,v6,1/2] vsock/bpf: fix zero-length, MSG_OOB and MSG_ERRQUEUE reads
    https://git.kernel.org/netdev/net/c/a4b5c8d6de91
  - [net,v6,2/2] vsock/bpf: release sock lock while waiting for data in recvmsg
    https://git.kernel.org/netdev/net/c/cfd56c8720f8

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179548200601.3207943.5212096755627241537.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-369895-linux-kernel-netdev=dewy.ru
References: <20261114-kbh3-1-022-fix-v2-v6-0-96b6029bbffa@eldare.de>

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-369895-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v6 0/2] vsock/bpf: fix recvmsg deadlock and
 zero-length, OOB, errqueue reads
Date: Tue, 24 Nov 2026 01:00:06 +0000
Organization: Usenet Network
Message-ID: <179548200601.3207943.5212096755627241537.git-patchwork-notify@kernel.org>
References: <20261114-kbh3-1-022-fix-v2-v6-0-96b6029bbffa@eldare.de>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="4021592"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:1Q4i8hpFr1o3zSZpGHDYz1Nng3s= sha256:xyT2IpzfzN4MIiadqt7RydVyOFF8SBQ8w8jQAj1rlrw=
	sha1:dOCBJuKKtOnh03CkKAzgs89vwQs= sha256:Jr89ULgl4DeQ2LV6y+KNPoGVrES4P4+RZ1G9VhflgPg=
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 CE34D125DC9; Tue, 24 Nov 2026 04:00:30 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, 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 OPSs8A5ud8o9;
	Tue, 24 Nov 2026 04:00:27 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-369895-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id 5B2ED125DC8; Tue, 24 Nov 2026 04:00:17 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id B224721D96; Tue, 24 Nov 2026 01:00:14 +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=1795482013;
	b=gfz3tGmDgFI+3z+vXRyF9WE9NbU5vI9/XCmOX0C12HXHhDY4dNorbvwgjVdQfx2GJqzQ
	 x1b/JhB+0+yIeWwTU1Es5wntcSDc++DFvUbC7zUdfFb2w7wSKg9ZC/NYob8rmFfGkk9wl
	 nLQb9eBxqQroRulsMnv4u7pDVnlcmLM7lGecbe3EVVltHIiu8nEwi9qqzK5Mucsr7aNsN
	 PE74/NN7hxXkAse54gfDt00R4Ji3MCVXcvZ6RxNt99hMrVhxPIN/b0KYhflQRCihp7Ns9
	 zldWfligeSpRnCCnimYFxp+oogSYstwtIUX1Ce5ci2Yq1/Bc6K768b9k/YwPVw9MhMw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795482013;
	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=Z6Awb/FZTQ7QqsWLS816v+yxjQCwR8pFOu1dJZlIldc=;
	b=lDN4e+/OdzVlWtJkLwqidva7ZJ+yIUQOiiD1aCfpsl9K0MeaAvyjJU6dfNWSwPWvV+um
	 4J3eJdHUBQJTLuuk6nIWLrG5MDROO5lSRV3CiG5jTvMy5dh6GlIECgN9i96Wrxw+6lM+D
	 AqOEiFUv4hsYu1oSZfq+4+bzOz4FSvGPHklDB5kfAm4GiX4wjSgpwstnRVcCdRhgkExb3
	 XjQZhuO7YFxs2R8pPpntHHlOizE/6VpkDQLyACNQo7keP/myU4wDhKT5Sz7bAZFFLbXlX
	 h2Cw9UI3PL5cCuU3/KITjtZHF3cYHz+vQedfB5rCsG9xkdzREfCG2rlo4MYahUSomuw==
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=Ov8zGj0p;
	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 B1A18606A330;
	Tue, 24 Nov 2026 01:00:13 +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=Ov8zGj0p
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=1795482007;
	b=C3cfjs29PaAtKbK6CVSqeadrjTVSV/qreUvxHPhtFwoEGl4/d8EV87QO9nWywpN7AiP9
	 l6N1Bg4wEx+oFY9DuHZ6h/gFb6cnRrvqBVJeG2e30PN/CDzN3jwAaZD8B77czyYCjzYkL
	 mwfv1fYlTVFLdI21pc2Fkd7vSfKrx9yM8YnZTQS9EidKld3/xSvZz6HSjGs2C4ToDbqwc
	 gehMegVd/fOjO73pLBCkQY1bKyOm6uQ1bqWsaQG6ZxjxR9SuJye085nD5qkmZWVNeuJp0
	 lBfsTec9YwqQzFjsqc+bzptnKA5Kedm1opATbLbBY/xif/hb2S4BAsrDLKTZDIfWQfg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795482007;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=Z6Awb/FZTQ7QqsWLS816v+yxjQCwR8pFOu1dJZlIldc=;
	b=LvelpNnKakDEiDTa1gAjFRkg2P2Tm8MEAhyppPtuBsSF7grb8nFGgW8264atpvKK6Vnk
	 63/pSLZ5Z6ajxAGeOkKAX1MTm+ZDQMkCEz8lEtXPyx/Lu3IC+78udpvAr9KeUJQSdKlgR
	 3qJHyWYNVyhJyDuXqYl8iRfY3uM8L6t/p51ieaNuz4uZeikXalJGP9iH08oZONLs3LzFF
	 1ronsBlhQS0WAG6MzRqMaXPzWfFf++Jy15iKmMJG91X4f7hTSg4d9urICfTiI8TNz9K+g
	 xZEpIVdwMZDMTamW+Rh1xu7I1HPrKuJSvfw9xpu4sZz2Ut7i3MsexLYUzh4JdUxRAdQ==
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=Ov8zGj0p;
	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 CE665606A322;
	Tue, 24 Nov 2026 01:00:07 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 83B761F000C0;
	Tue, 24 Nov 2026 01:00:07 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795482007;
	bh=Z6Awb/FZTQ7QqsWLS816v+yxjQCwR8pFOu1dJZlIldc=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=Ov8zGj0pryc5LGwIKMgaekUOxaQGMEiUOjAdWWNHzTV581YWkF+v7/CCcA25v/6un
	 HeQ90A45TwqcJgYSr9rFxH0pUmPGfoh+JUB1ngDeZUfb8WhZ0Fo5V0fdlBGsq0jrnf
	 C0pYxaFNV5Y9bJEgpfp4tS752RXuFLPzYyW21/p/Pj7nPs21T1kR8Pz9KX8A4Aw9g5
	 mom8uUZxfdeqGLL55le40rtoPKOnWt9TuWsVqFfhnzIxYensfTKXIwynp+04x+xCl+
	 /tG0G38JoZFkGBrXUKTsRD4YJC68X4cH10NIa39/uw2pB3BRYqzrAwifSN8NAa4C/D
	 GsQQFdBKbxkEA==
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 7744C39302C0;
	Tue, 24 Nov 2026 01:00:07 +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: <20261114-kbh3-1-022-fix-v2-v6-0-96b6029bbffa@eldare.de>
X-Cc: sgarzare@redhat.com, bobbyeshleman@meta.com, davem@davemloft.net,
 edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org,
 mst@redhat.com, ast@kernel.org, mhal@rbox.co, virtualization@lists.linux.dev,
 netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org,
 stable@vger.kernel.org