🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.bugs
Article #766

[Bug 301166] ng_socket: ngc_send() accepts an arglen that does not match the sent message, so ngs_rcvmsg() copies kernel heap in...

#766
From: bugzilla-noreply
Date: Thu, 26 Nov 2026 21:05
17 lines
2643 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301166

--- Comment #2 from laamalif@proton.me ---
Created attachment 277766
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=277766&action=edit
reproducer: sends a well-formed NGM_NODEINFO (control) or an 8-byte message
with arglen 4096 (trigger); prints the reply sizes and payload bytes

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <bug-301166-227-vT6sUYZAcI@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <bug-301166-227@https.bugs.freebsd.org/bugzilla/>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.bugs
Subject: [Bug 301166] ng_socket: ngc_send() accepts an arglen that does not
 match the sent message, so ngs_rcvmsg() copies kernel heap into the caller's
 socket
Date: Thu, 26 Nov 2026 21:05:41 +0000
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-301166-227-vT6sUYZAcI@https.bugs.freebsd.org/bugzilla/>
References: <bug-301166-227@https.bugs.freebsd.org/bugzilla/>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="77448"; mail-complaints-to="news-admin@muc.de"
X-Original-To: bugs@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1795727141;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=dJjfWb9rv2IYzeW+t8mDtD5a9+GGdX695A7P9dYU2f0=;
	b=cnLmH9VywYyoemVAU2EIyj7R5cArEkOdDhEUkhyK3KsoBq/cJ/rNRHsiAQyzBVqhNd9Ry7
	5ugHveHXnkShOfgUbTd6M1QYx8J2ngAO4tul7BMJN3lhn8t95XP23JT9EN9NXpXWPtVBAd
	+rmXCy7hkazujKj3YmOtY464aNsIJ2P7UTCl2QCASs+jeefuqOijYKk34coiebTLODC4Ka
	w1gTpzVLaHUoKLGX/oQiIqKEW//U78DtldEdgHxRhSR1qJenUp7E5UuNy0wjG1xFgAiMW7
	rZJp9O5VDKKqtiiFOGzpxFNHRacLR5Q9O3GokUfBVTJv5M43iu4W5ETxFUe01g==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
In-Reply-To: <bug-301166-227@https.bugs.freebsd.org/bugzilla/>
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes