[Bug 260272] short OPEN reply can crash NFS v4 client

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Dec 2021 22:02:05 UTC

Rick Macklem <rmacklem@FreeBSD.org> changed:

           What    |Removed                     |Added
             Status|New                         |Open
           Assignee|bugs@FreeBSD.org            |rmacklem@FreeBSD.org

--- Comment #1 from Rick Macklem <rmacklem@FreeBSD.org> ---
Created attachment 229982
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229982&action=edit
fix two places that need to check for an error return from nfsrv_getattrbits

nfsrv_getattrbits() can return an error when the
received attribute bitmap does not parse correctly.
There were two places in the client where the code
did not check for such an error return.
This patch fixes these two cases and should fix the

Maybe the reporter can confirm that the patch stops the
crashes for them?

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