In the Linux kernel, the following vulnerability has been resolved:
arm64: acpi: Fix possible memory leak of ffh_ctxt
Allocated 'ffh_ctxt' memory leak is possible if the SMCCC version and conduit checks fail and -EOPNOTSUPP is returned without freeing the allocated memory.
Fix the same by moving the allocation after the SMCCC version and conduit checks.
[
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1b561d3949f8478c5403c9752b5533211a757226",
"signature_type": "Function",
"id": "CVE-2023-53266-0943a17c",
"target": {
"function": "acpi_ffh_address_space_arch_setup",
"file": "arch/arm64/kernel/acpi.c"
},
"digest": {
"length": 664.0,
"function_hash": "37909048395805717928044208351627188876"
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7521da2eb42d65f89f511b7912d3757cf3d9168a",
"signature_type": "Function",
"id": "CVE-2023-53266-0e51520c",
"target": {
"function": "acpi_ffh_address_space_arch_setup",
"file": "arch/arm64/kernel/acpi.c"
},
"digest": {
"length": 664.0,
"function_hash": "37909048395805717928044208351627188876"
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7521da2eb42d65f89f511b7912d3757cf3d9168a",
"signature_type": "Line",
"id": "CVE-2023-53266-acfa2ab6",
"target": {
"file": "arch/arm64/kernel/acpi.c"
},
"digest": {
"line_hashes": [
"115725192186714807080430961817606588247",
"28932595281001895477408901028617848975",
"290929063261465213069851876608543737372",
"58146166695560493965610819070023885359",
"119461471813455755413114972599994840711",
"241754783598726840616689355167725848844",
"200188274497637205109204565373421106093",
"316829808738999509607166545373650405451",
"58926027469619817199681904098620178142"
],
"threshold": 0.9
},
"deprecated": false
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1b561d3949f8478c5403c9752b5533211a757226",
"signature_type": "Line",
"id": "CVE-2023-53266-b5eb9dc8",
"target": {
"file": "arch/arm64/kernel/acpi.c"
},
"digest": {
"line_hashes": [
"115725192186714807080430961817606588247",
"28932595281001895477408901028617848975",
"290929063261465213069851876608543737372",
"58146166695560493965610819070023885359",
"119461471813455755413114972599994840711",
"241754783598726840616689355167725848844",
"200188274497637205109204565373421106093",
"316829808738999509607166545373650405451",
"58926027469619817199681904098620178142"
],
"threshold": 0.9
},
"deprecated": false
}
]