
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-52757 is a vulnerability in the Linux kernel related to a potential deadlock condition in the SMB client implementation when releasing message IDs (mids). The vulnerability affects Linux kernel versions up to 6.1.64, versions 6.2 through 6.5.13, and versions 6.6 through 6.6.3 (NVD).
The vulnerability stems from an improper locking mechanism in the SMB client code. The issue occurs specifically in the release_mid() function where a spinlock (server->mid_lock) is unnecessarily held while calling kref_put(), potentially leading to a deadlock condition. The deadlock scenario involves interaction between cifs_demultiplex_thread() and cifs_debug_data_proc_show() functions, where lock ordering violations can occur. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD, Kernel Patch).
The vulnerability could lead to a system deadlock in the Linux kernel when using the SMB client functionality. This could potentially result in system hangs or unresponsiveness when accessing SMB network resources (NVD).
The vulnerability requires local access and low privileges to exploit. It is triggered through normal SMB client operations and doesn't require special user interaction (NVD).
The vulnerability has been fixed in the Linux kernel through a patch that removes the unnecessary spinlock in the release_mid() function. The fix involves restructuring the code to ensure that all release_mid() callers hold a reference to the mid structure, eliminating the need for the spinlock and preventing the potential deadlock condition (Kernel Patch).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."