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()andocfs2_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_sbis unmapped, poisoned or not a super_block, the kernel faults insideocfs2_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 version | Status |
|---|---|
| Versions before 3.15, except the range below | Not affected |
| 3.12.24 up to (not including) 3.13 | Affected |
| 3.15 and later (unless listed as fixed below) | Affected |
| 6.12.x from 6.12.118 | Fixed |
| 6.18.x from 6.18.64 | Fixed |
| 7.3.x from 7.3.5 | Fixed |
| 7.4-rc2 and later (mainline fix) | Fixed |
| Introduced by commit | Fixed by commit |
|---|---|
| 8ed6b23709b346f7bfc1edab47003a205a6a9f69 | a392e0231b9d823f2e62e21fef68ad6145119dca |
| 8ed6b23709b346f7bfc1edab47003a205a6a9f69 | ee8997a4521964631d6cc0e511a186f69ce84dbd |
| 8ed6b23709b346f7bfc1edab47003a205a6a9f69 | 85bc2a3b1bece826c908a31c34a4865a80136bee |
| 8ed6b23709b346f7bfc1edab47003a205a6a9f69 | 5b4696e0bfc358619adaeab25ad35b4979af8331 |
| fc597a301fb2947af29ce67c12a419c39f044975 | No 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).


