2022-10-27 19:17:57

by Chuck Lever III

[permalink] [raw]
Subject: Fwd: NFS 4 GPF while processing compound with multiple reads



> Begin forwarded message:
>
> From: Jan Kasiak <[email protected]>
> Subject: NFS 4 GPF while processing compound with multiple reads
> Date: October 27, 2022 at 2:16:36 PM EDT
> To: Linux NFS Mailing List <[email protected]>
>
> Hi all,
>
> While writing my own NFS client, I have found a simple test case that
> triggers a general protection fault on the NFS server.
>
> The NFS 4 compound is: PUT_FH, READ, READ
> The second read causes the fault.
>
> More information, including how to reproduce the bug is available in
> the bug tracker: https://bugzilla.linux-nfs.org/show_bug.cgi?id=402

Bruce, are you interested in applying:

https://bugzilla.linux-nfs.org/show_bug.cgi?id=402#c2

?


--
Chuck Lever





2022-10-28 14:58:37

by J. Bruce Fields

[permalink] [raw]
Subject: Re: Fwd: NFS 4 GPF while processing compound with multiple reads

On Thu, Oct 27, 2022 at 07:12:07PM +0000, Chuck Lever III wrote:
>
>
> > Begin forwarded message:
> >
> > From: Jan Kasiak <[email protected]>
> > Subject: NFS 4 GPF while processing compound with multiple reads
> > Date: October 27, 2022 at 2:16:36 PM EDT
> > To: Linux NFS Mailing List <[email protected]>
> >
> > Hi all,
> >
> > While writing my own NFS client, I have found a simple test case that
> > triggers a general protection fault on the NFS server.
> >
> > The NFS 4 compound is: PUT_FH, READ, READ
> > The second read causes the fault.
> >
> > More information, including how to reproduce the bug is available in
> > the bug tracker: https://bugzilla.linux-nfs.org/show_bug.cgi?id=402
>
> Bruce, are you interested in applying:
>
> https://bugzilla.linux-nfs.org/show_bug.cgi?id=402#c2

Applied and pushed out. (But not actually tested! Let me know if
there's a problem.)

--b.