🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #20216

Re: [PATCH net v2 0/1] netdevsim: bound the peer TX queue index in nsim_start_peer_tx_queue()

#20216
From: Kyuwon Cho
Date: Sat, 21 Nov 2026 20:00
17 lines
11739 bytes
On Sat, 21 Nov 2026 19:38:20 +0000, 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.

It was found by an LLM-guided test generator that we are developing as
a research prototype. One of its tests relinked netdevsim peers while
packets were in flight, and KASAN reported the out-of-bounds read in a
QEMU guest. The v1 report has the details and the reproducer:
https://lore.kernel.org/netdev/179505710275.3511681.13434978152402269948@gmail.com/

Thanks,
Kyuwon Cho
Technical Details
Message-ID: <179529106761.2109137.12232270002163099425@gmail.com>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368437-linux-kernel-netdev=dewy.ru
References: <179528809256.2009509.5007624677973207521@gmail.com> <179528990077.3294.3095834745568902393@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368437-linux-kernel-netdev=dewy.ru
From: kyuwoncho18@gmail.com (Kyuwon Cho)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2 0/1] netdevsim: bound the peer TX queue index in
 nsim_start_peer_tx_queue()
Date: Sat, 21 Nov 2026 12:00:49 -0800 (PST)
Organization: Usenet Network
Message-ID: <179529106761.2109137.12232270002163099425@gmail.com>
References: <179528809256.2009509.5007624677973207521@gmail.com>
 <179528990077.3294.3095834745568902393@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="3482717"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:gFglxnCPwRJFWEJuXWbIqa+ru/g= sha256:nqYbWWJW9ahjlg+HSTMCgX3u3WA9xc+ofQ8nQGCGcM0=
	sha1:AOeYzYtKRWC4VUVwBLTEblOkslU= sha256:jSX4wi+RjZaPMCoKEKNBprczp+7JpASWp/fWu4wpg8k=
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 4CC73115BDA; Sat, 21 Nov 2026 23:01:09 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
	FREEMAIL_FROM=0.001, 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] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=gmail.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 TJznM4BZmA-b;
	Sat, 21 Nov 2026 23:01:05 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-368437-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 559DA115BCB; Sat, 21 Nov 2026 23:00:56 +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 59D5E30E9B; Sat, 21 Nov 2026 20:00:54 +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=1795291251;
	b=isMY0qJ7107DPdfBQYaD4CJrtrputAKJIiNox+JtJUAoUuLB5ZBLrGpLhdqwi+vEQfih
	 kMIqPO3CBgAlFMgTb5QY7IMabBzDI30bVK616xqOMzdqjg+SM7f/lsmU8/1AGVOu12qLC
	 Vig3nDjbVwWWWtbVGHPp4xUQQ5ldGMNB6UCdho+gvbIm4aHxwR0JyJr5GfF/20Gv8b92W
	 ERZfdmhLRokZsOsvrDXduG4Odj5fK/S6mmr1x+VyKy7aERrrfjCtE4WvyZMCu/DAf/oQS
	 PfrcKTQTem3Ev4bR0VuBqJ4Ihf4OOMDzJxy5H3kAVeuV30Dc+ZpL/F/+RO+vELXHwLA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795291251;
	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:Date:From:To:Cc:Subject:In-Reply-To:
	 References:Message-ID:Content-Type:Content-Transfer-Encoding:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version;
	bh=7HhrTcuAlkekQD6nLymqH1QuQkx+iwC8jwRAw0bA46g=;
	b=W8Tizwxot/fdF/6iph/80hKEp8xTdNthuHv3s2YrFEp5HfZznRo7hL2TqeGh3/fKx7zq
	 YZPxp8gDftUJqOPksoSmkys7vlzIMqcQVXdKc6oeoClJo4gJtggZTQZ0ZRH/LVpEcLRND
	 Lpy+dFA1NpmEtKUpv/Gf60qwA6lr2TypgDBuC5nMiT0bUPpMa8NoIfT0O6FZ/gQseCksN
	 sIqy1a6QZ5pMM0ZSLGeUIN15+smlnPTuQPLUiCbJy/L0gRjNQszVypvz1BXVa60OrcIF1
	 nnjw5QmGaAzMRL6ltFkMBhD9uQICux4nj3kpfvffNh06ItOW1Y8j+own9p4w3a0Z9rQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b="pA/HvUny";
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.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 B7867606A682;
	Sat, 21 Nov 2026 20:00:51 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=pA/HvUny
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.170
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795291250;
	b=bF6rfN0OfliyX+tLYd7UZKlmKWXIH5eghMlYtFrxMnL1KOwZanwyPiJs+k+UB+6saj38
	 cMfmgDMWowDCm7AC4qxg5/jjFw7pkX24ZEIGiEe0R2K2l+tHe/BlhP1QXMftBS1gYqquh
	 IuMSfUFEuehnmm/TZTJQTr/2qvi4aMsxLOsn1ClrkRTGGYp9y0WdskXGlr7dT0tvAaCQi
	 MtLa/50gSaBJnwra00rVFPdzB3ng74xNt7vvewRRtsp19U+YsDqi3dKXY/hLB4ZRJcrqb
	 q5YJDh8Ik7kDCT7nmtUAKG4TW+8e9UOtPJ2R4d28AzsHYcHL4tDR4TowzwX523nLm5w==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795291250;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
	 Date:From:To:Cc:Subject:In-Reply-To:References:Message-ID:
	 Content-Type:Content-Transfer-Encoding:MIME-Version;
	bh=7HhrTcuAlkekQD6nLymqH1QuQkx+iwC8jwRAw0bA46g=;
	b=1DWPG+ElxoBuWcWjuBLV+FVrUJuN7qQHNzTqvwHnmrh+5EoIBv+8B7ImLR+9irO3pG8f
	 HC3QzVBPAY8m6VBMCj4zs94Nbdd56hnQhTsCQYP1Gg3Sl91mN/Y74/bZ/06SHsH1Hp4Rq
	 HLGix/GZeHUzCIGDUBy9W0V1wOWp0L99SqGIJs7RbY3sEOhDhtPfBFEsPu6v1T/cUZPOw
	 h++LXo35fFek9fa71/GO2rDrHIEwC9KRQuyRaWwN9kA2C8IcO0WS6L6wVclFACn1HOIsB
	 cyt3RIFWsJ40iPD2LWXdmr06v76NaGkr6HUcdvF5EPbUHkEvKBqqUYbP0LWMTFLiTYA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b="pA/HvUny";
	arc=none smtp.remote-ip=74.125.82.170
X-Received: from mail-dy1-f170.google.com (mail-dy1-f170.google.com [74.125.82.170])
	(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 8A150606A335
	for <netdev@vger.kernel.org>; Sat, 21 Nov 2026 20:00:50 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8A150606A335
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-dy1-f170.google.com with SMTP id 5a478bee46e88-3869f03af6aso753257eec.1
        for <netdev@vger.kernel.org>; Sat, 21 Nov 2026 12:00:50 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20260707; t=1795291250; x=1795896050; darn=vger.kernel.org;
        h=mime-version:content-transfer-encoding:content-type:message-id
         :references:in-reply-to:subject:cc:to:from:date:from:to:cc:subject
         :date:message-id:reply-to:content-type;
        bh=7HhrTcuAlkekQD6nLymqH1QuQkx+iwC8jwRAw0bA46g=;
        b=pA/HvUnykyEjuEMak/FiXGOfb0wuOZhIVkWLGpFFZDtExn5xHTeAIzBTM3m7VBUqpU
         E4+CamvZwbRgp60kuGji98jZqW1Ze4NshVgm343IT302QCIbtgWivnRZ8galqXbtHbC1
         MEVgLg+4wf63baVRNek0OWuiB9vwpFjIE0rp8Ll+XRjAq+K33mKHdZFyZDWOuBlTswwD
         M+TcRjBxAhVj0/XOjvhkl9fAzEbEPaR44OqIwiCh4TY/KkaPldBR9H7+DAa7uggRv1xZ
         sPbGKTEW3Asxc/ifezaY9zfujY3Dc1lEKsDLt6p64yYUQ1usnOwzA1VDc310dUmvzJ18
         93uQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1795291250; x=1795896050;
        h=mime-version:content-transfer-encoding:content-type:message-id
         :references:in-reply-to:subject:cc:to:from:date:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=7HhrTcuAlkekQD6nLymqH1QuQkx+iwC8jwRAw0bA46g=;
        b=SiGbVhpmFBGDrotRSaASCK5RGsYt4jzYypN8x3x4cReiQo1a9OfQnoyG4cL0+VOEVy
         aaFocsZUiw+Wt4B2MnYQqV3BzJxm8uwXngFg5/YobkRsitgFM6kedcbEKepzbdiZ1hyx
         t4gBkUoLPog1ONKdLEaJsPo3/T3m1xvbhM8ZzQXrQysvONKz6P4eCgkwiu7wg70t8n+B
         TXZybnrCfK4y6IqpbrLbISttU8Lsrg8Wz2+6IEyJw5sPMXYImDCyEblQBuIWLH9ajzRT
         X2RT8L7t+fVlcCzIo5QDApBk0esWURhkKkLU0RmdOGagHygrpv1TMBvsDgHEodgOXRwJ
         V5zA==
X-Forwarded-Encrypted: i=1; AL+hErEr6CLl8+O7iBcjuPJwSu8TiLIPRvq1IcqXsjQEie14p9wCc+UrMnxhxG5rANq7oZDR1XISt4A=@vger.kernel.org
X-Gm-Message-State: APuU4Z8mqJYHPYC1C2PDqtMMHB9WqCVaEwDlb9sc4a7PE4hOCR3UXScN
	K3AvBmxpmPsQ4kj5/+b31IRzyQUZn7wzTHnkMioz1HTKINQCk+Emfd6k
X-Gm-Gg: AZFdTZfBbw7Tc8MUgwqg0kYH80nRNsTbZQZDMUYKiDgXqZkc9d/2ENdaZcu5BEKOK5Z
	dhkVOGT0yLZCwjfKVEjtKa5W0hKVjQMTCnQ5bnf8su5IlpOXlEer9Sioxpv8iHJTy4ewW95HdEu
	+TwmrI7XiwzJeYYLxkfDg576CdVezd3saBDKq+uB7iKNYFPNWzEl9y1ImEEsnoVN7ABH7+sPuux
	u70DY37qDm1e1WVMPT7h/qxS4noQPBhyEGl8sRyn+/AqwUkWlmzsJlv1nwHbcfKwSwvQTqcGP0z
	6A1drPey3dH6bszXyUYUCgA8sLpx8an+5wXnoPvSC+CgUvEAp1mgu+KICd04jkueJnAwp0/VOls
	iPugBWIuPcZq2gFDCH9BiG4jMRvDzwYKFQzvJSgjY7lNiaWXXLEYeJ1sMDWnHcOF99WScCijSfX
	dVr/rILFCXbzKDuyb+Y8j0Cai/jrVdM4n2rgYBuFpiXmL4WXU/r04gjx9N25EvDdWqT0h8Ay7/Q
	6arVKI74LdU3OfVYf3o9PME4Ht3WykmOkM+iIFIX3Coy74aSRePqJBZFC9BAvRO8M0kua8=
X-Received: by 2002:a05:693c:414d:20b0:382:cd5e:dc9e with SMTP id 5a478bee46e88-3869a1501f1mr4067454eec.13.1795291249505;
        Sat, 21 Nov 2026 12:00:49 -0800 (PST)
X-Received: from [172.21.0.2] (vldb.skku.ac.kr. [115.145.173.180])
        by smtp.gmail.com with ESMTPSA id 5a478bee46e88-38566cd40c5sm23438603eec.10.2026.11.21.12.00.47
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Sat, 21 Nov 2026 12:00:49 -0800 (PST)
X-Cc: Jakub Kicinski <kuba@kernel.org>, Breno Leitao <leitao@debian.org>,
 Andrew Lunn <andrew+netdev@lunn.ch>, "David S. Miller" <davem@davemloft.net>,
 Eric Dumazet <edumazet@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
 netdev@vger.kernel.org, linux-kernel@vger.kernel.org
X-In-Reply-To: <179528990077.3294.3095834745568902393@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