CVE-2026-89788: Linux kernel · ksmbd: fix tree connection use-after-free in smb2_tree_connect()
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlinux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlinux-gkepkg:deb/ubuntu/linux-gke?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available that corrects the reference counting and connection teardown logic in the ksmbd SMB server code. Users should apply the official Linux kernel updates that include this patch. No additional mitigation is indicated beyond applying the vendor-provided fix.
Description
A use-after-free vulnerability in the Linux kernel's ksmbd SMB server component was fixed. The flaw occurs in the smb2_tree_connect() function when a concurrent session logoff frees a tree connection object while it is still being used, leading to a use-after-free condition. This could cause memory corruption and potentially allow an attacker to impact system integrity. The issue has been addressed by adjusting reference counting and connection teardown logic to prevent premature freeing of the object.
References
- ubuntu.com/security/CVE-2026-89788 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-89788 (opens in a new tab)
- git.kernel.org/linus/b5ec6c462aab1062cf5d1e667ba7c6442f737055 (opens in a new tab)
- git.kernel.org/stable/c/4e30fbd26e84efa2e5cbec4eb11e126ac0c79313 (opens in a new tab)
- git.kernel.org/stable/c/b5ec6c462aab1062cf5d1e667ba7c6442f737055 (opens in a new tab)