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 package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 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_kernel | from 5.15 before 6.6.88, from 6.7 before 6.12.25, from 6.13 before 6.14.4, 6.15 | NVD |
All scores
| Linux | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.0high CVSS:3.1 | CVSS: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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-37776 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-37776 changed 2026-07-30 | Public domain |