CVE-2026-99525
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | linux |
Fixed | 6.12.117-1 |
| sid | linux |
Fixed | 7.3.3-1 |
| forky | linux |
Fixed | 7.3.3-1 |
| bookworm | linux |
Affected | — |
| bookworm | linux-6.12 |
Fixed | 6.12.117-1~deb12u1 |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| linux | linux | {"startIncluding":"6.1.178","endExcluding":"6.2"} | 6.2 |
| linux | linux | {"startIncluding":"6.6.15","endExcluding":"6.7"} | 6.7 |
| linux | linux | 6.7 | |
| linux | linux | {"startIncluding":"6.1.178","endExcluding":"6.1.193"} | 6.1.193 |
| linux | linux | {"startIncluding":"6.6.15","endExcluding":"6.6.163"} | 6.6.163 |
References
- https://git.kernel.org/stable/c/031278577380e7875d95aed81a2b2bcac39be923
- https://git.kernel.org/stable/c/72367dacb5c9d8bd486b2fcaf56b6d3086d57250
- https://git.kernel.org/stable/c/8069935474b1502459ab50f75a67d7394a93cd5d
- https://git.kernel.org/stable/c/d88e3e844fad0f6b9fbeb8c8862f9272a7c26a99
- https://security-tracker.debian.org/tracker/CVE-2026-99525
- https://git.kernel.org/stable/c/093a42a31ae8bb26da7f4a358f83300d76d0c46b
- https://git.kernel.org/stable/c/4bc20a4ccdbdbe14e8628073109c52a22d7512d1
- https://www.suse.com/security/cve/CVE-2026-99525.html
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.