In the Linux kernel, the following vulnerability has been resolved: smb: client: fix use-after-free in cifssesaddchannel() The error path…
CVE-2026-99525
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix use-after-free in cifssesaddchannel() The error path of cifssesaddchannel() calls cifsputtcpsession() before cifschanclearneedreconnect(). The latter reaches cifssesgetchanindex(), which dereferences server->terminate; if the put was the final reference, TCPServerInfo 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 cifschanskipordisable()"). Move the put last, but do not read chan->server after dropping chanlock: chan points into ses->chans[], and once chancount is decremented a concurrent addchannel can reuse the slot and overwrite the pointer, so the put would act on the new channel's server. Cache the pointer under chanlock, clear the reconnect bit and decrement chancount while still holding the reference, and release it after the unlock. This issue was discovered by Tencent CodeBuddy Security.
Assessment
- CVSS
- Not yet scored
- Severity
- Unscored
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 19 November 2026
- Last updated
- 19 November 2026
- Assigner
- Linux
At the source
References
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-99525