Skip to main content
ISO/IEC 27001:2022 · Cert #2967/NET27A

Linux kernel OCFS2 dentry lock use-after-free CVE-2026-99690 (CVSS 7.8)

A Linux kernel OCFS2 race lets a DLM callback read a freed inode on clustered mounts. Fixed in 6.12.118, 6.18.64, 7.3.5 and 7.4-rc2.

Security advisory card: Linux kernel OCFS2 dentry lock use-after-free CVE-2026-99690 (CVSS 7.8). Severity High, CVSS 7.8. CVE-2026-99690.

Advisory at a glance

CVE
CVE-2026-99690
Severity
Severity: High CVSS v3.1 7.8
Attack vector
Local
Privileges required: low
Exploitation evidence
Not listed in the CISA KEV catalog (record checked Nov 22, 2026)
Absence from KEV is not proof that a flaw is not exploited.
Last reviewed

Advisory summary

The Linux kernel CNA published CVE-2026-99690 on 2026-11-20 and updated it on 2026-11-22. The record's title is "ocfs2: cache the mount context for dentry lock callbacks". The affected files are fs/ocfs2/dcache.h and fs/ocfs2/dlmglue.c.

ocfs2_drop_dentry_lock() drops the inode reference before it releases the DENTRY lock. This lets inode eviction release the local inode and open locks before a remote unlink can proceed past the DENTRY lock.

A DLM callback can still arrive before the DENTRY lock is dropped. ocfs2_get_dentry_osb() gets the mount context through dl_inode->i_sb. That read can touch a freed inode when the downconvert thread drops the last inode reference in its post-unlock callback.

The fix stores the mount context in the DENTRY lock resource's l_priv field and removes ocfs2_get_dentry_osb(). ocfs2_dismount_volume() shuts down the DLM before it frees the mount context, so callbacks can use it without touching the inode. The existing iput-before-unlock order is kept.

Severity and attack conditions

The kernel CNA rates the flaw CVSS 3.1 7.8 (High), vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. NVD lists no CVSS 4.0 score. The CNA's scoring notes say:

  • The race needs a local ocfs2_lookup() on one node and an unlink of the same name from a peer node.
  • ocfs2_lookup() and ocfs2_unlink() perform no capability check. The cluster lock is skipped only for a local mount (ocfs2_mount_local()) or a hard-readonly volume.
  • A local user who can look up the name and unlink it (directory write) on an already clustered mount reaches both sides of the race.
  • The callback then consumes freed memory as a pointer. Later stores in ocfs2_wake_downconvert_thread() follow pointers taken from the freed inode. The CNA scores both confidentiality and integrity impact as high.
  • If the reclaimed inode's i_sb is unmapped, poisoned or not a super_block, the kernel faults inside ocfs2_blocking_ast().

CISA KEV status

CVE-2026-99690 is not listed in the CISA KEV catalog (catalog version 2026.11.20). The CVE record does not mention any attacks. It is not known to be exploited.

Affected and fixed versions

The kernel CNA gives the following data for the stable tree.

Kernel versionStatus
Versions before 3.15, except the range belowNot affected
3.12.24 up to (not including) 3.13Affected
3.15 and later (unless listed as fixed below)Affected
6.12.x from 6.12.118Fixed
6.18.x from 6.18.64Fixed
7.3.x from 7.3.5Fixed
7.4-rc2 and later (mainline fix)Fixed
Introduced by commitFixed by commit
8ed6b23709b346f7bfc1edab47003a205a6a9f69a392e0231b9d823f2e62e21fef68ad6145119dca
8ed6b23709b346f7bfc1edab47003a205a6a9f69ee8997a4521964631d6cc0e511a186f69ce84dbd
8ed6b23709b346f7bfc1edab47003a205a6a9f6985bc2a3b1bece826c908a31c34a4865a80136bee
8ed6b23709b346f7bfc1edab47003a205a6a9f695b4696e0bfc358619adaeab25ad35b4979af8331
fc597a301fb2947af29ce67c12a419c39f044975No fixing commit listed

The record lists no fixed release for 3.12.x and no workaround.

Terms explained

  • OCFS2: Oracle Cluster File System 2, a shared-disk file system that several cluster nodes mount at once.
  • DLM: the distributed lock manager that coordinates locks between cluster nodes.
  • DENTRY lock: the OCFS2 cluster lock that protects a directory entry (a file name).
  • Downconvert thread: the OCFS2 kernel thread that releases or weakens locks when another node asks for them.
  • Mount context (osb): the per-mount OCFS2 state, reached here through the inode's super block.
  • iput(): drops a reference to an inode; the last reference lets the kernel free it.
  • Use-after-free: memory is used after it was released, so other data may already occupy it. Reading a freed inode, as here, is one example.
  • CVSS vector: AV:L local attack vector; AC:L low attack complexity; PR:L low privileges; UI:N no user interaction; S:U scope unchanged; C:H, I:H, A:H high impact on confidentiality, integrity and availability.

What This Means for IT Teams

The flaw matters only on Linux hosts that mount OCFS2 as a clustered file system. Local mounts and hard-readonly volumes skip the cluster lock, according to the CNA. Affected kernels are 3.15 and later, plus 3.12.24 and later 3.12.x, until a fixed release is installed.

Fixed releases in the record are 6.12.118, 6.18.64 and 7.3.5 in their series, and 7.4-rc2 in mainline. Other series have no fixed release listed. For shared-storage clusters, this belongs in the normal kernel update cycle for the server infrastructure.

A successful attack needs a local user with write access to a directory on the clustered mount. No user interaction is needed. The CVE is not in CISA KEV.

NVD cross-check

The NVD record has status "Received", so NVD has not analysed it yet. It was published on 2026-11-20 and last modified on 2026-11-22. NVD shows the kernel CNA's CVSS 3.1 score of 7.8 with the same vector. NVD lists no CWE. The description, affected-version data and the four stable commit references match the CVE record. No discrepancies were found.

Related coverage: Linux kernel XFS pNFS layout flaw CVE-2026-99680 (CVSS 9.4).

Sources

  1. CVE-2026-99690: ocfs2: cache the mount context for dentry lock callbacks (opens in a new tab) CVE Program (Linux kernel CNA record) Published Nov 20, 2026 Accessed Nov 22, 2026 cve.org
  2. NVD CVE API 2.0 record for CVE-2026-99690 (opens in a new tab) NIST National Vulnerability Database (NVD) Published Nov 20, 2026 Accessed Nov 22, 2026 nvd.nist.gov
  3. CISA Known Exploited Vulnerabilities Catalog (JSON feed) (opens in a new tab) Cybersecurity and Infrastructure Security Agency (CISA) Published Nov 20, 2026 Accessed Nov 22, 2026 cisa.gov

Topics

How we research, review and correct articles: Editorial Standards, Ethics & Corrections Policy. Found an error? Tell us.

Networking Pulse · https://networkingpulse.com/news/security/linux-kernel-ocfs2-dentry-lock-callback-use-after-free-cve-2026-99690/

Cybersecurity & Compliance

Need help checking your exposure to this advisory?

Talk to our team about the devices and versions in your network and how to plan the update.