# CVE-2025-68771: ocfs2: fix kernel BUG in ocfs2\_find\_victim\_chain

> 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.27% (percentile 11, 2026-11-26)
- **Published:** 2026-01-13T15:28:49.272Z
- **Modified:** 2026-06-17T09:59:33.620Z

## Who should check

- Anyone running Linux \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 1f77e5cd563e6387fdf3bb714fcda36cd88ac5e7; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< d0fd1f732ea8063cecd07a3879b7d815c7ee71ed; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< b08a33d5f80efe6979a6e8f905c1a898910c21dd; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 96f1b074c98c20f55a3b23d2ab44d9fb0f619869; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< e24aedae71652d4119049f1fbef6532ccbe3966d; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 7acc0390e0dd7474c4451d05465a677d55ad4268; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 039bef30e320827bac8990c9f29d2a68cd8adb5f
- Anyone running Linux 2.6.16

## Description

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

ocfs2: fix kernel BUG in ocfs2\_find\_victim\_chain

syzbot reported a kernel BUG in ocfs2\_find\_victim\_chain() because the
\`cl\_next\_free\_rec\` field of the allocation chain list (next free slot in
the chain list) is 0, triggring the BUG\_ON(!cl-\>cl\_next\_free\_rec)
condition in ocfs2\_find\_victim\_chain() and panicking the kernel.

To fix this, an if condition is introduced in ocfs2\_claim\_suballoc\_bits(),
just before calling ocfs2\_find\_victim\_chain(), the code block in it being
executed when either of the following conditions is true:

1. \`cl\_next\_free\_rec\` is equal to 0, indicating that there are no free
chains in the allocation chain list
2. \`cl\_next\_free\_rec\` is greater than \`cl\_count\` (the total number of
chains in the allocation chain list)

Either of them being true is indicative of the fact that there are no
chains left for usage.

This is addressed using ocfs2\_error(), which prints
the error log for debugging purposes, rather than panicking the kernel.

## Affected and fixed versions

- Linux: \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 1f77e5cd563e6387fdf3bb714fcda36cd88ac5e7; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< d0fd1f732ea8063cecd07a3879b7d815c7ee71ed; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< b08a33d5f80efe6979a6e8f905c1a898910c21dd; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 96f1b074c98c20f55a3b23d2ab44d9fb0f619869; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< e24aedae71652d4119049f1fbef6532ccbe3966d; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 7acc0390e0dd7474c4451d05465a677d55ad4268; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 039bef30e320827bac8990c9f29d2a68cd8adb5f (cvelist)
- Linux: 2.6.16 (cvelist)

## Mitigation

- Upgrade Linux to 039bef30e320827bac8990c9f29d2a68cd8adb5f or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-68771.md
Affected: Linux >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < 1f77e5cd563e6387fdf3bb714fcda36cd88ac5e7; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < d0fd1f732ea8063cecd07a3879b7d815c7ee71ed; >= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, < b08a33d5f80efe6979a6e8f905c1a898910c21dd; >= ccd979bdbce9fba8412beb3…
Fixed in: Linux 1f77e5cd563e6387fdf3bb714fcda36cd88ac5e7, Linux 96f1b074c98c20f55a3b23d2ab44d9fb0f619869, Linux 7acc0390e0dd7474c4451d05465a677d55ad4268, Linux 039bef30e320827bac8990c9f29d2a68cd8adb5f

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-2025-68771 being exploited?

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

### How serious is CVE-2025-68771?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68771?

Linux \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 1f77e5cd563e6387fdf3bb714fcda36cd88ac5e7; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< d0fd1f732ea8063cecd07a3879b7d815c7ee71ed; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< b08a33d5f80efe6979a6e8f905c1a898910c21dd; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 96f1b074c98c20f55a3b23d2ab44d9fb0f619869; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< e24aedae71652d4119049f1fbef6532ccbe3966d; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 7acc0390e0dd7474c4451d05465a677d55ad4268; \>= ccd979bdbce9fba8412beb3f1de68a9d0171b12c, \< 039bef30e320827bac8990c9f29d2a68cd8adb5f; Linux 2.6.16.

### Is there a fix for CVE-2025-68771?

Yes. Fixed in Linux 1f77e5cd563e6387fdf3bb714fcda36cd88ac5e7, Linux 96f1b074c98c20f55a3b23d2ab44d9fb0f619869, Linux 7acc0390e0dd7474c4451d05465a677d55ad4268, Linux 039bef30e320827bac8990c9f29d2a68cd8adb5f. Upgrade Linux to 039bef30e320827bac8990c9f29d2a68cd8adb5f or later.

### How do I check if I'm affected by CVE-2025-68771?

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/1f77e5cd563e6387fdf3bb714fcda36cd88ac5e7>
- other: <https://git.kernel.org/stable/c/d0fd1f732ea8063cecd07a3879b7d815c7ee71ed>
- other: <https://git.kernel.org/stable/c/b08a33d5f80efe6979a6e8f905c1a898910c21dd>
- other: <https://git.kernel.org/stable/c/96f1b074c98c20f55a3b23d2ab44d9fb0f619869>
- other: <https://git.kernel.org/stable/c/e24aedae71652d4119049f1fbef6532ccbe3966d>
- other: <https://git.kernel.org/stable/c/7acc0390e0dd7474c4451d05465a677d55ad4268>
- other: <https://git.kernel.org/stable/c/039bef30e320827bac8990c9f29d2a68cd8adb5f>

## 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-2025-68771>

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