Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Nov 2021 23:58:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 260012] NFS v4 client can crash server with a bad LAYOUTRETURN RPC
Message-ID:  <bug-260012-227-vKPUJyw9fD@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260012-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-260012-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=3D260012

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 229733
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D229733&action=
=3Dedit
Check for a non-NULL layp before calling nfsrv_flexlayouterr()

This patch should avoid the crash.
While here I also added a sanity check on the
size of the error data.

Maybe the reporter can test to see this fixes the problem?

--=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-260012-227-vKPUJyw9fD>