CVE-2026-99690
published high CVSS 3.1 · 7.8ocfs2: cache the mount context for dentry lock callbacks
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < f0a9113dd9bcf06d6d4053ca6debf5ff8b29447b · 8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < 86dd70951750f393b38e11eae558e30ec83c2d06 · 8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < e95883b44156336508eda86e908bfa02634887f1 · 8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < 2bb821de615273c256725cc390c748ad5efc5e8b · 8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < a392e0231b9d823f2e62e21fef68ad6145119dca · 8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < ee8997a4521964631d6cc0e511a186f69ce84dbd · 8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < 85bc2a3b1bece826c908a31c34a4865a80136bee · 8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < 5b4696e0bfc358619adaeab25ad35b4979af8331 · fc597a301fb2947af29ce67c12a419c39f044975 · 3.12.24 to < 3.13 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.15 (affected) · 0 to < 3.15 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | trixie | linux | Advisory build | 6.12.118-1 | DSA-6652-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - ocfs2_get_dentry_osb() reads dl->dl_inode->i_sb from ocfs2_blocking_ast() after this node attached the lock in ocfs2_lookup() via ocfs2_dentry_attach_lock(). A peer ocfs2_unlink() only reaches that callback through an ordinary EX request in ocfs2_remote_dentry_delete(); the inode iput() frees was created by that local lookup. AC:L - The attacker repeats a local ocfs2_lookup() and a peer unlink. The EX request makes ocfs2_dentry_convert_worker() return UNBLOCK_STOP_POST so ocfs2_drop_dentry_lock() iput()s the inode; the first BAST runs before that iput. dlm_flush_asts() clears highest_blocked, so dropping a second node's PR holder makes dlm_shuffle_lists() queue a later BAST into ocfs2_blocking_ast() after reclaim and before ocfs2_simple_drop_lockres() returns. PR:L - ocfs2_lookup() and ocfs2_unlink() perform no capability check, and ocfs2_dentry_lock() skips the cluster lock only for 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. UI:N - The attacker issues the ocfs2_lookup() that igrab()s dl_inode in ocfs2_dentry_attach_lock() and the unlink that starts the downconvert. No other user has to open the file or mount the volume. S:U - The ocfs2_super derived from the freed inode is the mount on the node that holds the dentry lock, and ocfs2_wake_downconvert_thread() only wakes that node's dc_task. The fault stays in the same kernel security authority. C:H - ocfs2_get_dentry_osb() loads i_sb and s_fs_info from the ocfs2_inode_info after ocfs2_drop_dentry_lock()'s iput() has queued it for RCU free through ocfs2_free_inode(). Reclaim of that ocfs2_inode_cachep object lets the callback consume freed memory as a pointer. I:H - ocfs2_wake_downconvert_thread() runs on every BAST after that load: it spin_lock_irqsave()s osb->dc_task_lock, increments osb->dc_wake_sequence, and wake_up()s osb->dc_event. Those stores follow i_sb and s_fs_info taken from the freed ocfs2_inode_info. A:H - If the reclaimed inode's i_sb is unmapped, poisoned, or not a super_block, the s_fs_info load in OCFS2_SB() faults inside ocfs2_blocking_ast(), before ocfs2_simple_drop_lockres() finishes dropping the DENTRY lock.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < f0a9113dd9bcf06d6d4053ca6debf5ff8b29447b (affected · git)8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < 86dd70951750f393b38e11eae558e30ec83c2d06 (affected · git)8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < e95883b44156336508eda86e908bfa02634887f1 (affected · git)8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < 2bb821de615273c256725cc390c748ad5efc5e8b (affected · git)8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < a392e0231b9d823f2e62e21fef68ad6145119dca (affected · git)8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < ee8997a4521964631d6cc0e511a186f69ce84dbd (affected · git)8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < 85bc2a3b1bece826c908a31c34a4865a80136bee (affected · git)8ed6b23709b346f7bfc1edab47003a205a6a9f69 to < 5b4696e0bfc358619adaeab25ad35b4979af8331 (affected · git)fc597a301fb2947af29ce67c12a419c39f044975 (affected · git)3.12.24 to < 3.13 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 3.15 (affected)0 to < 3.15 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/2bb821de615273c256725cc390c748ad5efc5e8b
- https://git.kernel.org/stable/c/5b4696e0bfc358619adaeab25ad35b4979af8331
- https://git.kernel.org/stable/c/85bc2a3b1bece826c908a31c34a4865a80136bee
- https://git.kernel.org/stable/c/86dd70951750f393b38e11eae558e30ec83c2d06
- https://git.kernel.org/stable/c/a392e0231b9d823f2e62e21fef68ad6145119dca
- https://git.kernel.org/stable/c/e95883b44156336508eda86e908bfa02634887f1
- https://git.kernel.org/stable/c/ee8997a4521964631d6cc0e511a186f69ce84dbd
- https://git.kernel.org/stable/c/f0a9113dd9bcf06d6d4053ca6debf5ff8b29447b
Provider assertions
1Linux · cna
ocfs2: cache the mount context for dentry lock callbacks
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 11aa66fd9832c7d12fc7e80d358d0a86283f6a0b2bc9d2626a69f5899156f416
- Ingested
- 23 Nov 2026, 14:37:13 UTC
- Source record
- Official CVE record