Date: Wed, 08 Dec 2021 21:58:11 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 260266] NFS callback RPC with negative taglen can crash client Message-ID: <bug-260266-227-FYPLXEMBdE@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-260266-227@https.bugs.freebsd.org/bugzilla/> References: <bug-260266-227@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=3D260266 Rick Macklem <rmacklem@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |rmacklem@FreeBSD.org Status|New |Open --- Comment #1 from Rick Macklem <rmacklem@FreeBSD.org> --- Created attachment 229981 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D229981&action= =3Dedit properly sanity check the callback taglen The sanity check for taglen in the callback request was incoorect in two ways. 1 - It did not check for an excessively large value. 2 - It did not set the taglen to -1 when the sanity check failed. This patch fixes the above and should stop the crashes. Maybe the reporter can confirm that the patch stops the crashes for them? --=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-260266-227-FYPLXEMBdE>