In the Linux kernel, the following vulnerability has been resolved:
ocfs2: fix double free in userclusterconnect()
userclusterdisconnect() 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.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@694d5b401036a614f8080085a9de6f86ff0742dc",
"signature_version": "v1",
"id": "CVE-2025-40055-087b5dbd",
"signature_type": "Function",
"digest": {
"function_hash": "213086790361647709462320666484471878180",
"length": 1807.0
},
"deprecated": false,
"target": {
"file": "fs/ocfs2/stack_user.c",
"function": "user_cluster_connect"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bfe011297ddd2d0cd64752978baaa0c04cd20573",
"signature_version": "v1",
"id": "CVE-2025-40055-14978385",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"132864008480643132896815798625449624046",
"157215566617705470658221379198825500691",
"148521536716975141611437699954192356684",
"304441706334848747258829899865459836089"
]
},
"deprecated": false,
"target": {
"file": "fs/ocfs2/stack_user.c"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7e76fe9dfadbc00364d7523d5a109e9d3e4a7db2",
"signature_version": "v1",
"id": "CVE-2025-40055-34e5fddf",
"signature_type": "Function",
"digest": {
"function_hash": "213086790361647709462320666484471878180",
"length": 1807.0
},
"deprecated": false,
"target": {
"file": "fs/ocfs2/stack_user.c",
"function": "user_cluster_connect"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@283333079d96c84baa91f0c62b5e0cbec246b7a2",
"signature_version": "v1",
"id": "CVE-2025-40055-359652db",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"132864008480643132896815798625449624046",
"157215566617705470658221379198825500691",
"148521536716975141611437699954192356684",
"304441706334848747258829899865459836089"
]
},
"deprecated": false,
"target": {
"file": "fs/ocfs2/stack_user.c"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bfe011297ddd2d0cd64752978baaa0c04cd20573",
"signature_version": "v1",
"id": "CVE-2025-40055-44c6cb9c",
"signature_type": "Function",
"digest": {
"function_hash": "213086790361647709462320666484471878180",
"length": 1807.0
},
"deprecated": false,
"target": {
"file": "fs/ocfs2/stack_user.c",
"function": "user_cluster_connect"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f992bc72f681c32a682d474a29c2135a64d4f4e5",
"signature_version": "v1",
"id": "CVE-2025-40055-4a03be3a",
"signature_type": "Function",
"digest": {
"function_hash": "161603694673230943686281683764015882163",
"length": 1821.0
},
"deprecated": false,
"target": {
"file": "fs/ocfs2/stack_user.c",
"function": "user_cluster_connect"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8f45f089337d924db24397f55697cda0e6960516",
"signature_version": "v1",
"id": "CVE-2025-40055-4dc052b9",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"132864008480643132896815798625449624046",
"157215566617705470658221379198825500691",
"148521536716975141611437699954192356684",
"304441706334848747258829899865459836089"
]
},
"deprecated": false,
"target": {
"file": "fs/ocfs2/stack_user.c"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@827c8efa0d1afe817b90f3618afff552e88348d2",
"signature_version": "v1",
"id": "CVE-2025-40055-59e7d2ad",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"132864008480643132896815798625449624046",
"157215566617705470658221379198825500691",
"148521536716975141611437699954192356684",
"304441706334848747258829899865459836089"
]
},
"deprecated": false,
"target": {
"file": "fs/ocfs2/stack_user.c"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@694d5b401036a614f8080085a9de6f86ff0742dc",
"signature_version": "v1",
"id": "CVE-2025-40055-5e6c96cf",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"132864008480643132896815798625449624046",
"157215566617705470658221379198825500691",
"148521536716975141611437699954192356684",
"304441706334848747258829899865459836089"
]
},
"deprecated": false,
"target": {
"file": "fs/ocfs2/stack_user.c"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@892f41e12c8689130d552a9eb2b77bafd26484ab",
"signature_version": "v1",
"id": "CVE-2025-40055-63a9f83e",
"signature_type": "Function",
"digest": {
"function_hash": "213086790361647709462320666484471878180",
"length": 1807.0
},
"deprecated": false,
"target": {
"file": "fs/ocfs2/stack_user.c",
"function": "user_cluster_connect"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8f45f089337d924db24397f55697cda0e6960516",
"signature_version": "v1",
"id": "CVE-2025-40055-6cb01dc6",
"signature_type": "Function",
"digest": {
"function_hash": "213086790361647709462320666484471878180",
"length": 1807.0
},
"deprecated": false,
"target": {
"file": "fs/ocfs2/stack_user.c",
"function": "user_cluster_connect"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@283333079d96c84baa91f0c62b5e0cbec246b7a2",
"signature_version": "v1",
"id": "CVE-2025-40055-7dc52358",
"signature_type": "Function",
"digest": {
"function_hash": "161603694673230943686281683764015882163",
"length": 1821.0
},
"deprecated": false,
"target": {
"file": "fs/ocfs2/stack_user.c",
"function": "user_cluster_connect"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@827c8efa0d1afe817b90f3618afff552e88348d2",
"signature_version": "v1",
"id": "CVE-2025-40055-88b46ed9",
"signature_type": "Function",
"digest": {
"function_hash": "161603694673230943686281683764015882163",
"length": 1821.0
},
"deprecated": false,
"target": {
"file": "fs/ocfs2/stack_user.c",
"function": "user_cluster_connect"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7e76fe9dfadbc00364d7523d5a109e9d3e4a7db2",
"signature_version": "v1",
"id": "CVE-2025-40055-ad3d03f3",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"132864008480643132896815798625449624046",
"157215566617705470658221379198825500691",
"148521536716975141611437699954192356684",
"304441706334848747258829899865459836089"
]
},
"deprecated": false,
"target": {
"file": "fs/ocfs2/stack_user.c"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f992bc72f681c32a682d474a29c2135a64d4f4e5",
"signature_version": "v1",
"id": "CVE-2025-40055-c32a748b",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"132864008480643132896815798625449624046",
"157215566617705470658221379198825500691",
"148521536716975141611437699954192356684",
"304441706334848747258829899865459836089"
]
},
"deprecated": false,
"target": {
"file": "fs/ocfs2/stack_user.c"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@892f41e12c8689130d552a9eb2b77bafd26484ab",
"signature_version": "v1",
"id": "CVE-2025-40055-e732be79",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"132864008480643132896815798625449624046",
"157215566617705470658221379198825500691",
"148521536716975141611437699954192356684",
"304441706334848747258829899865459836089"
]
},
"deprecated": false,
"target": {
"file": "fs/ocfs2/stack_user.c"
}
}
]