Skip to main content
Mallory
← Back to News
widely-deployed-product-advisoryprivilege-escalation-method

Linux Kernel NFS Directory-Open Flaw Exposes Uninitialized Data

Patch & Detection Intelligence · 2 sources · Updated 3mo ago · First seen Nov 8, 2022

Linux Kernel NFS Directory-Open Flaw Exposes Uninitialized Data

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_DIRECTORY open 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.
Patch this, or something else?See real exploitation activity before you spend the cycle.
Triage this advisory
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Nov 8, 2022
  1. Reported Nov 8, 20224y ago

    Red Hat fixes CVE-2022-24448 in RHEL 8.6 EUS and RHV 4

    RHSA-2024:0724 fixed CVE-2022-24448 in the RHEL 8.6 Extended Update Support kernel and the Red Hat Virtualization 4 kernel for RHEL 8.

    CVE-2022-24448 - Red Hat Customer Portal
  2. Reported Nov 8, 20224y ago

    Red Hat releases RHEL 9 fixes for CVE-2022-24448

    Red Hat issued RHSA-2022:8267 for the RHEL 9 kernel and RHSA-2022:7933 for RHEL 9 kernel-rt to address CVE-2022-24448.

    CVE-2022-24448 - Red Hat Customer Portal
  3. Nov 8, 20224y ago

    Red Hat releases RHEL 8 fixes for CVE-2022-24448

    Red Hat issued RHSA-2022:7444 for RHEL 8 kernel-rt and RHSA-2022:7683 for the RHEL 8 kernel to fix CVE-2022-24448, an NFS flaw that could disclose uninitialized kernel data to userspace.

    CVE-2022-24448 - Red Hat Customer Portal
  4. Reported Jan 6, 20225y ago

    Linux kernel fixes NFS O_DIRECTORY lookup flaw

    Linux kernel commit ac795161c93699d600db16c1a8cc23a65a1eceaf was committed to validate directory lookup results in the NFS atomic-open path and return ENOTDIR for regular files, preventing return of a file descriptor with uninitialized open state.

    NFSv4: Handle case where the lookup of a directory fails - kernel/git/torvalds/linux.git - Linux kernel source tree
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Red Hat Enterprise Linux
Do you run this?See real exploitation activity behind this advisory so you can triage it against everything else in the queue.
Prioritize This Patch
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.