{"id":"CVE-2025-37776","summary":"ksmbd: fix use-after-free in smb_break_all_levII_oplock()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix use-after-free in smb_break_all_levII_oplock()\n\nThere is a room in smb_break_all_levII_oplock that can cause racy issues\nwhen unlocking in the middle of the loop. This patch use read lock\nto protect whole loop.","modified":"2026-03-20T12:42:26.752775Z","published":"2025-05-01T13:07:14.998Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37776.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/18b4fac5ef17f77fed9417d22210ceafd6525fc7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/296cb5457cc6f4a754c4ae29855f8a253d52bcc6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d54ab1520d43e95f9b2e22d7a05fc9614192e5a5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d73686367ad68534257cd88a36ca3c52cb8b81d8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37776.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37776"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf"},{"fixed":"296cb5457cc6f4a754c4ae29855f8a253d52bcc6"},{"fixed":"d54ab1520d43e95f9b2e22d7a05fc9614192e5a5"},{"fixed":"d73686367ad68534257cd88a36ca3c52cb8b81d8"},{"fixed":"18b4fac5ef17f77fed9417d22210ceafd6525fc7"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37776.json"}}],"schema_version":"1.7.5"}