{"affected":[{"defaultStatus":"unaffected","product":"Linux","source":"CNA: Linux","vendor":"Linux","versions":[{"lessThan":"a392e0231b9d823f2e62e21fef68ad6145119dca","status":"affected","version":"8ed6b23709b346f7bfc1edab47003a205a6a9f69","versionType":"git"},{"lessThan":"ee8997a4521964631d6cc0e511a186f69ce84dbd","status":"affected","version":"8ed6b23709b346f7bfc1edab47003a205a6a9f69","versionType":"git"},{"lessThan":"85bc2a3b1bece826c908a31c34a4865a80136bee","status":"affected","version":"8ed6b23709b346f7bfc1edab47003a205a6a9f69","versionType":"git"},{"lessThan":"5b4696e0bfc358619adaeab25ad35b4979af8331","status":"affected","version":"8ed6b23709b346f7bfc1edab47003a205a6a9f69","versionType":"git"},{"status":"affected","version":"fc597a301fb2947af29ce67c12a419c39f044975","versionType":"git"},{"lessThan":"3.13","status":"affected","version":"3.12.24","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","source":"CNA: Linux","vendor":"Linux","versions":[{"status":"affected","version":"3.15"},{"lessThan":"3.15","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.118","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.64","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cveId":"CVE-2026-99690","cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: cache the mount context for dentry lock callbacks\n\nocfs2_drop_dentry_lock() drops the inode reference before releasing the\nDENTRY lock.  This lets inode eviction release the local inode and open\nlocks before a remote unlink can proceed past the DENTRY lock.\n\nA DLM callback can still arrive before the DENTRY lock has been dropped.\nocfs2_get_dentry_osb() obtains the mount context through dl_inode->i_sb,\nwhich can access a freed inode when the downconvert thread drops the\nlast inode reference in its post-unlock callback:\n\n  Downconvert thread                     DLM callback thread\n  ------------------                     -------------------\n  ocfs2_process_blocked_lock()\n    ocfs2_dentry_post_unlock()\n      ocfs2_dentry_lock_put()\n        ocfs2_drop_dentry_lock()\n          iput(dl->dl_inode)\n          [inode reclaimed after RCU]\n                                         ocfs2_blocking_ast()\n                                           ocfs2_get_dentry_osb()\n                                             dl->dl_inode->i_sb\n          ocfs2_simple_drop_lockres()\n\nStore the mount context in the DENTRY lock resource's l_priv field and use\nthe default mount-context lookup.  Recover the containing dentry lock with\ncontainer_of(), as already done for refcount locks, and remove\nocfs2_get_dentry_osb().  ocfs2_dismount_volume() shuts down the DLM before\nfreeing the mount context, so callbacks can use it without accessing the\ninode.  Preserve the existing iput-before-unlock order to avoid delaying\nlocal inode and open lock release until after the DENTRY lock is released.","epss":{"date":"2026-11-21","percentile":0.0619,"score":0.00168},"exploits":[],"kev":null,"metrics":[{"score":7.8,"severity":"high","source":"CNA: Linux","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"score":7.8,"severity":"high","source":"NVD: 416baaa9-dc9f-4396-8d5f-8c081fb06d67","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1795346226910,"publishedAt":1795153834973,"references":[{"source":"CNA: Linux","tags":[],"url":"https://git.kernel.org/stable/c/a392e0231b9d823f2e62e21fef68ad6145119dca"},{"source":"CNA: Linux","tags":[],"url":"https://git.kernel.org/stable/c/ee8997a4521964631d6cc0e511a186f69ce84dbd"},{"source":"CNA: Linux","tags":[],"url":"https://git.kernel.org/stable/c/85bc2a3b1bece826c908a31c34a4865a80136bee"},{"source":"CNA: Linux","tags":[],"url":"https://git.kernel.org/stable/c/5b4696e0bfc358619adaeab25ad35b4979af8331"},{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"url":"https://git.kernel.org/stable/c/5b4696e0bfc358619adaeab25ad35b4979af8331"},{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"url":"https://git.kernel.org/stable/c/85bc2a3b1bece826c908a31c34a4865a80136bee"},{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"url":"https://git.kernel.org/stable/c/a392e0231b9d823f2e62e21fef68ad6145119dca"},{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"url":"https://git.kernel.org/stable/c/ee8997a4521964631d6cc0e511a186f69ce84dbd"}],"remediation":[],"revision":"f5cf26c50b285a56aee38b3b4c72b353b5249076aad228063101905b36caffdf","sources":[{"modifiedAt":1795345786635,"name":"CNA: Linux","retrievedAt":1795349442964,"url":"https://www.cve.org/CVERecord?id=CVE-2026-99690"},{"modifiedAt":1795346226910,"name":"NVD","retrievedAt":1795349766738,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99690"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1795330733925,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99690"}],"ssvc":null,"status":"published","title":"ocfs2: cache the mount context for dentry lock callbacks","updatedAt":1795349766738}