CVE-2026-99690

Source
https://cve.org/CVERecord?id=CVE-2026-99690
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99690.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99690
Published
2026-11-20T05:50:34Z
Modified
2026-11-20T07:01:03Z
Summary
ocfs2: cache the mount context for dentry lock callbacks
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99690.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8ed6b23709b346f7bfc1edab47003a205a6a9f69
Fixed
a392e0231b9d823f2e62e21fef68ad6145119dca
Fixed
ee8997a4521964631d6cc0e511a186f69ce84dbd
Fixed
85bc2a3b1bece826c908a31c34a4865a80136bee
Fixed
5b4696e0bfc358619adaeab25ad35b4979af8331
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fc597a301fb2947af29ce67c12a419c39f044975

Affected versions

v3.*
v3.12.24
v3.12.25
v3.12.26
v3.12.27
v3.12.28
v3.12.29
v3.12.30
v3.12.31
v3.12.32
v3.12.33
v3.12.34
v3.12.35
v3.12.36
v3.12.37
v3.12.38
v3.12.39
v3.12.40
v3.12.41
v3.12.42
v3.12.43
v3.12.44
v3.12.45
v3.12.46
v3.12.47
v3.12.48
v3.12.49
v3.12.50
v3.12.51
v3.12.52
v3.12.53
v3.12.54
v3.12.55
v3.12.56
v3.12.57
v3.12.58
v3.12.59
v3.12.60
v3.12.61
v3.12.62
v3.12.63
v3.12.64
v3.12.65
v3.12.66
v3.12.67
v3.12.68
v3.12.69
v3.12.70
v3.12.71
v3.12.72
v3.12.73
v3.12.74

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99690.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.12.24
Fixed
3.13
Type
ECOSYSTEM
Events
Introduced
3.15.0
Fixed
6.12.118
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.64
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99690.json"