In the Linux kernel, the following vulnerability has been resolved:
KEYS: trusted: Fix memory leak in tpm2keyencode()
'scratch' is never freed. Fix this by calling kfree() in the success, and in the error case.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e62835264d0352be6086975f18fdfed2b5520b13",
"id": "CVE-2024-36967-05b015fc",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "tpm2_key_encode",
"file": "security/keys/trusted-keys/trusted_tpm2.c"
},
"signature_type": "Function",
"digest": {
"length": 1217.0,
"function_hash": "99679418169835517483014500034338858919"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e62835264d0352be6086975f18fdfed2b5520b13",
"id": "CVE-2024-36967-0c11f403",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "security/keys/trusted-keys/trusted_tpm2.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"275184445759315928404492787384773125814",
"41863587223698277367394003821093351641",
"289005847704398191584081130067632983007",
"215061541324562528347979953006974139511",
"21231388824093231760894858782034868468",
"158311667475201175355750856655376013750",
"238972728737493481681550679927520086959",
"123228597662368551553294642135569926661",
"312765134527077705395678530507096518736",
"253476921771125660264063630869292957231",
"48859207971639428792749087969856955211",
"311197603584165475990593859252546243073",
"334340257003596273634745712070384021251",
"105355435205148129816900192204211518849",
"166563405126677883262179778903728269631",
"229288899876289701528433562916143822255",
"92514955106777743948494737868910419948",
"37477754664226643049878894469730151335",
"55572334718287043515213213790245207117",
"133525886575097220869283532473371780911"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5d91238b590bd883c86ba7707c5c9096469c08b7",
"id": "CVE-2024-36967-0c2890d3",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "security/keys/trusted-keys/trusted_tpm2.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"275184445759315928404492787384773125814",
"41863587223698277367394003821093351641",
"289005847704398191584081130067632983007",
"215061541324562528347979953006974139511",
"21231388824093231760894858782034868468",
"158311667475201175355750856655376013750",
"238972728737493481681550679927520086959",
"123228597662368551553294642135569926661",
"312765134527077705395678530507096518736",
"253476921771125660264063630869292957231",
"48859207971639428792749087969856955211",
"311197603584165475990593859252546243073",
"334340257003596273634745712070384021251",
"105355435205148129816900192204211518849",
"166563405126677883262179778903728269631",
"229288899876289701528433562916143822255",
"92514955106777743948494737868910419948",
"37477754664226643049878894469730151335",
"55572334718287043515213213790245207117",
"133525886575097220869283532473371780911"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ffcaa2172cc1a85ddb8b783de96d38ca8855e248",
"id": "CVE-2024-36967-1753f7fd",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "security/keys/trusted-keys/trusted_tpm2.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"275184445759315928404492787384773125814",
"41863587223698277367394003821093351641",
"289005847704398191584081130067632983007",
"215061541324562528347979953006974139511",
"21231388824093231760894858782034868468",
"158311667475201175355750856655376013750",
"238972728737493481681550679927520086959",
"123228597662368551553294642135569926661",
"312765134527077705395678530507096518736",
"253476921771125660264063630869292957231",
"48859207971639428792749087969856955211",
"311197603584165475990593859252546243073",
"334340257003596273634745712070384021251",
"105355435205148129816900192204211518849",
"166563405126677883262179778903728269631",
"229288899876289701528433562916143822255",
"92514955106777743948494737868910419948",
"37477754664226643049878894469730151335",
"55572334718287043515213213790245207117",
"133525886575097220869283532473371780911"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ffcaa2172cc1a85ddb8b783de96d38ca8855e248",
"id": "CVE-2024-36967-3535eaea",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "tpm2_key_encode",
"file": "security/keys/trusted-keys/trusted_tpm2.c"
},
"signature_type": "Function",
"digest": {
"length": 1217.0,
"function_hash": "99679418169835517483014500034338858919"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cf26a92f560eed5d6ddc3d441cc645950cbabc56",
"id": "CVE-2024-36967-3f55636a",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "security/keys/trusted-keys/trusted_tpm2.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"275184445759315928404492787384773125814",
"41863587223698277367394003821093351641",
"289005847704398191584081130067632983007",
"215061541324562528347979953006974139511",
"21231388824093231760894858782034868468",
"158311667475201175355750856655376013750",
"238972728737493481681550679927520086959",
"123228597662368551553294642135569926661",
"312765134527077705395678530507096518736",
"253476921771125660264063630869292957231",
"48859207971639428792749087969856955211",
"311197603584165475990593859252546243073",
"334340257003596273634745712070384021251",
"105355435205148129816900192204211518849",
"166563405126677883262179778903728269631",
"229288899876289701528433562916143822255",
"92514955106777743948494737868910419948",
"37477754664226643049878894469730151335",
"55572334718287043515213213790245207117",
"133525886575097220869283532473371780911"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@189c768932d435045b1fae12bf63e53866f06a28",
"id": "CVE-2024-36967-54ba2796",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "tpm2_key_encode",
"file": "security/keys/trusted-keys/trusted_tpm2.c"
},
"signature_type": "Function",
"digest": {
"length": 1217.0,
"function_hash": "99679418169835517483014500034338858919"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1e6914fa8e7798bcf3ce4a5b96ea4ac1d5571cdf",
"id": "CVE-2024-36967-8dfa5f96",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "security/keys/trusted-keys/trusted_tpm2.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"275184445759315928404492787384773125814",
"41863587223698277367394003821093351641",
"289005847704398191584081130067632983007",
"215061541324562528347979953006974139511",
"21231388824093231760894858782034868468",
"158311667475201175355750856655376013750",
"238972728737493481681550679927520086959",
"123228597662368551553294642135569926661",
"312765134527077705395678530507096518736",
"253476921771125660264063630869292957231",
"48859207971639428792749087969856955211",
"311197603584165475990593859252546243073",
"334340257003596273634745712070384021251",
"105355435205148129816900192204211518849",
"166563405126677883262179778903728269631",
"229288899876289701528433562916143822255",
"92514955106777743948494737868910419948",
"37477754664226643049878894469730151335",
"55572334718287043515213213790245207117",
"133525886575097220869283532473371780911"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@189c768932d435045b1fae12bf63e53866f06a28",
"id": "CVE-2024-36967-aad37ac5",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "security/keys/trusted-keys/trusted_tpm2.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"275184445759315928404492787384773125814",
"41863587223698277367394003821093351641",
"289005847704398191584081130067632983007",
"215061541324562528347979953006974139511",
"21231388824093231760894858782034868468",
"158311667475201175355750856655376013750",
"238972728737493481681550679927520086959",
"123228597662368551553294642135569926661",
"312765134527077705395678530507096518736",
"253476921771125660264063630869292957231",
"48859207971639428792749087969856955211",
"311197603584165475990593859252546243073",
"334340257003596273634745712070384021251",
"105355435205148129816900192204211518849",
"166563405126677883262179778903728269631",
"229288899876289701528433562916143822255",
"92514955106777743948494737868910419948",
"37477754664226643049878894469730151335",
"55572334718287043515213213790245207117",
"133525886575097220869283532473371780911"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5d91238b590bd883c86ba7707c5c9096469c08b7",
"id": "CVE-2024-36967-be078169",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "tpm2_key_encode",
"file": "security/keys/trusted-keys/trusted_tpm2.c"
},
"signature_type": "Function",
"digest": {
"length": 1217.0,
"function_hash": "99679418169835517483014500034338858919"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1e6914fa8e7798bcf3ce4a5b96ea4ac1d5571cdf",
"id": "CVE-2024-36967-ee856a10",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "tpm2_key_encode",
"file": "security/keys/trusted-keys/trusted_tpm2.c"
},
"signature_type": "Function",
"digest": {
"length": 1217.0,
"function_hash": "99679418169835517483014500034338858919"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cf26a92f560eed5d6ddc3d441cc645950cbabc56",
"id": "CVE-2024-36967-fd2d9621",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "tpm2_key_encode",
"file": "security/keys/trusted-keys/trusted_tpm2.c"
},
"signature_type": "Function",
"digest": {
"length": 1217.0,
"function_hash": "99679418169835517483014500034338858919"
}
}
]