Bug 2396160 (CVE-2023-53358)

Summary: CVE-2023-53358 kernel: ksmbd: fix racy issue under cocurrent smb2 tree disconnect
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: rhel-process-autobot, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the Linux kernel's ksmbd (in-kernel SMB server). A race condition can occur when processing concurrent SMB2 (Server Message Block version 2) tree disconnect requests, resulting in a use-after-free condition. An authenticated remote attacker could exploit this vulnerability by issuing simultaneous disconnect requests to corrupt system memory. This flaw could potentially allow an attacker to execute arbitrary code or cause a denial of service (DoS) via a system crash.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2025-09-17 15:04:54 UTC
In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix racy issue under cocurrent smb2 tree disconnect

There is UAF issue under cocurrent smb2 tree disconnect.
This patch introduce TREE_CONN_EXPIRE flags for tcon to avoid cocurrent
access.

Comment 1 Jon Moroney 2025-09-17 17:11:47 UTC Comment hidden (spam)