Kernel use-after-free via tree-connect logoff race
Published Sep 16, 2026 · Updated Sep 16, 2026
Use-after-free in Linux ksmbd allows remote authenticated users to trigger freed-memory access by racing SMB2 tree connect with session logoff. ksmbd_tree_conn_connect() publishes a single-reference object in sess->tree_conns, and concurrent logoff frees it while smb2_tree_connect() continues initialization. The race requires an established SMB session and overlapping tree-connect and logoff operations; the observed result is a KASAN-detected slab use-after-free.
Summary
What happened
Use-after-free in Linux ksmbd allows remote authenticated users to trigger freed-memory access by racing SMB2 tree connect with session logoff. ksmbd_tree_conn_connect() publishes a single-reference object in sess->tree_conns, and concurrent logoff frees it while smb2_tree_connect() continues initialization. The race requires an established SMB session and overlapping tree-connect and logoff operations; the observed result is a KASAN-detected slab use-after-free.
The record
- CVE
- CVE-2026-89788
- Published
- Sep 16, 2026
- Updated
- Sep 16, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 16, 2026CVE publishedPublication date reported by the CVE source.
- Sep 16, 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=33b235a6e6ebe0f05f3586a71e8d281d00f71e2e <4e30fbd26e84efa2e5cbec4eb11e126ac0c79313
- Affected versionversion=33b235a6e6ebe0f05f3586a71e8d281d00f71e2e <b5ec6c462aab1062cf5d1e667ba7c6442f737055
- Affected versionversion=5.15.145 <5.16
- Affected versionversion=6.1.71 <6.2
- Affected versionversion=6.6
- Affected versionversion=7b58ee8d0b91359554cf219cd4f33872ea2afd66
- Affected versionversion=dd45db4d9bbc8f122a9b4db5ce94ae29fcf03d3c
What conditions does exploitation require?
What is affected?
Published CVSS scores
No CVSS assessment is available in this record.
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