Kernel memory corruption via tree-disconnect refcount race
Published Jan 13, 2026 · Updated Jan 13, 2026
Use-after-free in Linux Kernel ksmbd allows remote attackers to access freed kernel memory through concurrent SMB tree disconnects. The disconnect path waited for the tree-connection reference count to reach zero and then freed the object while the last ksmbd_tree_connect_put caller could still use it. Reachability requires an active ksmbd server and concurrent tree-scoped requests against a valid SMB session; guest shares can remove the credential gate.
Summary
What happened
Use-after-free in Linux Kernel ksmbd allows remote attackers to access freed kernel memory through concurrent SMB tree disconnects. The disconnect path waited for the tree-connection reference count to reach zero and then freed the object while the last ksmbd_tree_connect_put caller could still use it. Reachability requires an active ksmbd server and concurrent tree-scoped requests against a valid SMB session; guest shares can remove the credential gate.
The record
- CVE
- CVE-2025-68817
- Published
- Jan 13, 2026
- Updated
- Jan 13, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-416, T1210
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 13, 2026CVE publishedPublication date reported by the CVE source.
- Jan 13, 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=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <063cbbc6f595ea36ad146e1b7d2af820894beb21
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <21a3d01fc6db5129f81edb0ab7cb94fd758bcbea
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <b39a1833cc4a2755b02603eec3a71a85e9dff926
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d092de8a26c952379ded8e6b0bda31d89befac1a
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d64977495e44855f2b28d8ce56107c963a7a50e4
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.
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