Bug 1220434 (CVE-2023-52465)

Summary: VUL-0: CVE-2023-52465: kernel-source,kernel-source-azure,kernel-source-rt: power: supply: potential NULL pointer dereference in smb2_probe()
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Kernel Bugs <kernel-bugs>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P5 - None CC: carlos.lopez
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/395129/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-52465:5.5:(AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-02-27 11:42:51 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-52465
https://www.cve.org/CVERecord?id=CVE-2023-52465
https://git.kernel.org/stable/c/88f04bc3e737155e13caddf0ba8ed19db87f0212
https://git.kernel.org/stable/c/bd3d2ec447ede9da822addf3960a5f4275e3ae76
https://git.kernel.org/stable/c/e2717302fbc20f148bcda362facee0444b949a3a
https://bugzilla.redhat.com/show_bug.cgi?id=2266207
Comment 1 Carlos López 2024-02-27 11:44:32 UTC
We only have 8648aeb5d7b7 ("power: supply: add Qualcomm PMI8998 SMB2 Charger driver") in stable and master, which already have the fix, so nothing to do. Closing.