← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel OCFS2 Drops the Inode Reference Before Releasing a Dentry Lock, Letting Eviction Race the Callback

Last refreshed2026-11-23

Status: UPDATED  |  Advisory ID: CVE-2026-99690

Key Details

CVECVE-2026-99690
CVSS Score / Version
7.8 (High) / CVSS v3.1
Updated2026-11-22
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

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. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-99690
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-99690
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.