Article View: linux.kernel.netdev
Article #27037Re: [PATCH net] vsock: avoid narrowing the receive queue length to int
From: Ryosuke Iwahashi
Date: Fri, 04 Dec 2026 16:39
Date: Fri, 04 Dec 2026 16:39
29 lines
13425 bytes
13425 bytes
I found this during an LLM-assisted review of the VSOCK code for kernelCTF. With 2,147,549,184 bytes queued, a one-byte MSG_PEEK returned -2147418112 on the unpatched hardened-v1-7.2-rc5 build and 1 with the patch applied. On Fri, 04 Dec 2026 16:37:22 +0000, netdev-bot+sinfo@kernel.org wrote: > Hi! > > 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. > > - 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. > -- > The evaluation is done by an LLM so it may be wrong, if you think > that is the case please reply and explain.
Technical Details
Message-ID:
<CAN2NGG5MQMDDwCmQRxLEwOCpjKHRPv6rhhnWFo+v0+4u9kJcjg@mail.gmail.com>Path:
mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377501-linux-kernel-netdev=dewy.ruReferences:
<CAN2NGG68dKx9L5sezmDhBNizJVAMGUPEnY0S78---NLRa-frUA@mail.gmail.com> <179640224249.3305.2809250812772533091@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377501-linux-kernel-netdev=dewy.ru
From: ryosuke@ikotaslabs.com (Ryosuke Iwahashi)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] vsock: avoid narrowing the receive queue length to int
Date: Sat, 5 Dec 2026 01:39:16 +0900
Organization: Usenet Network
Message-ID: <CAN2NGG5MQMDDwCmQRxLEwOCpjKHRPv6rhhnWFo+v0+4u9kJcjg@mail.gmail.com>
References: <CAN2NGG68dKx9L5sezmDhBNizJVAMGUPEnY0S78---NLRa-frUA@mail.gmail.com>
<179640224249.3305.2809250812772533091@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: usenet.network;
logging-data="2809090"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:d7228DiP+tGRwKkVdrs1/8UjhVE= sha256:yVavere12YTVhs/F7rP9qQVIgHfgmwVZNzYIr1FLAjk=
sha1:0o7lyD3648GV+f7OUXwYYG08yBQ= sha256:7uLaYPPwDh+dDPWqtOm9KA+sj6II4548nMviHsYsiLs=
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 E99CF117C72; Fri, 4 Dec 2026 19:39:33 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.398
X-Spam-Status: No, score=-3.398 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.001, 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=ikotaslabs.com
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 ysxdsP_3uiHR;
Fri, 4 Dec 2026 19:39:31 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-377501-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=ikotaslabs.com
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
by mail.dewy.ru (Postfix) with ESMTPS id BB06F117C73; Fri, 4 Dec 2026 19:39:22 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sto.lore.kernel.org (Postfix) with ESMTP id 92065607AD6; Fri, 4 Dec 2026 16:39:21 +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=1796402360;
b=0zbbBGh1i8SPfjeJ5T0VXArRN9oZpt6W4/YnaORIy/NcsJbYdlBOFxvonT5XnwX+hdB8
bQTWZMi8R73JM24OmvquuYWrBmhzK5Eg4OLCrZYwCFRcCv5HMExoyqWNOHqisturlHoFt
rcxcrTNqJ6U0I+aSQP+4F0rxXorbe/Jttwe/N3T6qyU2lsUnLz3d9Gaq8jCPU2uGCABJl
JHpZQ6RV5sE9DeGbC4iFp5afkF1UBYtfOIaUhi2dHUygmd/RkR2zvv3Q85L0RteixJQHe
lUbQPiQW3Bl9p2syb/7PXabtNxBraDWZa8Btu+O0fGK3xop7+E47j7sk/RURKq7q1CQ==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796402360;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
X-Gm-Gg:X-Received:Received:X-Mailing-List:List-Id:List-Post:
List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
MIME-Version:From:In-Reply-To:References:Date:X-Gm-Features:
Message-ID:Subject:To:Cc:Content-Type;
bh=V1nwuMtMK06qpVhJy6S6ugCsI+awKPfpr3e7V4LURpg=;
b=UY6F6Ka70LWT8FQhkAdBeD4LNeXgjt4cpbQb52guymoBMY8XfCdA49S2kahBnlLmgupJ
VatR6fPlxlXC9SjXjnz3GjL1zklGQbJFQFj6HExeMPl6tv9HFNPVMLxIjCXmngn+DZGAf
f/8WLNG2XtmZSyEQzh3SPYT0hwexp65+bNW8eENzcIXJoZyX5YO4/fTgudaw0qVPyc9ju
vzpZXdzkoWNhmAnxL8cikXRcl9Lh2ChoFZHGOKoKTncotVyvyElVCz3Z3EWiULoVkGufh
aUuLDEUTFcSBfnu6qJY9pTxKvGPSnqAMjB3VhyDz8TdBmnV6t+xcKIJeWy4oVkNnxVA==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org;
dkim=pass header.d=ikotaslabs.com header.i=@ikotaslabs.com header.a=rsa-sha256 header.s=google header.b=P1XTvMHG;
dmarc=none header.from=ikotaslabs.com;
spf=pass smtp.mailfrom=ikotaslabs.com;
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 17BA6606A33A;
Fri, 4 Dec 2026 16:39:20 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=ikotaslabs.com header.i=@ikotaslabs.com header.a=rsa-sha256 header.s=google header.b=P1XTvMHG
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.214.175
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1796402359;
b=tomilzQAVJpzkGJ4KNHwBcZnJdt6G7EZBs2nFh1b4kpK8OrPpuKgySEEl5HqM6C1dhNT
O8rkEeBaPNGWyNVXtjEf0W+I4ijHPTuoJWytc6gLVBsEHmzOTL5ZEkBQg9qPqrFbw9e5w
3ggHpDWb6TbEdz4In0XAFXLexCin6lTYj3yXETJYufTOqOP8VxhHO8pSfUdGM8yeP2aPs
NFYzGhqMBVrdFmRgBMJv74+yDLHzH5EA/zOEwaWSNxuSwUvnH43gi5fvNjUFS+z7+rg/4
8d9ZSbvVYGneMKDEd/3DEy+OsTPtRgdodWK9OBDIWBtYXq571aIF1uj1k0yN0DtpqfQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796402359;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
MIME-Version:From:In-Reply-To:References:Date:X-Gm-Features:
Message-ID:Subject:To:Cc:Content-Type;
bh=V1nwuMtMK06qpVhJy6S6ugCsI+awKPfpr3e7V4LURpg=;
b=yCLTdzsXcjcE7uzsAdijiJvsau4DD7YPdJasuMszPsC855HEcl/a981NfSJmp2FOkkvI
qU0SCZTQdAZd72rJAjoQX6tO4k/sRuPjSCtkyqdPxbKHHoYQze6nSaqvfk9ZWq0aEKTy1
ezxMhNVPFzZt/LyJpKY0ss7+hYhYc6VfKr9whQSK7i3JYBOkmGEi738J6toU8jIk/75Gd
WblzZk4Ks+uN2WRAlTopAFtkbEM17ashdCS+YkSK4prO7QacaENpcN7VHFBm3AhFna/PI
idebjtz3Dd7/SUE1QI44fVzxWP/YcoYzlS+Egoc9UQ96XSw2EwNZWQ9bx69XvYK1Q8g==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dmarc=none header.from=ikotaslabs.com;
spf=pass smtp.mailfrom=ikotaslabs.com;
dkim=pass header.d=ikotaslabs.com header.i=@ikotaslabs.com header.a=rsa-sha256 header.s=google header.b=P1XTvMHG;
arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.214.175
X-Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD5D8606A32D
for <netdev@vger.kernel.org>; Fri, 4 Dec 2026 16:39:18 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org DD5D8606A32D
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ikotaslabs.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ikotaslabs.com
X-Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-2f0458cc9easo12338695ad.3
for <netdev@vger.kernel.org>; Fri, 04 Dec 2026 08:39:18 -0800 (PST)
X-ARC-Seal: i=1; a=rsa-sha256; t=1796402358; cv=none;
d=google.com; s=arc-20260327;
b=EGb7SUWBiFdZPBeCMgOGJymCq7I30CGyZcI+D6iExzGEOSeqeS1C4LHd2taPP947qn
m5co0gq29dP0Hi6MPXOwVZRDdfI3m8bK5sDVROoOOHs/J6krvblBY1hjrFFwEIe+bl3h
g9fBROw1jcSS2zTkOs54c3VPeYdei+qvhZxssCPNhH6oJGQrpEY1ehVOnN5IkMGwLZBO
697mnZDfwS5RMfbN77oU9hg8rX3sMcmwrlkqzL9FVRlsNpZR5bDJ7n+uL5mPhroGePYo
3C9qznCDiyafuXLcSebWviOOsLXGPBeuWg8mgHTzzWHurhGaXgmoFV99pXdELJ9b3dny
k29w==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
h=cc:to:subject:message-id:date:references:in-reply-to:from
:mime-version:dkim-signature;
bh=V1nwuMtMK06qpVhJy6S6ugCsI+awKPfpr3e7V4LURpg=;
fh=V83JGP51hYOhNy3/LkIfNtPAj4yhETLG8huWenGXJ4I=;
b=Gof08w7aHHIUAoXMVSzzfSnaXRX+3zVbmCzRtpz2Puds+IRmDXN1tsBuIU7SOA1ylE
RwwaFbpmZ31udd/Ay+Xfnyv5kt1JAM6PaOc9o8SaZ0rlkgEUoczxOnzOw6cKWYn8yNO7
RDP13q6lZAjQ4KyCr8UQ/HB8ktgYe5qjVRZg8gqkcZ4FjfOKxqUYeKZ4rcNT5ZRRZ/yT
QUhKLxeScYhs23ZSe5vjvJ4waZCw28WJ+/wjvz3NtsR5L4AVqn6Aq2PvkL83sr1uIvxk
aOEuDYSl5eHZt6N6swTZgoBUDtSt6knMDgNjp97mKrQEAz72CwKVWaEa4VgBK23GVyKU
/YkQ==;
darn=vger.kernel.org
X-ARC-Authentication-Results: i=1; mx.google.com; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=ikotaslabs.com; s=google; t=1796402358; x=1797007158; darn=vger.kernel.org;
h=content-type:cc:to:subject:message-id:date:references:in-reply-to
:from:mime-version:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=V1nwuMtMK06qpVhJy6S6ugCsI+awKPfpr3e7V4LURpg=;
b=P1XTvMHGVEqSrdZgTY0ZDv7Z/X4A1D8RT12oVL/xTdtwYmUdhckVquo374NZ+bjYn5
iu7OyVSF1bzS2Bz5kl1+jZKLFL8oFEp+pyOpqknpFpx2j+r7vqFG+rzfQdKgk33bIGSm
4wUHCqHPwVtK0mJlKhn7WBC5AKk72CRM8MYUnxzNrXn2V4SRB+FByof/8F8fRGAnJEaM
tNH1or0R+zRqsAZaB/23DklkBEI50Mi+etEFrUb4BoD50hetBNoSgyos53f4LUE2uX7V
UYxYW3InulbzitR06/rc2dNTRsd9ECxnKYkJkWnzP1jtBuOh0rXKXJm62raM7tUVWL1b
c8dQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1796402358; x=1797007158;
h=content-type:cc:to:subject:message-id:date:references:in-reply-to
:from:mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject
:date:message-id:reply-to:content-type;
bh=V1nwuMtMK06qpVhJy6S6ugCsI+awKPfpr3e7V4LURpg=;
b=aXdbpTRL9gx2jGZedo253o6w7SHYuVpEOsZ3KmJ3rBPKUPcS860mvkZXa2JMJPBZ2d
PdMDpk9173VK2plgc4egjfuUe/4FJfOusZz9zodGNr4BT/woIETPtLuucuYkmM/r5ljr
apv3YVvr5Y/iz2RMS1wPWXtjrKBWjYVpfm0HQJl2JlNRwfkIgLwbqe2T7mxn/lk3ML9f
Au47FlXcVtG86CbptsFPQ3bqDH+Ye5Am8n0dgAQVqwfbQoReaXCeeVQd1D+/P4La0APV
zVQvY+zogtGY5VXIB0GS5EXhZ0Ai3zqHVIymZ2ZjfRfywqGsSM/Q2gcLOHwLqICGVceT
3m5A==
X-Forwarded-Encrypted: i=1; AL+hErEZRPBAJfci59uVz3qT2sfGVZYNKUltbxBWIjoPG4koP7xfw4nhWF9WXx7fCAHWtGe2pa5vEy4=@vger.kernel.org
X-Gm-Message-State: AB4q+uEvtz+2LHLljpV9z9oMq6d7/Vyayc4grE3ieoLLyHWatDiR0pwD
mjZL5RZyX19oeye8LPMhw8GdaxlE46xhzXftDvkE6xfbCQisRCg7UwqScECmgKq6MfNwp7Ook+J
P3TQQne0eVSbV9A/DjUcVub6BY/c2M+x9+ZZOtYy8bho=
X-Gm-Gg: AZFdTZcKpzE35zGKZUN6V2KYP/6FNwSVs7b2HRgOlijOJHQdD8z5JkDBdqgwJWMe5Cr
TXr8iEqCB8yGLfOhEgaLsPcMevLlehNeltZc9+1npd9cQ5H8rQRD70ZDFLlUDS45ogU8EO+Qqcx
WUlVZe33NBroetm1M/on5SYQE04E5YS2QKDdlbjY7TSDQjMjdVUPeliVgRyBWq5MJD1bh5w+JkY
cU86xZHrAqXN0qhmgNvOKDRh1oB2mQri6jxT0PHVXVldMYrnRj/YtxSoERU6fSzQ1YkPpJphN6V
BRVW2Wb9UiMORKEwq6jyOxofc+mZsMJsLRWZ5LxRV+wuluCwaCEYcuXdBT+DvkYPOK+MFbNm1eI
KjUHaPYSNSDZVmg2lZY8Hi4ibngWW/RDdpgEeIhb2f4yx5e5Ak6Ny1/1yT+VfSEwUy8IkXykzgf
lN6KcuoXoDH9s34GwVh/IRcJ05Q8/zvS1D+EY17vOkNljqOHBabQ7r
X-Received: by 2002:a17:902:e949:b0:2ef:ee1b:8e52 with SMTP id
d9443c01a7336-2f1ba19b7d2mr21712725ad.32.1796402358152; Fri, 04 Dec 2026
08:39:18 -0800 (PST)
X-Received: from 77377267392 named unknown by gmailapi.google.com with HTTPREST;
Sat, 5 Dec 2026 01:39:16 +0900
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: <179640224249.3305.2809250812772533091@kernel.org>
X-Gm-Features: Aa3M54pKlgrmSa4MFWsd49Bmd-e_jT3W8PbBHEaU060L1tRLPXw8TAXDrWc4520
X-Cc: sgarzare@redhat.com, bobbyeshleman@meta.com, davem@davemloft.net,
edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, willemb@google.com,
horms@kernel.org, virtualization@lists.linux.dev, netdev@vger.kernel.org,
arseny.krasnov@kaspersky.com