CVE-2025-37776
ksmbd: fix use-after-free in smb_break_all_levII_oplock()
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in smb_break_all_levII_oplock() There is a room in smb_break_all_levII_oplock that can cause racy issues when unlocking in the middle of the loop. This patch use read lock to protect whole loop.
INFO
Published Date :
May 1, 2025, 2:15 p.m.
Last Modified :
Nov. 14, 2025, 4:45 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Apply the latest Linux kernel security patches.
- Ensure the smb_break_all_levII_oplock function is correctly synchronized.
- Test the system for stability after the update.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-37776.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-37776 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-37776
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-37776 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-37776 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Nov. 14, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.25 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.14.4 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.15 up to (excluding) 6.6.88 Added Reference Type kernel.org: https://git.kernel.org/stable/c/18b4fac5ef17f77fed9417d22210ceafd6525fc7 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/296cb5457cc6f4a754c4ae29855f8a253d52bcc6 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/d54ab1520d43e95f9b2e22d7a05fc9614192e5a5 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/d73686367ad68534257cd88a36ca3c52cb8b81d8 Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 01, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in smb_break_all_levII_oplock() There is a room in smb_break_all_levII_oplock that can cause racy issues when unlocking in the middle of the loop. This patch use read lock to protect whole loop. Added Reference https://git.kernel.org/stable/c/18b4fac5ef17f77fed9417d22210ceafd6525fc7 Added Reference https://git.kernel.org/stable/c/296cb5457cc6f4a754c4ae29855f8a253d52bcc6 Added Reference https://git.kernel.org/stable/c/d54ab1520d43e95f9b2e22d7a05fc9614192e5a5 Added Reference https://git.kernel.org/stable/c/d73686367ad68534257cd88a36ca3c52cb8b81d8