Bug 1223488 (CVE-2022-48661)

Summary: VUL-0: CVE-2022-48661: kernel: gpio: mockup: potential resource leakage when register a chip
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Minor    
Priority: P3 - Medium CC: thomas.leroy, vasant.karasulli
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/403418/
Whiteboard: CVSSv3.1:SUSE:CVE-2022-48661:3.3:(AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-04-29 09:33:20 UTC
In the Linux kernel, the following vulnerability has been resolved:

gpio: mockup: Fix potential resource leakage when register a chip

If creation of software node fails, the locally allocated string
array is left unfreed. Free it on error path.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-48661
https://www.cve.org/CVERecord?id=CVE-2022-48661
https://git.kernel.org/stable/c/02743c4091ccfb246f5cdbbe3f44b152d5d12933
https://git.kernel.org/stable/c/41f857033c44442a27f591fda8d986e7c9e42872
https://git.kernel.org/stable/c/9b26723e058faaf11b532fb4aa16d6849d581790
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2022/CVE-2022-48661.mbox
Comment 3 Gabriele Sonnu 2024-06-07 13:46:01 UTC
All done, closing.