Not scored
ocfs2: fix double free in user_cluster_connect()
- Severity
- Not scored
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from c994c2ebdbbc391a42f177c8eb7882ebf3f142d8 before 283333079d96c84baa91f0c62b5e0cbec246b7a2, from c994c2ebdbbc391a42f177c8eb7882ebf3f142d8 before f992bc72f681c32a682d474a29c2135a64d4f4e5, from c994c2ebdbbc391a42f177c8eb7882ebf3f142d8 before 827c8efa0d1afe817b90f3618afff552e88348d2, from c994c2ebdbbc391a42f177c8eb7882ebf3f142d8 before bfe011297ddd2d0cd64752978baaa0c04cd20573, from c994c2ebdbbc391a42f177c8eb7882ebf3f142d8 before 7e76fe9dfadbc00364d7523d5a109e9d3e4a7db2, from c994c2ebdbbc391a42f177c8eb7882ebf3f142d8 before 694d5b401036a614f8080085a9de6f86ff0742dc, from c994c2ebdbbc391a42f177c8eb7882ebf3f142d8 before 892f41e12c8689130d552a9eb2b77bafd26484ab, from c994c2ebdbbc391a42f177c8eb7882ebf3f142d8 before 8f45f089337d924db24397f55697cda0e6960516 and 1 more Not affected: before 3.14, from 5.4.301 up to 5.4.*, from 5.10.246 up to 5.10.*, from 5.15.195 up to 5.15.*, from 6.1.156 up to 6.1.*, from 6.6.112 up to 6.6.* | CVE List |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ocfs2: corrección de doble liberación en user_cluster_connect() user_cluster_disconnect() libera 'conn->cc_private', que es 'lc', pero luego el manejo de errores libera 'lc' una segunda vez. Establezca 'lc' a NULL en esta ruta para evitar una doble liberación.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-40055 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-40055 changed 2026-10-19 | Public domain |