Skip to content
statance
MenuClose
high · CVSS 7.8

CVE-2026-99690

ocfs2: cache the mount context for dentry lock callbacks

Published 20 Nov 2026 · Source updated 23 Nov 2026 · Retrieved 2026-12-03 02:57 UTC

Monitor this CVE ↗Full CVE monitoring on Pro and Business

What happened?

In the Linux kernel, the following vulnerability has been resolved:

ocfs2: cache the mount context for dentry lock callbacks

ocfs2_drop_dentry_lock() drops the inode reference before releasing 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 has been dropped. ocfs2_get_dentry_osb() obtains the mount context through dl_inode->i_sb, which can access a freed inode when the downconvert thread drops the last inode reference in its post-unlock callback:

Downconvert thread DLM callback thread ------------------ ------------------- ocfs2_process_blocked_lock() ocfs2_dentry_post_unlock() ocfs2_dentry_lock_put() ocfs2_drop_dentry_lock() iput(dl->dl_inode) [inode reclaimed after RCU] ocfs2_blocking_ast() ocfs2_get_dentry_osb() dl->dl_inode->i_sb ocfs2_simple_drop_lockres()

Store the mount context in the DENTRY lock resource's l_priv field and use the default mount-context lookup. Recover the containing dentry lock with container_of(), as already done for refcount locks, and remove ocfs2_get_dentry_osb(). ocfs2_dismount_volume() shuts down the DLM before freeing the mount context, so callbacks can use it without accessing the inode. Preserve the existing iput-before-unlock order to avoid delaying local inode and open lock release until after the DENTRY lock is released.

Description supplied by CVE Program. Formatting is simplified; follow the original advisory for full details.

Affected software and versions

Source-provided software and version information
SoftwareVersion informationFixed version
LinuxLinuxaffected: 8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < f0a9113dd9bcf06d6d4053ca6debf5ff8b29447b; affected: 8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < 86dd70951750f393b38e11eae558e30ec83c2d06; affected: 8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < e95883b44156336508eda86e908bfa02634887f1; affected: 8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < 2bb821de615273c256725cc390c748ad5efc5e8b; affected: 8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < a392e0231b9d823f2e62e21fef68ad6145119dca; affected: 8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < ee8997a4521964631d6cc0e511a186f69ce84dbd; affected: 8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < 85bc2a3b1bece826c908a31c34a4865a80136bee; affected: 8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < 5b4696e0bfc358619adaeab25ad35b4979af8331; affected: fc597a301fb2947af29ce67c12a419c39f044975; affected: 3.12.24 to < 3.13See vendor advisory
LinuxLinuxaffected: 3.15; unaffected: 0 to < 3.15; unaffected: 5.10.275 to ≤ 5.10.*; unaffected: 5.15.226 to ≤ 5.15.*; unaffected: 6.1.193 to ≤ 6.1.*; unaffected: 6.6.163 to ≤ 6.6.*; unaffected: 6.12.118 to ≤ 6.12.*; unaffected: 6.18.64 to ≤ 6.18.*; unaffected: 7.3.5 to ≤ 7.3.*; unaffected: 7.4-rc2 to ≤ *See vendor advisory

Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.

Is it being exploited?

This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.

CISA data retrieved 2026-12-05 02:05 UTC. Check CISA ↗

How to respond

  1. Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
  2. Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
  3. Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.

Sources and remediation references

This public advisory does not determine whether a particular server is affected. Records are refreshed as sources change; verify urgent decisions against the original advisory.

← Browse the public CVE feed