CVE-2025-37776
JSON

8.8high

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

Severity
8.8high CVSS:3.1 by Linux
Exploit likelihood
0.37% (higher than 32% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 0626e6641f6b467447c81dd7678a69c66f7746cf before 296cb5457cc6f4a754c4ae29855f8a253d52bcc6, from 0626e6641f6b467447c81dd7678a69c66f7746cf before d54ab1520d43e95f9b2e22d7a05fc9614192e5a5, from 0626e6641f6b467447c81dd7678a69c66f7746cf before d73686367ad68534257cd88a36ca3c52cb8b81d8, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 18b4fac5ef17f77fed9417d22210ceafd6525fc7, 5.15
Not affected: before 5.15, from 6.6.88 up to 6.6.*, from 6.12.25 up to 6.12.*, from 6.14.4 up to 6.14.*, from 6.15 up to *
CVE List
linux linux_kernelfrom 5.15 before 6.6.88, from 6.7 before 6.12.25, from 6.13 before 6.14.4, 6.15NVD

All scores

Linux8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: se corrige el error "use-after-free" en smb_break_all_levII_oplock(). Existe una zona en smb_break_all_levII_oplock que puede causar problemas de velocidad al desbloquear en medio del bucle. Este parche utiliza un bloqueo de lectura para proteger todo el bucle.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-37776 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-37776 changed 2026-07-30Public domain