Linux Kernel NFS Directory-Open Flaw Exposes Uninitialized Data
Patch & Detection Intelligence · 2 sources · Updated 3mo ago · First seen Nov 8, 2022

CVE-2022-24448 affects Linux kernel NFS directory-open handling: an application opening a path on a mounted NFS filesystem with O_DIRECTORY could receive an uninitialized file descriptor if the NFS server returned a regular file during lookup, rather than the expected ENOTDIR error. The resulting condition can disclose uninitialized kernel data to local, low-privileged users.
The upstream NFSv4 fix validates lookup results when LOOKUP_DIRECTORY is set and returns ENOTDIR for non-directory objects. Red Hat rated the issue CVSS 3.3 (Low) and released corrected kernel packages for affected RHEL 8, RHEL 8.6 EUS, RHEL 9, and Red Hat Virtualization 4 on RHEL 8; its RHEL 6 and RHEL 7 kernel variants are marked will not fix.
Why it matters
Impact assessment
CVE-2022-24448 permits local, low-privileged users to disclose limited uninitialized kernel data on Linux hosts that mount and access vulnerable NFS filesystems. The issue is low severity (CVSS 3.3), has no stated integrity or availability impact, and no exploitation in the wild is reported in the supplied references.
Affected scope
- Affected component: Linux kernel NFS/NFSv4 directory-open handling.
- Exploitation requires a locally executed application and access to a mounted NFS filesystem.
- The trigger requires an
O_DIRECTORYopen operation to resolve to a regular file returned by the NFS server. - Red Hat fixed supported RHEL 8, RHEL 8.6 EUS, RHEL 9, and Red Hat Virtualization 4 on RHEL 8 packages.
- RHEL 6 and RHEL 7 kernel variants are marked will not fix.
Business impact
- The primary risk is limited confidentiality loss: kernel-memory remnants may be exposed to userspace.
- Exposure is constrained rather than internet-widespread because exploitation is local and NFS-dependent.
- Multi-user Linux systems, virtualization hosts, and environments where untrusted users or workloads can access NFS mounts have the highest practical risk.


