# CVE-2026-93252: ocfs2: fix circular locking dependency in ocfs2\_init\_acl()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-24T15:51:28.355Z
- **Modified:** 2026-10-19T10:17:16.453Z

## Who should check

- Anyone running Linux \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< 4936d4464d1ae10b5fbba64374085a0dcc060560; \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< caf3056936fb8b5ce92e419cf8b246ce9c437343; \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< 5b7b3c50c39ad0dc27e7418981e01c4183273f89; \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< 8d88f52fbbbcc18adf4091a955511d0cf605bf11; \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< 8931403ee3dcfe8a24a5267efec9d9460ab7a1b5; \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< f8747d81aa6d3efe3ee339a9d912ff3ca6e4d758; \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< 1222f7a3183b35c0c566899fdaead5c7c4043076; \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< bd7c05fb4a4776dff5a87b19008d28458647d15d; 15ac59a84750b3afc0a2b6f2636c4f7e6cbd6d5e; b35bb8a41795caa05e09c3aacf7d78f1f20bac04; …
- Anyone running Linux 4.16

## Description

In the Linux kernel, the following vulnerability has been resolved:

ocfs2: fix circular locking dependency in ocfs2\_init\_acl()

A lockdep warning indicates a circular locking dependency between
\`&oi-\>ip\_xattr\_sem\` and \`&journal-\>j\_trans\_barrier\`:

WARNING: possible circular locking dependency detected
is trying to acquire lock:
 (&oi-\>ip\_xattr\_sem){++++}-{4:4}, at: ocfs2\_init\_acl+0x2fd/0x7e0
 fs/ocfs2/acl.c:367

but task is already holding lock:
 (&journal-\>j\_trans\_barrier){.+.+}-{4:4}, at: ocfs2\_start\_trans+0x3ab/0x700
 fs/ocfs2/journal.c:369

The deadlock involves two code paths: Path 1 (setxattr) where
\`ocfs2\_xattr\_set()\` acquires \`ip\_xattr\_sem\` (write) and then starts a
transaction, which acquires \`j\_trans\_barrier\` (read); and Path 2
(mkdir/mknod) where \`ocfs2\_mknod()\` starts a transaction (\`j\_trans\_barrier\`
read) and then calls \`ocfs2\_init\_acl()\`, which attempts to acquire
\`ip\_xattr\_sem\` (read) on the parent directory to retrieve the default ACL.

Because rw\_semaphores are subject to writer priority, a pending writer on
\`j\_trans\_barrier\` (e.g., the journal commit thread) can cause Path 1 to
block, while Path 2 is blocked waiting for Path 1 to release
\`ip\_xattr\_sem\`.

The patch fixes the lock ordering by precomputing the ACL state before
starting the OCFS2 transaction, while preserving POSIX ACL storage
semantics and the existing inode/security initialization order. By reading
the parent directory's default ACL and preparing the new inode's ACLs
outside the transaction, \`ip\_xattr\_sem\` is always acquired before
\`j\_trans\_barrier\`.

\`struct ocfs2\_acl\_state\` encapsulates the prepared ACL state, while
\`ocfs2\_acl\_init\_prepare()\` and \`ocfs2\_acl\_init\_release()\` avoid code
duplication between \`ocfs2\_mknod()\` and \`ocfs2\_init\_security\_and\_acl()\`.
\`ocfs2\_calc\_xattr\_init()\` and \`ocfs2\_init\_acl()\` use this precomputed
state, removing internal \`ip\_xattr\_sem\` acquisition and redundant disk
reads.

Additionally, remove the \`ip\_xattr\_sem\` acquisition from
\`ocfs2\_xattr\_set\_handle()\`. This function is only used while initializing a
new inode that has not yet been inserted into the inode hash or attached to
a dentry, meaning there is no risk of concurrent access and the lock is
unnecessary.

## Affected and fixed versions

- Linux: \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< 4936d4464d1ae10b5fbba64374085a0dcc060560; \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< caf3056936fb8b5ce92e419cf8b246ce9c437343; \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< 5b7b3c50c39ad0dc27e7418981e01c4183273f89; \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< 8d88f52fbbbcc18adf4091a955511d0cf605bf11; \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< 8931403ee3dcfe8a24a5267efec9d9460ab7a1b5; \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< f8747d81aa6d3efe3ee339a9d912ff3ca6e4d758; \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< 1222f7a3183b35c0c566899fdaead5c7c4043076; \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< bd7c05fb4a4776dff5a87b19008d28458647d15d; 15ac59a84750b3afc0a2b6f2636c4f7e6cbd6d5e; b35bb8a41795caa05e09c3aacf7d78f1f20bac04; … (cvelist)
- Linux: 4.16 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-93252.md
Affected: Linux >= 16c8d569f5704a84164f30ff01b29879f3438065, < 4936d4464d1ae10b5fbba64374085a0dcc060560; >= 16c8d569f5704a84164f30ff01b29879f3438065, < caf3056936fb8b5ce92e419cf8b246ce9c437343; >= 16c8d569f5704a84164f30ff01b29879f3438065, < 5b7b3c50c39ad0dc27e7418981e01c4183273f89; >= 16c8d569f5704a84164f30f…
Fixed in: Linux 4936d4464d1ae10b5fbba64374085a0dcc060560, Linux 5b7b3c50c39ad0dc27e7418981e01c4183273f89, Linux 8d88f52fbbbcc18adf4091a955511d0cf605bf11, Linux 8931403ee3dcfe8a24a5267efec9d9460ab7a1b5, Linux 1222f7a3183b35c0c566899fdaead5c7c4043076

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-93252 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< 4936d4464d1ae10b5fbba64374085a0dcc060560; \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< caf3056936fb8b5ce92e419cf8b246ce9c437343; \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< 5b7b3c50c39ad0dc27e7418981e01c4183273f89; \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< 8d88f52fbbbcc18adf4091a955511d0cf605bf11; \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< 8931403ee3dcfe8a24a5267efec9d9460ab7a1b5; \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< f8747d81aa6d3efe3ee339a9d912ff3ca6e4d758; \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< 1222f7a3183b35c0c566899fdaead5c7c4043076; \>= 16c8d569f5704a84164f30ff01b29879f3438065, \< bd7c05fb4a4776dff5a87b19008d28458647d15d; 15ac59a84750b3afc0a2b6f2636c4f7e6cbd6d5e; b35bb8a41795caa05e09c3aacf7d78f1f20bac04; …; Linux 4.16.

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

Yes. Fixed in Linux 4936d4464d1ae10b5fbba64374085a0dcc060560, Linux 5b7b3c50c39ad0dc27e7418981e01c4183273f89, Linux 8d88f52fbbbcc18adf4091a955511d0cf605bf11, Linux 8931403ee3dcfe8a24a5267efec9d9460ab7a1b5, Linux 1222f7a3183b35c0c566899fdaead5c7c4043076. No fix listed yet: follow the vendor advisory.

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

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/4936d4464d1ae10b5fbba64374085a0dcc060560>
- other: <https://git.kernel.org/stable/c/caf3056936fb8b5ce92e419cf8b246ce9c437343>
- other: <https://git.kernel.org/stable/c/5b7b3c50c39ad0dc27e7418981e01c4183273f89>
- other: <https://git.kernel.org/stable/c/8d88f52fbbbcc18adf4091a955511d0cf605bf11>
- other: <https://git.kernel.org/stable/c/8931403ee3dcfe8a24a5267efec9d9460ab7a1b5>
- other: <https://git.kernel.org/stable/c/f8747d81aa6d3efe3ee339a9d912ff3ca6e4d758>
- other: <https://git.kernel.org/stable/c/1222f7a3183b35c0c566899fdaead5c7c4043076>
- other: <https://git.kernel.org/stable/c/bd7c05fb4a4776dff5a87b19008d28458647d15d>

## 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-93252>

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