CVE-2025-37776
kernel: ksmbd: fix use-after-free in smb_break_all_levII_oplock()
Severity
UnknownRed Hat Product Security
CVSS
Review impact separately from score.
Published · May 1, 2025
Updated · October 30, 2026
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.
Statement
This vulnerability does not affect Red Hat Enterprise Linux as the in-kernel SMB server module (ksmbd) is not enabled or supported in Red Hat kernels. Red Hat provides SMB network file sharing capabilities through user-space Samba services instead. Consequently, systems running default or supported Red Hat kernel configurations are not exposed to this race condition.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CWE not specified