{"id":"CVE-2025-40055","summary":"ocfs2: fix double free in user_cluster_connect()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: fix double free in user_cluster_connect()\n\nuser_cluster_disconnect() frees \"conn-\u003ecc_private\" which is \"lc\" but then\nthe error handling frees \"lc\" a second time.  Set \"lc\" to NULL on this\npath to avoid a double free.","modified":"2026-04-16T00:08:39.073872091Z","published":"2025-10-28T11:48:29.665Z","related":["SUSE-SU-2025:4393-1","SUSE-SU-2025:4422-1","SUSE-SU-2025:4505-1","SUSE-SU-2025:4515-1","SUSE-SU-2025:4516-1","SUSE-SU-2025:4517-1","SUSE-SU-2025:4521-1","SUSE-SU-2026:20012-1","SUSE-SU-2026:20015-1","SUSE-SU-2026:20021-1","SUSE-SU-2026:20039-1","SUSE-SU-2026:20059-1","SUSE-SU-2026:20473-1","SUSE-SU-2026:20496-1","openSUSE-SU-2025:15702-1","openSUSE-SU-2025:20172-1","openSUSE-SU-2026:10301-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40055.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/283333079d96c84baa91f0c62b5e0cbec246b7a2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/694d5b401036a614f8080085a9de6f86ff0742dc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7e76fe9dfadbc00364d7523d5a109e9d3e4a7db2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/827c8efa0d1afe817b90f3618afff552e88348d2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/892f41e12c8689130d552a9eb2b77bafd26484ab"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8f45f089337d924db24397f55697cda0e6960516"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bfe011297ddd2d0cd64752978baaa0c04cd20573"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f992bc72f681c32a682d474a29c2135a64d4f4e5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40055.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40055"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c994c2ebdbbc391a42f177c8eb7882ebf3f142d8"},{"fixed":"283333079d96c84baa91f0c62b5e0cbec246b7a2"},{"fixed":"f992bc72f681c32a682d474a29c2135a64d4f4e5"},{"fixed":"827c8efa0d1afe817b90f3618afff552e88348d2"},{"fixed":"bfe011297ddd2d0cd64752978baaa0c04cd20573"},{"fixed":"7e76fe9dfadbc00364d7523d5a109e9d3e4a7db2"},{"fixed":"694d5b401036a614f8080085a9de6f86ff0742dc"},{"fixed":"892f41e12c8689130d552a9eb2b77bafd26484ab"},{"fixed":"8f45f089337d924db24397f55697cda0e6960516"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40055.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.14.0"},{"fixed":"5.4.301"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.246"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.195"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.156"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.112"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.17.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40055.json"}}],"schema_version":"1.7.5"}