CVE-2026-98172: Linux kernel · smb: client: fix smbd_connection leak on cifs_get_tcp_session() error
Affects Linux kernelSource GCVE Database
Not known to be exploited.
Data as of 28 Oct 2026, 01:27 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Exploitation evidence
Disclosed: evidence found.
CVE published 6 Oct 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.
Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix smbd_connection leak on cifs_get_tcp_session() error When an RDMA connection is successfully established via smbd_get_connection() but cifs_get_tcp_session() later fails (e.g. kthread_create() returns an error), the error path frees tcp_ses without first destroying the smbd_connection. Fix this by calling smbd_destroy() in the out_err cleanup path before kfree(tcp_ses). smbd_destroy() safely handles the case where smbd_conn is NULL, so it can be called unconditionally.
References
- ubuntu.com/security/CVE-2026-98172 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-98172 (opens in a new tab)
- git.kernel.org/linus/e75c96157d45e498970158c8f7373d90102e33b9 (opens in a new tab)
- git.kernel.org/stable/c/3164402c58940ff58a3cecdb026405f07b0253af (opens in a new tab)
- git.kernel.org/stable/c/5c908e49d349266dff0c86dda6a05df0ff19b824 (opens in a new tab)
- git.kernel.org/stable/c/928edc4bd6a617caabeb575fc13c254d9df623c4 (opens in a new tab)
- git.kernel.org/stable/c/b26a3fcf2f1c2cadba400290b639f01395db8fc8 (opens in a new tab)
- git.kernel.org/stable/c/e3344bb0ff5ec8a276f42239e140f5442841ef23 (opens in a new tab)
- git.kernel.org/stable/c/e75c96157d45e498970158c8f7373d90102e33b9 (opens in a new tab)