CVE-2025-40055

published 28 Oct 2025 · updated 11 May 2026

ocfs2: fix double free in user_cluster_connect()

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 283333079d96c84baa91f0c62b5e0cbec246b7a2, Kernel 694d5b401036a614f8080085a9de6f86ff0742dc, Kernel 7e76fe9dfadbc00364d7523d5a109e9d3e4a7db2 and 5 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.14, >=c994c2ebdbbc391a42f177c8eb7882ebf3f142d8 <283333079d96c84baa91f0c62b5e0cbec246b7a2, >=c994c2ebdbbc391a42f177c8eb7882ebf3f142d8 <694d5b401036a614f8080085a9de6f86ff0742dc, >=c994c2ebdbbc391a42f177c8eb7882ebf3f142d8 <7e76fe9dfadbc00364d7523d5a109e9d3e4a7db2, >=c994c2ebdbbc391a42f177c8eb7882ebf3f142d8 <827c8efa0d1afe817b90f3618afff552e88348d2, >=c994c2ebdbbc391a42f177c8eb7882ebf3f142d8 <892f41e12c8689130d552a9eb2b77bafd26484ab, >=c994c2ebdbbc391a42f177c8eb7882ebf3f142d8 <8f45f089337d924db24397f55697cda0e6960516, >=c994c2ebdbbc391a42f177c8eb7882ebf3f142d8 <bfe011297ddd2d0cd64752978baaa0c04cd20573, >=c994c2ebdbbc391a42f177c8eb7882ebf3f142d8 <f992bc72f681c32a682d474a29c2135a64d4f4e5283333079d96c84baa91f0c62b5e0cbec246b7a2, 694d5b401036a614f8080085a9de6f86ff0742dc, 7e76fe9dfadbc00364d7523d5a109e9d3e4a7db2, 827c8efa0d1afe817b90f3618afff552e88348d2, 892f41e12c8689130d552a9eb2b77bafd26484ab, 8f45f089337d924db24397f55697cda0e6960516, bfe011297ddd2d0cd64752978baaa0c04cd20573, f992bc72f681c32a682d474a29c2135a64d4f4e5

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40055 severity on Zeptric[![CVE-2025-40055](https://zeptric.io/badge/cve/CVE-2025-40055.svg)](https://zeptric.io/cve/CVE-2025-40055)