Bug 1225226 (CVE-2023-52704)

Summary: VUL-0: CVE-2023-52704: kernel: freezer,umh: Fix call_usermode_helper_exec() vs SIGKILL
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: Normal    
Priority: P3 - Medium CC: gabriele.sonnu, jlee
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/407216/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-52704: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-05-24 14:46:37 UTC
In the Linux kernel, the following vulnerability has been resolved:

freezer,umh: Fix call_usermode_helper_exec() vs SIGKILL

Tetsuo-San noted that commit f5d39b020809 ("freezer,sched: Rewrite
core freezer logic") broke call_usermodehelper_exec() for the KILLABLE
case.

Specifically it was missed that the second, unconditional,
wait_for_completion() was not optional and ensures the on-stack
completion is unused before going out-of-scope.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-52704
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2023/CVE-2023-52704.mbox
https://git.kernel.org/stable/c/7f9f6c54da876b3f0bece2b569456ceb96965ed7
https://git.kernel.org/stable/c/eedeb787ebb53de5c5dcf7b7b39d01bf1b0f037d
https://www.cve.org/CVERecord?id=CVE-2023-52704
https://bugzilla.redhat.com/show_bug.cgi?id=2282611
Comment 2 Gabriele Sonnu 2024-06-07 13:42:14 UTC
All done, closing.