CVE-2023-53266

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-53266
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53266.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53266
Downstream
Published
2025-09-16T08:06:56.578Z
Modified
2025-11-15T12:15:00.604499Z
Summary
arm64: acpi: Fix possible memory leak of ffh_ctxt
Details

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.

References

Affected packages

Git / 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
1d280ce099db396e092cac1aa9bf2ea8beee6d76
Fixed
7521da2eb42d65f89f511b7912d3757cf3d9168a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1d280ce099db396e092cac1aa9bf2ea8beee6d76
Fixed
1b561d3949f8478c5403c9752b5533211a757226

Affected versions

v6.*

v6.1
v6.1-rc6
v6.1-rc7
v6.1-rc8
v6.2
v6.2-rc1
v6.2-rc2
v6.2-rc3
v6.2-rc4
v6.2-rc5
v6.2-rc6
v6.2-rc7
v6.2-rc8
v6.2.1
v6.2.2

Database specific

vanir_signatures

[
    {
        "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
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.2.3