CVE-2025-37776

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

State
Published
Severity
8.8 High
Published
May 1, 2025
Updated
Aug 5, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to before 296cb5457cc6f4a754c4ae29855f8a253d52bcc6Affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to before d54ab1520d43e95f9b2e22d7a05fc9614192e5a5Affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to before d73686367ad68534257cd88a36ca3c52cb8b81d8Affected
  • 0626e6641f6b467447c81dd7678a69c66f7746cf to before 18b4fac5ef17f77fed9417d22210ceafd6525fc7Affected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 6.6.88 through 6.6.*Not affected
  • 6.12.25 through 6.12.*Not affected
  • 6.14.4 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.