In the Linux kernel, the following vulnerability has been resolved:

smb: client: fix potential deadlock when releasing mids

All release_mid() callers seem to hold a reference of @mid so there is
no need to call kref_put(&mid->refcount, __release_mid) under
@server->mid_lock spinlock. If they don't, then an use-after-free bug
would have occurred anyways.

By getting rid of such spinlock also fixes a potential deadlock as
shown below

CPU 0 CPU 1
------------------------------------------------------------------
cifs_demultiplex_thread() cifs_debug_data_proc_show()
release_mid()
spin_lock(&server->mid_lock);
spin_lock(&cifs_tcp_ses_lock)
spin_lock(&server->mid_lock)
__release_mid()
smb2_find_smb_tcon()
spin_lock(&cifs_tcp_ses_lock) *deadlock*
Advisories
Source ID Title
Debian DLA Debian DLA DLA-4178-1 linux security update
Ubuntu USN Ubuntu USN USN-7123-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7194-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7654-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7654-2 Linux kernel (Real-time) vulnerabilities
Ubuntu USN Ubuntu USN USN-7654-3 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-7654-4 Linux kernel (KVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-7654-5 Linux kernel (Xilinx ZynqMP) vulnerabilities
Ubuntu USN Ubuntu USN USN-7655-1 Linux kernel (Intel IoTG) vulnerabilities
Ubuntu USN Ubuntu USN USN-7685-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7685-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7685-3 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-7685-4 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-7685-5 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-7686-1 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-7701-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7701-2 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-7701-3 Linux kernel (IoT) vulnerabilities
Ubuntu USN Ubuntu USN USN-7819-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7832-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-7819-2 Linux kernel (Azure FIPS) vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 03 Nov 2025 20:30:00 +0000

Type Values Removed Values Added
References

Fri, 02 May 2025 06:30:00 +0000


Mon, 06 Jan 2025 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Linux
Linux linux Kernel
Weaknesses CWE-416
CWE-667
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Wed, 13 Nov 2024 02:30:00 +0000

Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux

Wed, 11 Sep 2024 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2025-11-03T19:28:49.329Z

Reserved: 2024-05-21T15:19:24.237Z

Link: CVE-2023-52757

cve-icon Vulnrichment

Updated: 2025-11-03T19:28:49.329Z

cve-icon NVD

Status : Modified

Published: 2024-05-21T16:15:15.187

Modified: 2025-11-03T20:16:05.643

Link: CVE-2023-52757

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-05-21T00:00:00Z

Links: CVE-2023-52757 - Bugzilla

cve-icon OpenCVE Enrichment

No data.