Date: Tue, 29 Oct 2024 09:11:58 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 173002] [net] data type size problem in if_spppsubr.c Message-ID: <bug-173002-7501-tJbUD44xBH@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-173002-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-173002-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D173002 Zhenlei Huang <zlei@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zlei@FreeBSD.org --- Comment #5 from Zhenlei Huang <zlei@FreeBSD.org> --- Actually user space `struct spppreq spr` is not explicitly zeroed [1], so `fuword() / fueword()` can read garbage into kernel space. I guess /sbin/spppcontrol will get error EINVAL occasionally on a 64bit platforms. As this is an old report, not sure if the reporter Jens can confirm this. 1. https://cgit.freebsd.org/src/tree/sbin/spppcontrol/spppcontrol.c?h=3Dstable= /13#n63 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-173002-7501-tJbUD44xBH>