CVE-2025-37776

published 1 May 2025 · updated 5 Aug 2026

ksmbd: fix use-after-free in smb_break_all_levII_oplock()

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 18b4fac5ef17f77fed9417d22210ceafd6525fc7, Kernel 296cb5457cc6f4a754c4ae29855f8a253d52bcc6, Kernel d54ab1520d43e95f9b2e22d7a05fc9614192e5a5 and 1 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=0626e6641f6b467447c81dd7678a69c66f7746cf <18b4fac5ef17f77fed9417d22210ceafd6525fc7, >=0626e6641f6b467447c81dd7678a69c66f7746cf <296cb5457cc6f4a754c4ae29855f8a253d52bcc6, >=0626e6641f6b467447c81dd7678a69c66f7746cf <d54ab1520d43e95f9b2e22d7a05fc9614192e5a5, >=0626e6641f6b467447c81dd7678a69c66f7746cf <d73686367ad68534257cd88a36ca3c52cb8b81d818b4fac5ef17f77fed9417d22210ceafd6525fc7, 296cb5457cc6f4a754c4ae29855f8a253d52bcc6, d54ab1520d43e95f9b2e22d7a05fc9614192e5a5, d73686367ad68534257cd88a36ca3c52cb8b81d8

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-37776 severity on Zeptric[![CVE-2025-37776](https://zeptric.io/badge/cve/CVE-2025-37776.svg)](https://zeptric.io/cve/CVE-2025-37776)