CVE-2023-52465

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-52465
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52465.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-52465
Downstream
Related
Published
2024-02-25T08:16:30Z
Modified
2025-10-21T14:02:13.352962Z
Summary
power: supply: Fix null pointer dereference in smb2_probe
Details

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

power: supply: Fix null pointer dereference in smb2_probe

devmkasprintf and devmkzalloc return a pointer to dynamically allocated memory which can be NULL upon failure.

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
8648aeb5d7b70e13264ff5f444f22081d37d4670
Fixed
e2717302fbc20f148bcda362facee0444b949a3a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8648aeb5d7b70e13264ff5f444f22081d37d4670
Fixed
bd3d2ec447ede9da822addf3960a5f4275e3ae76
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8648aeb5d7b70e13264ff5f444f22081d37d4670
Fixed
88f04bc3e737155e13caddf0ba8ed19db87f0212

Affected versions

v6.*

v6.4
v6.4-rc2
v6.4-rc3
v6.4-rc4
v6.4-rc5
v6.4-rc6
v6.4-rc7
v6.5
v6.5-rc1
v6.5-rc2
v6.5-rc3
v6.5-rc4
v6.5-rc5
v6.5-rc6
v6.5-rc7
v6.6
v6.6-rc1
v6.6-rc2
v6.6-rc3
v6.6-rc4
v6.6-rc5
v6.6-rc6
v6.6-rc7
v6.6.1
v6.6.10
v6.6.11
v6.6.12
v6.6.13
v6.6.2
v6.6.3
v6.6.4
v6.6.5
v6.6.6
v6.6.7
v6.6.8
v6.6.9
v6.7
v6.7-rc1
v6.7-rc2
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.7.1

Database specific

vanir_signatures

[
    {
        "id": "CVE-2023-52465-10bbd33e",
        "signature_type": "Function",
        "digest": {
            "length": 2837.0,
            "function_hash": "58195027361721382164292613010371972841"
        },
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e2717302fbc20f148bcda362facee0444b949a3a",
        "target": {
            "function": "smb2_probe",
            "file": "drivers/power/supply/qcom_pmi8998_charger.c"
        }
    },
    {
        "id": "CVE-2023-52465-b189345b",
        "signature_type": "Function",
        "digest": {
            "length": 2837.0,
            "function_hash": "58195027361721382164292613010371972841"
        },
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@88f04bc3e737155e13caddf0ba8ed19db87f0212",
        "target": {
            "function": "smb2_probe",
            "file": "drivers/power/supply/qcom_pmi8998_charger.c"
        }
    },
    {
        "id": "CVE-2023-52465-c4053668",
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "94636986253416049689644020963599009989",
                "250383602456466282336988237942404182455",
                "264193103194070243023600848795921881917",
                "181048913327593326184343465892557795314",
                "47760917929829046894276698683733446358",
                "139071229381415276532586266922349519741",
                "225754980388459404837556644502621978612",
                "110489904526241882919832453740421914753"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e2717302fbc20f148bcda362facee0444b949a3a",
        "target": {
            "file": "drivers/power/supply/qcom_pmi8998_charger.c"
        }
    },
    {
        "id": "CVE-2023-52465-c9af61a5",
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "94636986253416049689644020963599009989",
                "250383602456466282336988237942404182455",
                "264193103194070243023600848795921881917",
                "181048913327593326184343465892557795314",
                "47760917929829046894276698683733446358",
                "139071229381415276532586266922349519741",
                "225754980388459404837556644502621978612",
                "110489904526241882919832453740421914753"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@88f04bc3e737155e13caddf0ba8ed19db87f0212",
        "target": {
            "file": "drivers/power/supply/qcom_pmi8998_charger.c"
        }
    },
    {
        "id": "CVE-2023-52465-eb4c32b9",
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "94636986253416049689644020963599009989",
                "250383602456466282336988237942404182455",
                "264193103194070243023600848795921881917",
                "181048913327593326184343465892557795314",
                "47760917929829046894276698683733446358",
                "139071229381415276532586266922349519741",
                "225754980388459404837556644502621978612",
                "110489904526241882919832453740421914753"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bd3d2ec447ede9da822addf3960a5f4275e3ae76",
        "target": {
            "file": "drivers/power/supply/qcom_pmi8998_charger.c"
        }
    },
    {
        "id": "CVE-2023-52465-f21cf965",
        "signature_type": "Function",
        "digest": {
            "length": 2837.0,
            "function_hash": "58195027361721382164292613010371972841"
        },
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bd3d2ec447ede9da822addf3960a5f4275e3ae76",
        "target": {
            "function": "smb2_probe",
            "file": "drivers/power/supply/qcom_pmi8998_charger.c"
        }
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.5.0
Fixed
6.6.14
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.7.2