Bug 1211540 (CVE-2023-32258) - VUL-0: CVE-2023-32258: kernel: Linux Kernel ksmbd Session Race Condition Remote Code Execution Vulnerability
Summary: VUL-0: CVE-2023-32258: kernel: Linux Kernel ksmbd Session Race Condition Remo...
Status: RESOLVED UPSTREAM
Alias: CVE-2023-32258
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Current
Hardware: Other Other
: P3 - Medium : Major (vote)
Target Milestone: ---
Assignee: Enzo Matsumiya
QA Contact: E-mail List
URL: https://smash.suse.de/issue/366964/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-19 07:36 UTC by Stoyan Manolov
Modified: 2023-05-25 06:20 UTC (History)
4 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stoyan Manolov 2023-05-19 07:36:54 UTC
CVE-2023-32258

This vulnerability allows remote attackers to execute arbitrary code on affected
installations of Linux Kernel. Authentication is not required to exploit this
vulnerability, but only systems with ksmbd enabled are vulnerable.

The specific flaw exists within the processing of SMB2_LOGOFF and SMB2_CLOSE
commands. The issue results from the lack of proper locking when performing
operations on an object. An attacker can leverage this vulnerability to execute
code in the context of the kernel.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-32258
https://www.zerodayinitiative.com/advisories/ZDI-23-706/
Comment 2 Michal Koutný 2023-05-22 16:30:25 UTC
https://github.com/torvalds/linux/commit/abcc506a9a71976a8b4c9bf3ee6efd13229c1e19

Possibly needed in the `stable` branch before v6.4 is out.