Skip to content

Fixes for nfs_atomic_open()

Scott Mayhew requested to merge smayhew/centos-stream-9:bz2059729 into main

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2059729
Tested: Tested with cthon and xfstests, as well as some testing using
kprobe events to verify that attempting to open a regular file with the
O_DIRECTORY flag causes nfs_atomic_open() to return -ENOTDIR.
CVE: CVE-2022-24448

Signed-off-by: Scott Mayhew smayhew@redhat.com

Edited by Scott Mayhew

Merge request reports