[Bug 260012] NFS v4 client can crash server with a bad LAYOUTRETURN RPC
Date: Thu, 25 Nov 2021 23:58:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260012 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=229733&action=edit 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? -- You are receiving this mail because: You are the assignee for the bug.