CVE-2023-53264

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-53264
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53264.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-53264
Downstream
Related
Published
2025-09-16T08:06:54Z
Modified
2025-10-21T16:26:59.125069Z
Summary
clk: imx: clk-imxrt1050: fix memory leak in imxrt1050_clocks_probe
Details

In the Linux kernel, the following vulnerability has been resolved:

clk: imx: clk-imxrt1050: fix memory leak in imxrt1050clocksprobe

Use devmofiomap() instead of ofiomap() to automatically handle the unused ioremap region. If any error occurs, regions allocated by kzalloc() will leak, but using devmkzalloc() instead will automatically free the memory using devm_kfree().

Also, fix error handling of hws by adding unregister_hws label, which unregisters remaining hws when iomap failed.

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
7154b046d8f3a441474ced1688eb348d42f5f165
Fixed
1839032251a66f2ae5a043c495532830a55d28c4
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7154b046d8f3a441474ced1688eb348d42f5f165
Fixed
0fbdfd2542252e4c02e8158a06b7c0c9cfd40f99
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7154b046d8f3a441474ced1688eb348d42f5f165
Fixed
02e54db221bb001b32f839e0149ee8d890ab9aa1
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7154b046d8f3a441474ced1688eb348d42f5f165
Fixed
1b280598ab3bd8a2dc8b96a12530d5b1ee7a8f4a

Affected versions

v5.*

v5.17
v5.17-rc2
v5.17-rc3
v5.17-rc4
v5.17-rc5
v5.17-rc6
v5.17-rc7
v5.17-rc8
v5.18
v5.18-rc1
v5.18-rc2
v5.18-rc3
v5.18-rc4
v5.18-rc5
v5.18-rc6
v5.18-rc7
v5.19
v5.19-rc1
v5.19-rc2
v5.19-rc3
v5.19-rc4
v5.19-rc5
v5.19-rc6
v5.19-rc7
v5.19-rc8

v6.*

v6.0
v6.0-rc1
v6.0-rc2
v6.0-rc3
v6.0-rc4
v6.0-rc5
v6.0-rc6
v6.0-rc7
v6.1
v6.1-rc1
v6.1-rc2
v6.1-rc3
v6.1-rc4
v6.1-rc5
v6.1-rc6
v6.1-rc7
v6.1-rc8
v6.1.1
v6.1.10
v6.1.11
v6.1.12
v6.1.13
v6.1.14
v6.1.15
v6.1.16
v6.1.17
v6.1.18
v6.1.19
v6.1.2
v6.1.20
v6.1.21
v6.1.22
v6.1.23
v6.1.24
v6.1.25
v6.1.26
v6.1.27
v6.1.28
v6.1.29
v6.1.3
v6.1.30
v6.1.31
v6.1.32
v6.1.33
v6.1.34
v6.1.35
v6.1.36
v6.1.37
v6.1.38
v6.1.4
v6.1.5
v6.1.6
v6.1.7
v6.1.8
v6.1.9
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.3
v6.3-rc1
v6.3-rc2
v6.3-rc3
v6.3-rc4
v6.3-rc5
v6.3-rc6
v6.3-rc7
v6.3.1
v6.3.10
v6.3.11
v6.3.12
v6.3.2
v6.3.3
v6.3.4
v6.3.5
v6.3.6
v6.3.7
v6.3.8
v6.3.9
v6.4
v6.4-rc1
v6.4-rc2
v6.4-rc3
v6.4-rc4
v6.4-rc5
v6.4-rc6
v6.4-rc7
v6.4.1
v6.4.2
v6.4.3

Database specific

vanir_signatures

[
    {
        "id": "CVE-2023-53264-30bd2767",
        "target": {
            "file": "drivers/clk/imx/clk-imxrt1050.c"
        },
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "193085025887409868050440709511415749631",
                "36142477142581066034484238955750667643",
                "330918317043202003937074396864986030393",
                "337834218158860069205612157029892201949",
                "285333018147520318206240284628344379067",
                "291963007022764372451882962795751241400",
                "255749243042216810318849184702295563097",
                "164706142792202808273081315050516636515",
                "144742990937602696597973010636069715181",
                "228150018751774546779136841536112814480",
                "6488714034253207557151577238563376147",
                "111842688430716127656699502138039702275",
                "215645784933852491134861369444033503000",
                "275138322263012786926868740665567933577",
                "72281919693066628002923977166178144048",
                "318210698572230383437805496672452438175",
                "108755086669239727147787747441851528690",
                "248661807671037668239365632211247253865",
                "106543454662031167872516280961381326216",
                "155605018708236872934186509869652153049",
                "150958262585011644196938032422794453416"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0fbdfd2542252e4c02e8158a06b7c0c9cfd40f99",
        "signature_type": "Line"
    },
    {
        "id": "CVE-2023-53264-50246ad5",
        "target": {
            "function": "imxrt1050_clocks_probe",
            "file": "drivers/clk/imx/clk-imxrt1050.c"
        },
        "signature_version": "v1",
        "digest": {
            "length": 6077.0,
            "function_hash": "257838506883372299989497006105012464464"
        },
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0fbdfd2542252e4c02e8158a06b7c0c9cfd40f99",
        "signature_type": "Function"
    },
    {
        "id": "CVE-2023-53264-84f0df95",
        "target": {
            "function": "imxrt1050_clocks_probe",
            "file": "drivers/clk/imx/clk-imxrt1050.c"
        },
        "signature_version": "v1",
        "digest": {
            "length": 5988.0,
            "function_hash": "116510340436209645782480693846556755944"
        },
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1839032251a66f2ae5a043c495532830a55d28c4",
        "signature_type": "Function"
    },
    {
        "id": "CVE-2023-53264-87f91927",
        "target": {
            "file": "drivers/clk/imx/clk-imxrt1050.c"
        },
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "193085025887409868050440709511415749631",
                "36142477142581066034484238955750667643",
                "330918317043202003937074396864986030393",
                "337834218158860069205612157029892201949",
                "285333018147520318206240284628344379067",
                "291963007022764372451882962795751241400",
                "255749243042216810318849184702295563097",
                "164706142792202808273081315050516636515",
                "144742990937602696597973010636069715181",
                "228150018751774546779136841536112814480",
                "6488714034253207557151577238563376147",
                "111842688430716127656699502138039702275",
                "215645784933852491134861369444033503000",
                "275138322263012786926868740665567933577",
                "72281919693066628002923977166178144048",
                "318210698572230383437805496672452438175",
                "108755086669239727147787747441851528690",
                "248661807671037668239365632211247253865",
                "106543454662031167872516280961381326216",
                "155605018708236872934186509869652153049",
                "150958262585011644196938032422794453416"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1b280598ab3bd8a2dc8b96a12530d5b1ee7a8f4a",
        "signature_type": "Line"
    },
    {
        "id": "CVE-2023-53264-bc083414",
        "target": {
            "file": "drivers/clk/imx/clk-imxrt1050.c"
        },
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "193085025887409868050440709511415749631",
                "36142477142581066034484238955750667643",
                "330918317043202003937074396864986030393",
                "337834218158860069205612157029892201949",
                "338024492272277776317647901106525876179",
                "120528379678039199816001913928839812363",
                "255749243042216810318849184702295563097",
                "164706142792202808273081315050516636515",
                "144742990937602696597973010636069715181",
                "228150018751774546779136841536112814480",
                "6488714034253207557151577238563376147",
                "111842688430716127656699502138039702275",
                "215645784933852491134861369444033503000",
                "275138322263012786926868740665567933577",
                "72281919693066628002923977166178144048",
                "318210698572230383437805496672452438175",
                "108755086669239727147787747441851528690",
                "248661807671037668239365632211247253865",
                "106543454662031167872516280961381326216",
                "155605018708236872934186509869652153049",
                "150958262585011644196938032422794453416"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1839032251a66f2ae5a043c495532830a55d28c4",
        "signature_type": "Line"
    },
    {
        "id": "CVE-2023-53264-c781a46d",
        "target": {
            "function": "imxrt1050_clocks_probe",
            "file": "drivers/clk/imx/clk-imxrt1050.c"
        },
        "signature_version": "v1",
        "digest": {
            "length": 6077.0,
            "function_hash": "257838506883372299989497006105012464464"
        },
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1b280598ab3bd8a2dc8b96a12530d5b1ee7a8f4a",
        "signature_type": "Function"
    },
    {
        "id": "CVE-2023-53264-cec512d0",
        "target": {
            "function": "imxrt1050_clocks_probe",
            "file": "drivers/clk/imx/clk-imxrt1050.c"
        },
        "signature_version": "v1",
        "digest": {
            "length": 6077.0,
            "function_hash": "257838506883372299989497006105012464464"
        },
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@02e54db221bb001b32f839e0149ee8d890ab9aa1",
        "signature_type": "Function"
    },
    {
        "id": "CVE-2023-53264-f879855d",
        "target": {
            "file": "drivers/clk/imx/clk-imxrt1050.c"
        },
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "193085025887409868050440709511415749631",
                "36142477142581066034484238955750667643",
                "330918317043202003937074396864986030393",
                "337834218158860069205612157029892201949",
                "285333018147520318206240284628344379067",
                "291963007022764372451882962795751241400",
                "255749243042216810318849184702295563097",
                "164706142792202808273081315050516636515",
                "144742990937602696597973010636069715181",
                "228150018751774546779136841536112814480",
                "6488714034253207557151577238563376147",
                "111842688430716127656699502138039702275",
                "215645784933852491134861369444033503000",
                "275138322263012786926868740665567933577",
                "72281919693066628002923977166178144048",
                "318210698572230383437805496672452438175",
                "108755086669239727147787747441851528690",
                "248661807671037668239365632211247253865",
                "106543454662031167872516280961381326216",
                "155605018708236872934186509869652153049",
                "150958262585011644196938032422794453416"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@02e54db221bb001b32f839e0149ee8d890ab9aa1",
        "signature_type": "Line"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.18.0
Fixed
6.1.39
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.3.13
Type
ECOSYSTEM
Events
Introduced
6.4.0
Fixed
6.4.4