{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99690","id":"CVE-2026-99690","title":"Linux kernel use-after-free in OCFS2 dentry lock callbacks","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 d","descriptionLong":"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.","published":"2026-11-20T05:50:34.973Z","updated":"2026-11-20T07:01:03.402225812Z","reserved":"2026-09-25T10:25:14.429Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8ed6b23709b346f7bfc1edab47003a205a6a9f69","lessThan":"a392e0231b9d823f2e62e21fef68ad6145119dca","status":"affected","versionType":"git"},{"version":"8ed6b23709b346f7bfc1edab47003a205a6a9f69","lessThan":"ee8997a4521964631d6cc0e511a186f69ce84dbd","status":"affected","versionType":"git"},{"version":"8ed6b23709b346f7bfc1edab47003a205a6a9f69","lessThan":"85bc2a3b1bece826c908a31c34a4865a80136bee","status":"affected","versionType":"git"},{"version":"8ed6b23709b346f7bfc1edab47003a205a6a9f69","lessThan":"5b4696e0bfc358619adaeab25ad35b4979af8331","status":"affected","versionType":"git"},{"version":"fc597a301fb2947af29ce67c12a419c39f044975","status":"affected","versionType":"git"},{"version":"3.12.24","lessThan":"3.13","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.15","status":"affected"},{"version":"0","lessThan":"3.15","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/a392e0231b9d823f2e62e21fef68ad6145119dca","tags":["web"]},{"url":"https://git.kernel.org/stable/c/ee8997a4521964631d6cc0e511a186f69ce84dbd","tags":["web"]},{"url":"https://git.kernel.org/stable/c/85bc2a3b1bece826c908a31c34a4865a80136bee","tags":["web"]},{"url":"https://git.kernel.org/stable/c/5b4696e0bfc358619adaeab25ad35b4979af8331","tags":["web"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99690.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99690","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99690","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99690","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99690","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99690","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}