Bug 1222306 (CVE-2024-26655)

Summary: VUL-0: CVE-2024-26655: kernel: Fix memory leak in posix_clock_open()
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Kernel Bugs <kernel-bugs>
Status: RESOLVED INVALID QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P5 - None CC: rfrohl
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/399890/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-26655: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-04-04 11:33:38 UTC
In the Linux kernel, the following vulnerability has been resolved:

Fix memory leak in posix_clock_open()

If the clk ops.open() function returns an error, we don't release the
pccontext we allocated for this clock.

Re-organize the code slightly to make it all more obvious.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-26655
https://git.kernel.org/stable/c/5b4cdd9c5676559b8a7c944ac5269b914b8c0bb8
https://www.cve.org/CVERecord?id=CVE-2024-26655
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-26655.mbox
https://bugzilla.redhat.com/show_bug.cgi?id=2272530
https://git.kernel.org/stable/c/0200dd7ed2335469955d7e69cc1a6fa7df1f3847
https://git.kernel.org/stable/c/a88649b49523e8cbe95254440d803e38c19d2341
Comment 1 Robert Frohl 2024-04-04 11:41:38 UTC
does not affect SUSE, closing