Hide Forgot
If an application sets the O_DIRECTORY flag, and tries to open a regular file, nfs_atomic_open() performs a regular lookup. If a regular file is found, ENOTDIR should occur, but the server instead returns uninitialized data in the file descriptor. References: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ac795161c93699d600db16c1a8cc23a65a1eceaf https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16.5
Created kernel tracking bugs for this issue: Affects: fedora-all [bug 2051445]
Marking OSD 3.x affected/ooss. Marking OSD 4.x | quay-io-3 affected/delgated for low severity kernel issue.
This was fixed for Fedora with the 5.16.5 stable kernel updates.
Public commit for this issue: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ac795161c93699d600db16c1a8cc23a65a1eceaf