Bug 1211538 (CVE-2023-32256)

Summary: VUL-0: CVE-2023-32256: kernel: Linux Kernel ksmbd Session User Object Race Condition Information Disclosure Vulnerability
Product: [openSUSE] openSUSE Tumbleweed Reporter: Stoyan Manolov <stoyan.manolov>
Component: KernelAssignee: Security Team bot <security-team>
Status: RESOLVED UPSTREAM QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P3 - Medium CC: ddiss, meissner, mkoutny, security-team
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/366966/
Whiteboard:
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stoyan Manolov 2023-05-19 07:36:19 UTC
CVE-2023-32256

This vulnerability allows remote attackers to disclose sensitive information 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_QUERY_INFO and
SMB2_LOGOFF commands. The issue results from the lack of proper locking when
performing operations on an object. An attacker can leverage this in conjunction
with other vulnerabilities to execute arbitrary code in the context of the
kernel.

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

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