In the Linux kernel, the following vulnerability has been resolved:
Fix memory leak in posixclockopen()
If the clk ops.open() function returns an error, we don't release the pccontext we allocated for this clock.
Re-organize the code slightly to make it all more obvious.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0200dd7ed2335469955d7e69cc1a6fa7df1f3847",
"signature_version": "v1",
"id": "CVE-2024-26655-74248929",
"signature_type": "Function",
"digest": {
"function_hash": "129145525711850212118572072955504482614",
"length": 587.0
},
"deprecated": false,
"target": {
"file": "kernel/time/posix-clock.c",
"function": "posix_clock_open"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0200dd7ed2335469955d7e69cc1a6fa7df1f3847",
"signature_version": "v1",
"id": "CVE-2024-26655-78858c40",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"156467797403833756003142573356576731038",
"80026844217998910281500840065294602785",
"146414425547638315877727295892867747900",
"40990662304463757202003850616363693441",
"212398934211709296577023834964737605340",
"58755177250203518593223134213114537859",
"76010833192986839349381560618268008797",
"202502933128781791148670454003451428658",
"16778912806549656644157390959375362601",
"107250404483695313294477496739885094007",
"281707811071809079695021721187436022784"
]
},
"deprecated": false,
"target": {
"file": "kernel/time/posix-clock.c"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b4cdd9c5676559b8a7c944ac5269b914b8c0bb8",
"signature_version": "v1",
"id": "CVE-2024-26655-8d8d8d10",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"156467797403833756003142573356576731038",
"80026844217998910281500840065294602785",
"146414425547638315877727295892867747900",
"40990662304463757202003850616363693441",
"212398934211709296577023834964737605340",
"58755177250203518593223134213114537859",
"76010833192986839349381560618268008797",
"202502933128781791148670454003451428658",
"16778912806549656644157390959375362601",
"107250404483695313294477496739885094007",
"281707811071809079695021721187436022784"
]
},
"deprecated": false,
"target": {
"file": "kernel/time/posix-clock.c"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5b4cdd9c5676559b8a7c944ac5269b914b8c0bb8",
"signature_version": "v1",
"id": "CVE-2024-26655-94ff2b0f",
"signature_type": "Function",
"digest": {
"function_hash": "129145525711850212118572072955504482614",
"length": 587.0
},
"deprecated": false,
"target": {
"file": "kernel/time/posix-clock.c",
"function": "posix_clock_open"
}
}
]