CVE-2025-37776Published May 1, 2025 · May 1Updated Oct 28
ksmbd: fix use-after-free in smb_break_all_levII_oplock()
Linux
High8.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
A race in the Linux kernel's ksmbd smb_break_all_levII_oplock() function can cause a use-after-free when unlocking occurs in the middle of a loop. The input does not specify what an attacker can do or whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux kernels with ksmbd should check their versions; affected versions are not specified.