# CVE-2026-99690: ocfs2: cache the mount context for dentry lock callbacks

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-28)
- **Published:** 2026-11-20T05:50:34.973Z
- **Modified:** 2026-11-23T08:18:09.893Z

## Who should check

- Anyone running Linux \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< f0a9113dd9bcf06d6d4053ca6debf5ff8b29447b; \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< 86dd70951750f393b38e11eae558e30ec83c2d06; \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< e95883b44156336508eda86e908bfa02634887f1; \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< 2bb821de615273c256725cc390c748ad5efc5e8b; \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< a392e0231b9d823f2e62e21fef68ad6145119dca; \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< ee8997a4521964631d6cc0e511a186f69ce84dbd; \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< 85bc2a3b1bece826c908a31c34a4865a80136bee; \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< 5b4696e0bfc358619adaeab25ad35b4979af8331; fc597a301fb2947af29ce67c12a419c39f044975; \>= 3.12.24, \< 3.13
- Anyone running Linux 3.15

## Description

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.

## Affected and fixed versions

- Linux: \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< f0a9113dd9bcf06d6d4053ca6debf5ff8b29447b; \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< 86dd70951750f393b38e11eae558e30ec83c2d06; \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< e95883b44156336508eda86e908bfa02634887f1; \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< 2bb821de615273c256725cc390c748ad5efc5e8b; \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< a392e0231b9d823f2e62e21fef68ad6145119dca; \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< ee8997a4521964631d6cc0e511a186f69ce84dbd; \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< 85bc2a3b1bece826c908a31c34a4865a80136bee; \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< 5b4696e0bfc358619adaeab25ad35b4979af8331; fc597a301fb2947af29ce67c12a419c39f044975; \>= 3.12.24, \< 3.13 (cvelist)
- Linux: 3.15 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 3.13 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99690. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99690.md
Affected: Linux >= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, < f0a9113dd9bcf06d6d4053ca6debf5ff8b29447b; >= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, < 86dd70951750f393b38e11eae558e30ec83c2d06; >= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, < e95883b44156336508eda86e908bfa02634887f1; >= 8ed6b23709b346f7bfc1eda…
Fixed in: Linux 86dd70951750f393b38e11eae558e30ec83c2d06, Linux 2bb821de615273c256725cc390c748ad5efc5e8b, Linux 85bc2a3b1bece826c908a31c34a4865a80136bee, Linux 5b4696e0bfc358619adaeab25ad35b4979af8331, Linux 3.13

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99690 being exploited?

There is no confirmed exploitation: CVE-2026-99690 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99690?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-99690?

Linux \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< f0a9113dd9bcf06d6d4053ca6debf5ff8b29447b; \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< 86dd70951750f393b38e11eae558e30ec83c2d06; \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< e95883b44156336508eda86e908bfa02634887f1; \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< 2bb821de615273c256725cc390c748ad5efc5e8b; \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< a392e0231b9d823f2e62e21fef68ad6145119dca; \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< ee8997a4521964631d6cc0e511a186f69ce84dbd; \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< 85bc2a3b1bece826c908a31c34a4865a80136bee; \>= 8ed6b23709b346f7bfc1edab47003a205a6a9f69, \< 5b4696e0bfc358619adaeab25ad35b4979af8331; fc597a301fb2947af29ce67c12a419c39f044975; \>= 3.12.24, \< 3.13; Linux 3.15.

### Is there a fix for CVE-2026-99690?

Yes. Fixed in Linux 86dd70951750f393b38e11eae558e30ec83c2d06, Linux 2bb821de615273c256725cc390c748ad5efc5e8b, Linux 85bc2a3b1bece826c908a31c34a4865a80136bee, Linux 5b4696e0bfc358619adaeab25ad35b4979af8331, Linux 3.13. Upgrade Linux to 3.13 or later.

### How do I check if I'm affected by CVE-2026-99690?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/f0a9113dd9bcf06d6d4053ca6debf5ff8b29447b>
- other: <https://git.kernel.org/stable/c/86dd70951750f393b38e11eae558e30ec83c2d06>
- other: <https://git.kernel.org/stable/c/e95883b44156336508eda86e908bfa02634887f1>
- other: <https://git.kernel.org/stable/c/2bb821de615273c256725cc390c748ad5efc5e8b>
- other: <https://git.kernel.org/stable/c/a392e0231b9d823f2e62e21fef68ad6145119dca>
- other: <https://git.kernel.org/stable/c/ee8997a4521964631d6cc0e511a186f69ce84dbd>
- other: <https://git.kernel.org/stable/c/85bc2a3b1bece826c908a31c34a4865a80136bee>
- other: <https://git.kernel.org/stable/c/5b4696e0bfc358619adaeab25ad35b4979af8331>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99690>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99690> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99690>
