[Bug 283538] Linux NFSv4 server generates incorrect XDR for RPC reply
Date: Tue, 24 Dec 2024 00:33:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283538
Bug ID: 283538
Summary: Linux NFSv4 server generates incorrect XDR for RPC
reply
Product: Base System
Version: Unspecified
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: bugs@FreeBSD.org
Reporter: rmacklem@FreeBSD.org
When a NFSv4 mount of a Linux knfsd (the default one
in the Linux kernel) is done, it is possible for the
Linux server to generate incorrect XDR for an RPC reply.
This occurs when the reply XDR for an operation before the
last one ends at exactly 4bytes shy of a page boundary in
the Linux server's reply buffer.
This has been observed for Readdir replies, resulting in
a truncated "ls" output in the client, although the files
exist in the file system on the Linux server.
Although this is a Linux server bug, the PR is being created
to keep track of it, since the FreeBSD client is most likely
to experience it, since it does a GETATTR operation after
the READDIR operation in the compound RPC.
--
You are receiving this mail because:
You are the assignee for the bug.