CVE-2026-99525
smb: client: fix use-after-free in cifs_ses_add_channel()
Mitigation
- Upgrade Linux to 6.6.163 or later.
Who should check
- Anyone running Linux >= e341b7975bd72d3ebda92b8d747d0aad15ce8717, < 093a42a31ae8bb26da7f4a358f83300d76d0c46b; >= 3e1615361b6fa6e6e0bfae0efb3a8c2255ac101f, < 4bc20a4ccdbdbe14e8628073109c52a22d7512d1; >= ee1d21794e55ab76505745d24101331552182002, < d88e3e844fad0f6b9fbeb8c8862f9272a7c26a99; >= ee1d21794e55ab76505745d24101331552182002, < 8069935474b1502459ab50f75a67d7394a93cd5d; >= ee1d21794e55ab76505745d24101331552182002, < 72367dacb5c9d8bd486b2fcaf56b6d3086d57250; >= ee1d21794e55ab76505745d24101331552182002, < 031278577380e7875d95aed81a2b2bcac39be923; >= 6.1.178, < 6.1.193; >= 6.6.15, < 6.6.163
- Anyone running Linux 6.7
Vulnerability facts
- Affected
- Linux >= e341b7975bd72d3ebda92b8d747d0aad15ce8717, < 093a42a31ae8bb26da7f4a358f83300d76d0c46b; >= 3e1615361b6fa6e6e0bfae0efb3a8c2255ac101f, < 4bc20a4ccdbdbe14e8628073109c52a22d7512d1; >= ee1d21794e55ab76505745d24101331552182002, < d88e3e844fad0f6b9fbeb8c8862f9272a7c26a99; >= ee1d21794e55ab76505745d24101331552182002, < 8069935474b1502459ab50f75a67d7394a93cd5d; >= ee1d21794e55ab76505745d24101331552182002, < 72367dacb5c9d8bd486b2fcaf56b6d3086d57250; >= ee1d21794e55ab76505745d24101331552182002, < 031278577380e7875d95aed81a2b2bcac39be923; >= 6.1.178, < 6.1.193; >= 6.6.15, < 6.6.163; Linux 6.7
- Fixed in
- Linux 093a42a31ae8bb26da7f4a358f83300d76d0c46b, Linux 4bc20a4ccdbdbe14e8628073109c52a22d7512d1, Linux 8069935474b1502459ab50f75a67d7394a93cd5d, Linux 72367dacb5c9d8bd486b2fcaf56b6d3086d57250, Linux 031278577380e7875d95aed81a2b2bcac39be923, Linux 6.1.193, Linux 6.6.163
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 7, 2026-11-28)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= e341b7975bd72d3ebda92b8d747d0aad15ce8717, < 093a42a31ae8bb26da7f4a358f83300d76d0c46b; >= 3e1615361b6fa6e6e0bfae0efb3a8c2255ac101f, < 4bc20a4ccdbdbe14e8628073109c52a22d7512d1; >= ee1d21794e55ab76505745d24101331552182002, < d88e3e844fad0f6b9fbeb8c8862f9272a7c26a99; >= ee1d21794e55ab76505745d24101331552182002, < 8069935474b1502459ab50f75a67d7394a93cd5d; >= ee1d21794e55ab76505745d24101331552182002, < 72367dacb5c9d8bd486b2fcaf56b6d3086d57250; >= ee1d21794e55ab76505745d24101331552182002, < 031278577380e7875d95aed81a2b2bcac39be923; >= 6.1.178, < 6.1.193; >= 6.6.15, < 6.6.163 | — | cvelist |
| Linux | 6.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-99525. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99525.md Affected: Linux >= e341b7975bd72d3ebda92b8d747d0aad15ce8717, < 093a42a31ae8bb26da7f4a358f83300d76d0c46b; >= 3e1615361b6fa6e6e0bfae0efb3a8c2255ac101f, < 4bc20a4ccdbdbe14e8628073109c52a22d7512d1; >= ee1d21794e55ab76505745d24101331552182002, < d88e3e844fad0f6b9fbeb8c8862f9272a7c26a99; >= ee1d21794e55ab76505745d… Fixed in: Linux 093a42a31ae8bb26da7f4a358f83300d76d0c46b, Linux 4bc20a4ccdbdbe14e8628073109c52a22d7512d1, Linux 8069935474b1502459ab50f75a67d7394a93cd5d, Linux 72367dacb5c9d8bd486b2fcaf56b6d3086d57250, Linux 031278577380e7875d95aed81a2b2bcac39be923, Linux 6.1.193, Linux 6.6.163 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Other
- https://git.kernel.org/stable/c/093a42a31ae8bb26da7f4a358f83300d76d0c46b
- https://git.kernel.org/stable/c/4bc20a4ccdbdbe14e8628073109c52a22d7512d1
- https://git.kernel.org/stable/c/d88e3e844fad0f6b9fbeb8c8862f9272a7c26a99
- https://git.kernel.org/stable/c/8069935474b1502459ab50f75a67d7394a93cd5d
- https://git.kernel.org/stable/c/72367dacb5c9d8bd486b2fcaf56b6d3086d57250
- https://git.kernel.org/stable/c/031278577380e7875d95aed81a2b2bcac39be923
FAQ
Is CVE-2026-99525 being exploited?
There is no confirmed exploitation: CVE-2026-99525 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-28).
How serious is CVE-2026-99525?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-99525?
Linux >= e341b7975bd72d3ebda92b8d747d0aad15ce8717, < 093a42a31ae8bb26da7f4a358f83300d76d0c46b; >= 3e1615361b6fa6e6e0bfae0efb3a8c2255ac101f, < 4bc20a4ccdbdbe14e8628073109c52a22d7512d1; >= ee1d21794e55ab76505745d24101331552182002, < d88e3e844fad0f6b9fbeb8c8862f9272a7c26a99; >= ee1d21794e55ab76505745d24101331552182002, < 8069935474b1502459ab50f75a67d7394a93cd5d; >= ee1d21794e55ab76505745d24101331552182002, < 72367dacb5c9d8bd486b2fcaf56b6d3086d57250; >= ee1d21794e55ab76505745d24101331552182002, < 031278577380e7875d95aed81a2b2bcac39be923; >= 6.1.178, < 6.1.193; >= 6.6.15, < 6.6.163; Linux 6.7.
Is there a fix for CVE-2026-99525?
Yes. Fixed in Linux 093a42a31ae8bb26da7f4a358f83300d76d0c46b, Linux 4bc20a4ccdbdbe14e8628073109c52a22d7512d1, Linux 8069935474b1502459ab50f75a67d7394a93cd5d, Linux 72367dacb5c9d8bd486b2fcaf56b6d3086d57250, Linux 031278577380e7875d95aed81a2b2bcac39be923, Linux 6.1.193, Linux 6.6.163. Upgrade Linux to 6.6.163 or later.
How do I check if I'm affected by CVE-2026-99525?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.0 | CVE-2026-137974 Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile | Linux kernel+1 | EPSS 31% | |
| HIGH 7.8 | CVE-2026-137941 Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property | Linux kernel+1 | EPSS 11% | |
| HIGH 7.3 | CVE-2026-137898 Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling | Linux kernel+1 | EPSS 11% | |
| MEDIUM 6.5 | CVE-2026-102963 Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled | Linux kernel+1 | EPSS 24% | |
| MEDIUM 5.3 | CVE-2026-115841 Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa | Linux kernel+4 | EPSS 3% |