Article View: muc.lists.freebsd.bugs
Article #832[Bug 301234] sys_sctp_generic_recvmsg() copies uninitialized kernel stack out as the peer address on EOF
From: bugzilla-noreply
Date: Sat, 28 Nov 2026 14:59
Date: Sat, 28 Nov 2026 14:59
18 lines
2561 bytes
2561 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301234 --- Comment #1 from laamalif@proton.me --- Created attachment 277897 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=277897&action=edit zero the 256-byte sockbufstore in sys_sctp_generic_recvmsg() and skip the ktrsockaddr call when the returned address length is 0; adds the regression test -- 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-301234-227-eKtXTmBrQe@https.bugs.freebsd.org/bugzilla/>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<bug-301234-227@https.bugs.freebsd.org/bugzilla/>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!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 301234] sys_sctp_generic_recvmsg() copies uninitialized kernel stack out as the peer address on EOF Date: Sat, 28 Nov 2026 14:59:32 +0000 Organization: Newsgate at muc.de e.V. Approved: news-admin@muc.de Distribution: world Message-ID: <bug-301234-227-eKtXTmBrQe@https.bugs.freebsd.org/bugzilla/> References: <bug-301234-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="10217"; 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=1795877971; 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=XhJ8g6LpBjuJvlBnHEoIyI9JnnYDH/Z/wekH9BHe3pQ=; b=XSQWZaKwh4seF4x2is2Etpp18qp6X3XjQ2FwTQSTkXxrFpKt2yPLJrZduOsN8zaZx0/VRb YACoUs5qX92v636PPkDqJcWY9aSp5ZKnk5PVmC8olFjeQAiJscXaelk3/uP/3nRgpgaBCj sTrU39YkEEE/lKya032sJKNcDklOjROTRyrBGTvCjgfDAZk+r4RUlvYOfwspnQrlLkz2ZM Ev3nHm63f02Lhi0RR+thoN+RcLWPBl8+HLCEoGe/jYU6/wFLYghovtcHhxhU8IFx+fCWxP kel+4oi4YwW/83G8dGTsE6S7wCXFUcWKW7Cado83kGb5zXvX0t5tlvgXMDtxCQ== X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f In-Reply-To: <bug-301234-227@https.bugs.freebsd.org/bugzilla/> Auto-Submitted: auto-generated Precedence: list X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes