Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
-
3
-
9223372036854775807
Description
Direct IO cannot safely be done from a pipe iterator like used by NFSD. This is not normally an issue, since nfsd doesn't attempt to do direct IO in this setting. However, hybrid IO changes this, switching over. This only comes up with a very small threshold - smaller than pipe buffer size - but it is a real bug, causing memory corruption.
The solution is simply to reject all direct IO - not just unaligned - on pipes.