# CVE-2026-80879: ocfs2: fix circular locking dependency in ocfs2\_dio\_end\_io\_write

> 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-04T16:49:02.905Z
- **Modified:** 2026-09-04T17:17:00.080Z

## Who should check

- Anyone running Linux \>= 97c03c0e9f73a5049794b3c69ee60fb5e8b0ebd8, \< f0ae0a6ca87dc2d4a789f71cdedb808ba6c16990; \>= 1e99bb19994246514d63e656492904176f9d5edd, \< 137e8b4823a9a11928428d4ec0a0cacb2f50a769; \>= 91e05ac2336d00d5b99fc774be4bd50039084796, \< 4273548e418bd935430d35e9d052870f323441f3; \>= 886f97fa59d0bbfa9859fb1a66dd9e014b522d89, \< 49b34bd3ad69611af03590a23abf2cda9ac1073d; \>= ea5bb1d20da756e4f41a48dad42b2e7d6e73f71e, \< ff187c502b39389b0d732cb7050a3db8e5ebfcd6; \>= 3c636a3edca9c3f180b3079f94fe7e115730d9c6, \< ae1f3460833d3e427420ab260278ec0e45d68c86; \>= d647c5b2fbf81560818dacade360abc8c00a9665, \< f3dd1e534e9de64669415f8239e0094afecfed78; \>= d647c5b2fbf81560818dacade360abc8c00a9665, \< ff6f26c58421614b02694ac9d219ac61d924bc68; 069c3fb310e9336cf48cfdf8748a32c29fd0193d; \>= 5.10.258, \< 5.10.261; …
- Anyone running Linux 7.1

## Description

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

ocfs2: fix circular locking dependency in ocfs2\_dio\_end\_io\_write

A circular locking dependency involves INODE\_ALLOC\_SYSTEM\_INODE,
EXTENT\_ALLOC\_SYSTEM\_INODE, and ORPHAN\_DIR\_SYSTEM\_INODE.

1. ocfs2\_mknod() acquires INODE\_ALLOC then EXTENT\_ALLOC.

2. ocfs2\_dio\_end\_io\_write() acquires EXTENT\_ALLOC for unwritten
   extents, then ORPHAN\_DIR via ocfs2\_del\_inode\_from\_orphan() while still
   holding EXTENT\_ALLOC.

3. ocfs2\_wipe\_inode() acquires ORPHAN\_DIR then INODE\_ALLOC via
   ocfs2\_remove\_inode.

Break the cycle in ocfs2\_dio\_end\_io\_write() by freeing the allocation
contexts (releasing EXTENT\_ALLOC) before acquiring ORPHAN\_DIR.

WARNING: possible circular locking dependency detected
------------------------------------------------------
is trying to acquire lock:
ffff8881e78b33a0
(&ocfs2\_sysfile\_lock\_key\[INODE\_ALLOC\_SYSTEM\_INODE\]){+.+.}-{4:4}, at:
ocfs2\_evict\_inode+0x1539/0x43b0 fs/ocfs2/inode.c:1299

but task is already holding lock:
ffff8881e78b4fa0
(&ocfs2\_sysfile\_lock\_key\[ORPHAN\_DIR\_SYSTEM\_INODE\]){+.+.}-{4:4}, at:
ocfs2\_evict\_inode+0xe97/0x43b0 fs/ocfs2/inode.c:1299

the existing dependency chain (in reverse order) is:

-\> \#2 (&ocfs2\_sysfile\_lock\_key\[ORPHAN\_DIR\_SYSTEM\_INODE\]){+.+.}-{4:4}:
       inode\_lock include/linux/fs.h:1029 \[inline\]
       ocfs2\_del\_inode\_from\_orphan+0x12e/0x7a0 fs/ocfs2/namei.c:2728
       ocfs2\_dio\_end\_io+0xf9c/0x1370 fs/ocfs2/aops.c:2418
       dio\_complete+0x25b/0x790 fs/direct-io.c:281

-\> \#1 (&ocfs2\_sysfile\_lock\_key\[EXTENT\_ALLOC\_SYSTEM\_INODE\]){+.+.}-{4:4}:
       inode\_lock include/linux/fs.h:1029 \[inline\]
       ocfs2\_reserve\_suballoc\_bits+0x16d/0x4840 fs/ocfs2/suballoc.c:882
       ocfs2\_reserve\_new\_metadata\_blocks+0x415/0x9a0
       fs/ocfs2/suballoc.c:1078
       ocfs2\_mknod+0x10f3/0x2260 fs/ocfs2/namei.c:351

-\> \#0 (&ocfs2\_sysfile\_lock\_key\[INODE\_ALLOC\_SYSTEM\_INODE\]){+.+.}-{4:4}:
       \_\_lock\_acquire+0x15a5/0x2cf0 kernel/locking/lockdep.c:5237
       lock\_acquire+0x106/0x350 kernel/locking/lockdep.c:5868
       down\_write+0x96/0x200 kernel/locking/rwsem.c:1625
       inode\_lock include/linux/fs.h:1029 \[inline\]
       ocfs2\_remove\_inode fs/ocfs2/inode.c:733 \[inline\]
       ocfs2\_wipe\_inode fs/ocfs2/inode.c:896 \[inline\]
       ocfs2\_delete\_inode fs/ocfs2/inode.c:1157 \[inline\]
       ocfs2\_evict\_inode+0x1539/0x43b0 fs/ocfs2/inode.c:1299

Chain exists of:
  &ocfs2\_sysfile\_lock\_key\[INODE\_ALLOC\_SYSTEM\_INODE\] --\>
  &ocfs2\_sysfile\_lock\_key\[EXTENT\_ALLOC\_SYSTEM\_INODE\] --\>
  &ocfs2\_sysfile\_lock\_key\[ORPHAN\_DIR\_SYSTEM\_INODE\]

 Possible unsafe locking scenario:

       CPU0                    CPU1
       ----                    ----
  lock(&ocfs2\_sysfile\_lock\_key\[ORPHAN\_DIR\_SYSTEM\_INODE\]);
                               lock(&ocfs2\_sysfile\_lock\_key\[EXTENT\_ALLOC\_SYSTEM\_INODE\]);
                               lock(&ocfs2\_sysfile\_lock\_key\[ORPHAN\_DIR\_SYSTEM\_INODE\]);
  lock(&ocfs2\_sysfile\_lock\_key\[INODE\_ALLOC\_SYSTEM\_INODE\]);

 \*\*\* DEADLOCK \*\*\*

## Affected and fixed versions

- Linux: \>= 97c03c0e9f73a5049794b3c69ee60fb5e8b0ebd8, \< f0ae0a6ca87dc2d4a789f71cdedb808ba6c16990; \>= 1e99bb19994246514d63e656492904176f9d5edd, \< 137e8b4823a9a11928428d4ec0a0cacb2f50a769; \>= 91e05ac2336d00d5b99fc774be4bd50039084796, \< 4273548e418bd935430d35e9d052870f323441f3; \>= 886f97fa59d0bbfa9859fb1a66dd9e014b522d89, \< 49b34bd3ad69611af03590a23abf2cda9ac1073d; \>= ea5bb1d20da756e4f41a48dad42b2e7d6e73f71e, \< ff187c502b39389b0d732cb7050a3db8e5ebfcd6; \>= 3c636a3edca9c3f180b3079f94fe7e115730d9c6, \< ae1f3460833d3e427420ab260278ec0e45d68c86; \>= d647c5b2fbf81560818dacade360abc8c00a9665, \< f3dd1e534e9de64669415f8239e0094afecfed78; \>= d647c5b2fbf81560818dacade360abc8c00a9665, \< ff6f26c58421614b02694ac9d219ac61d924bc68; 069c3fb310e9336cf48cfdf8748a32c29fd0193d; \>= 5.10.258, \< 5.10.261; … (cvelist)
- Linux: 7.1 (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-80879. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80879.md
Affected: Linux >= 97c03c0e9f73a5049794b3c69ee60fb5e8b0ebd8, < f0ae0a6ca87dc2d4a789f71cdedb808ba6c16990; >= 1e99bb19994246514d63e656492904176f9d5edd, < 137e8b4823a9a11928428d4ec0a0cacb2f50a769; >= 91e05ac2336d00d5b99fc774be4bd50039084796, < 4273548e418bd935430d35e9d052870f323441f3; >= 886f97fa59d0bbfa9859fb1…
Fixed in: Linux 137e8b4823a9a11928428d4ec0a0cacb2f50a769, Linux 4273548e418bd935430d35e9d052870f323441f3, Linux 49b34bd3ad69611af03590a23abf2cda9ac1073d, Linux 5.10.261

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

There is no confirmed exploitation: CVE-2026-80879 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-80879?

It has no CVSS score yet. Unknown.

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

Linux \>= 97c03c0e9f73a5049794b3c69ee60fb5e8b0ebd8, \< f0ae0a6ca87dc2d4a789f71cdedb808ba6c16990; \>= 1e99bb19994246514d63e656492904176f9d5edd, \< 137e8b4823a9a11928428d4ec0a0cacb2f50a769; \>= 91e05ac2336d00d5b99fc774be4bd50039084796, \< 4273548e418bd935430d35e9d052870f323441f3; \>= 886f97fa59d0bbfa9859fb1a66dd9e014b522d89, \< 49b34bd3ad69611af03590a23abf2cda9ac1073d; \>= ea5bb1d20da756e4f41a48dad42b2e7d6e73f71e, \< ff187c502b39389b0d732cb7050a3db8e5ebfcd6; \>= 3c636a3edca9c3f180b3079f94fe7e115730d9c6, \< ae1f3460833d3e427420ab260278ec0e45d68c86; \>= d647c5b2fbf81560818dacade360abc8c00a9665, \< f3dd1e534e9de64669415f8239e0094afecfed78; \>= d647c5b2fbf81560818dacade360abc8c00a9665, \< ff6f26c58421614b02694ac9d219ac61d924bc68; 069c3fb310e9336cf48cfdf8748a32c29fd0193d; \>= 5.10.258, \< 5.10.261; …; Linux 7.1.

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

Yes. Fixed in Linux 137e8b4823a9a11928428d4ec0a0cacb2f50a769, Linux 4273548e418bd935430d35e9d052870f323441f3, Linux 49b34bd3ad69611af03590a23abf2cda9ac1073d, Linux 5.10.261. No fix listed yet: follow the vendor advisory.

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

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/f0ae0a6ca87dc2d4a789f71cdedb808ba6c16990>
- other: <https://git.kernel.org/stable/c/137e8b4823a9a11928428d4ec0a0cacb2f50a769>
- other: <https://git.kernel.org/stable/c/4273548e418bd935430d35e9d052870f323441f3>
- other: <https://git.kernel.org/stable/c/49b34bd3ad69611af03590a23abf2cda9ac1073d>
- other: <https://git.kernel.org/stable/c/ff187c502b39389b0d732cb7050a3db8e5ebfcd6>
- other: <https://git.kernel.org/stable/c/ae1f3460833d3e427420ab260278ec0e45d68c86>
- other: <https://git.kernel.org/stable/c/f3dd1e534e9de64669415f8239e0094afecfed78>
- other: <https://git.kernel.org/stable/c/ff6f26c58421614b02694ac9d219ac61d924bc68>

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

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