{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "16c8d569f5704a84164f30ff01b29879f3438065"
            },
            {
              "fixed": "4936d4464d1ae10b5fbba64374085a0dcc060560"
            },
            {
              "fixed": "caf3056936fb8b5ce92e419cf8b246ce9c437343"
            },
            {
              "fixed": "5b7b3c50c39ad0dc27e7418981e01c4183273f89"
            },
            {
              "fixed": "8d88f52fbbbcc18adf4091a955511d0cf605bf11"
            },
            {
              "fixed": "8931403ee3dcfe8a24a5267efec9d9460ab7a1b5"
            },
            {
              "fixed": "f8747d81aa6d3efe3ee339a9d912ff3ca6e4d758"
            },
            {
              "fixed": "1222f7a3183b35c0c566899fdaead5c7c4043076"
            },
            {
              "fixed": "bd7c05fb4a4776dff5a87b19008d28458647d15d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "15ac59a84750b3afc0a2b6f2636c4f7e6cbd6d5e"
            },
            {
              "last_affected": "b35bb8a41795caa05e09c3aacf7d78f1f20bac04"
            },
            {
              "last_affected": "1d5fdc1307eeb04b334c5dc23e11dbd6068d90eb"
            },
            {
              "last_affected": "a66174eb4a149b7919d174d9a7ce6ad9909c5ee2"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "3.18.111"
            },
            {
              "fixed": "3.19"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "4.4.134"
            },
            {
              "fixed": "4.5"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "4.9.104"
            },
            {
              "fixed": "4.10"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "4.14.37"
            },
            {
              "fixed": "4.15"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.16.0"
            },
            {
              "fixed": "5.10.270"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.221"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.188"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.157"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.110"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.52"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93252.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: fix circular locking dependency in ocfs2_init_acl()\n\nA lockdep warning indicates a circular locking dependency between\n`\u0026oi-\u003eip_xattr_sem` and `\u0026journal-\u003ej_trans_barrier`:\n\nWARNING: possible circular locking dependency detected\nis trying to acquire lock:\n (\u0026oi-\u003eip_xattr_sem){++++}-{4:4}, at: ocfs2_init_acl+0x2fd/0x7e0\n fs/ocfs2/acl.c:367\n\nbut task is already holding lock:\n (\u0026journal-\u003ej_trans_barrier){.+.+}-{4:4}, at: ocfs2_start_trans+0x3ab/0x700\n fs/ocfs2/journal.c:369\n\nThe deadlock involves two code paths: Path 1 (setxattr) where\n`ocfs2_xattr_set()` acquires `ip_xattr_sem` (write) and then starts a\ntransaction, which acquires `j_trans_barrier` (read); and Path 2\n(mkdir/mknod) where `ocfs2_mknod()` starts a transaction (`j_trans_barrier`\nread) and then calls `ocfs2_init_acl()`, which attempts to acquire\n`ip_xattr_sem` (read) on the parent directory to retrieve the default ACL.\n\nBecause rw_semaphores are subject to writer priority, a pending writer on\n`j_trans_barrier` (e.g., the journal commit thread) can cause Path 1 to\nblock, while Path 2 is blocked waiting for Path 1 to release\n`ip_xattr_sem`.\n\nThe patch fixes the lock ordering by precomputing the ACL state before\nstarting the OCFS2 transaction, while preserving POSIX ACL storage\nsemantics and the existing inode/security initialization order. By reading\nthe parent directory's default ACL and preparing the new inode's ACLs\noutside the transaction, `ip_xattr_sem` is always acquired before\n`j_trans_barrier`.\n\n`struct ocfs2_acl_state` encapsulates the prepared ACL state, while\n`ocfs2_acl_init_prepare()` and `ocfs2_acl_init_release()` avoid code\nduplication between `ocfs2_mknod()` and `ocfs2_init_security_and_acl()`.\n`ocfs2_calc_xattr_init()` and `ocfs2_init_acl()` use this precomputed\nstate, removing internal `ip_xattr_sem` acquisition and redundant disk\nreads.\n\nAdditionally, remove the `ip_xattr_sem` acquisition from\n`ocfs2_xattr_set_handle()`. This function is only used while initializing a\nnew inode that has not yet been inserted into the inode hash or attached to\na dentry, meaning there is no risk of concurrent access and the lock is\nunnecessary.",
  "id": "CVE-2026-93252",
  "modified": "2026-09-26T03:30:55.716520207Z",
  "published": "2026-09-24T15:51:28.355Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1222f7a3183b35c0c566899fdaead5c7c4043076"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4936d4464d1ae10b5fbba64374085a0dcc060560"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5b7b3c50c39ad0dc27e7418981e01c4183273f89"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8931403ee3dcfe8a24a5267efec9d9460ab7a1b5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8d88f52fbbbcc18adf4091a955511d0cf605bf11"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bd7c05fb4a4776dff5a87b19008d28458647d15d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/caf3056936fb8b5ce92e419cf8b246ce9c437343"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f8747d81aa6d3efe3ee339a9d912ff3ca6e4d758"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93252.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-93252"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "ocfs2: fix circular locking dependency in ocfs2_init_acl()"
}