CVE-2025-40055Published Oct 28, 2025 · Oct 28Updated Oct 28
ocfs2: fix double free in user_cluster_connect()
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ c994c2ebdbbc391a42f177c8eb7882ebf3f142d8 · < 694d5b401036a614f8080085a9de6f86ff0742dc| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s ocfs2 user_cluster_connect() can free the same memory twice when error handling follows user_cluster_disconnect(). The input does not specify how an attacker could trigger this path or whether authentication or user interaction is required.
Teams running the Linux kernel with ocfs2 should check their deployments; affected versions were not provided.