CVE-2026-99525: Linux kernel · smb: client: fix use-after-free in cifs_ses_add_channel()
Affects Linux kernelSource GCVE Database
Not known to be exploited.
Data as of 25 Nov 2026, 00:25 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or noneExploitation evidence
Disclosed: evidence found.
CVE published 19 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: 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 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10linuxpkg:deb/ubuntu/linux?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10linux-oraclepkg:deb/ubuntu/linux-oracle?arch=source&distro=stonkingOther 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 use-after-free in cifs_ses_add_channel() The error path of cifs_ses_add_channel() calls cifs_put_tcp_session() before cifs_chan_clear_need_reconnect(). The latter reaches cifs_ses_get_chan_index(), which dereferences server->terminate; if the put was the final reference, TCP_Server_Info is already freed and this is a use-after-free. Same put-then-use pattern as the recently fixed sibling in commit 717e0a25036b ("cifs: Fix server use-after-free in cifs_chan_skip_or_disable()"). Move the put last, but do not read chan->server after dropping chan_lock: chan points into ses->chans[], and once chan_count is decremented a concurrent add_channel can reuse the slot and overwrite the pointer, so the put would act on the new channel's server. Cache the pointer under chan_lock, clear the reconnect bit and decrement chan_count while still holding the reference, and release it after the unlock. This issue was discovered by Tencent CodeBuddy Security.
References
- ubuntu.com/security/CVE-2026-99525 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-99525 (opens in a new tab)
- git.kernel.org/linus/031278577380e7875d95aed81a2b2bcac39be923 (opens in a new tab)
- git.kernel.org/stable/c/031278577380e7875d95aed81a2b2bcac39be923 (opens in a new tab)
- git.kernel.org/stable/c/72367dacb5c9d8bd486b2fcaf56b6d3086d57250 (opens in a new tab)
- git.kernel.org/stable/c/8069935474b1502459ab50f75a67d7394a93cd5d (opens in a new tab)
- git.kernel.org/stable/c/d88e3e844fad0f6b9fbeb8c8862f9272a7c26a99 (opens in a new tab)
- git.kernel.org/stable/c/093a42a31ae8bb26da7f4a358f83300d76d0c46b (opens in a new tab)
- git.kernel.org/stable/c/4bc20a4ccdbdbe14e8628073109c52a22d7512d1 (opens in a new tab)