# CVE-2023-52465: power: supply: Fix null pointer dereference in smb2_probe

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Published: 2024-02-25T08:16:30.088Z
- Modified: 2026-06-17T06:42:47.057Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

power: supply: Fix null pointer dereference in smb2_probe

devm_kasprintf and devm_kzalloc return a pointer to dynamically
allocated memory which can be NULL upon failure.

(As written by CVE List.)

## Affected

- Linux Linux: from 8648aeb5d7b70e13264ff5f444f22081d37d4670 before e2717302fbc20f148bcda362facee0444b949a3a; from 8648aeb5d7b70e13264ff5f444f22081d37d4670 before bd3d2ec447ede9da822addf3960a5f4275e3ae76; from 8648aeb5d7b70e13264ff5f444f22081d37d4670 before 88f04bc3e737155e13caddf0ba8ed19db87f0212; 6.5 (not affected: before 6.5; from 6.6.14 up to 6.6.*; from 6.7.2 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 6.5.0 before 6.6.14; from 6.7.0 before 6.7.2

## References

- <https://git.kernel.org/stable/c/e2717302fbc20f148bcda362facee0444b949a3a> (patch)
- <https://git.kernel.org/stable/c/bd3d2ec447ede9da822addf3960a5f4275e3ae76> (patch)
- <https://git.kernel.org/stable/c/88f04bc3e737155e13caddf0ba8ed19db87f0212> (patch)

## Sources

- CVE List: [CVE-2023-52465](https://www.cve.org/CVERecord?id=CVE-2023-52465), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-52465](https://nvd.nist.gov/vuln/detail/CVE-2023-52465), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52465 · Whole record: https://cve.day/CVE-2023-52465.json · Rebuilt by cve.day 2026-11-25T22:58:33.074Z
