Kernel code execution via oplock use-after-free
Published May 1, 2025 · Updated Aug 5, 2026
Use-after-free in the ksmbd SMB server in Linux allows remote authenticated users to crash the host or execute code in the kernel. smb_break_all_levII_oplock() drops its RCU read lock during list traversal, allowing concurrent handle cleanup to free an oplock_info object before later dereferences. A running ksmbd server and a completed SMB session with share access are required; exploitation can panic the host or execute attacker-controlled kernel code.
Summary
What happened
Use-after-free in the ksmbd SMB server in Linux allows remote authenticated users to crash the host or execute code in the kernel. smb_break_all_levII_oplock() drops its RCU read lock during list traversal, allowing concurrent handle cleanup to free an oplock_info object before later dereferences. A running ksmbd server and a completed SMB session with share access are required; exploitation can panic the host or execute attacker-controlled kernel code.
The record
- CVE
- CVE-2025-37776
- Published
- May 1, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- May 1, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <18b4fac5ef17f77fed9417d22210ceafd6525fc7
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <296cb5457cc6f4a754c4ae29855f8a253d52bcc6
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <d54ab1520d43e95f9b2e22d7a05fc9614192e5a5
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <d73686367ad68534257cd88a36ca3c52cb8b81d8
- Affected versionversion=5.15
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo