CVE-2026-99525 — Linux
One of 246 Linux vulnerabilities published together by NVD: our article covers all of them.
LinuxOperating systemsVulnerabilitiesSummary
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
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux | ≥ 6.1.178, < 6.1.193 | 6.1.193 |
| ≥ 6.6.15, < 6.6.163 | 6.6.163 | |
| Linux | 6.7 and later | 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1 |
References by type
Patches and fixed releases
- git.kernel.org/stable/c/031278577380e7875d95aed81a2b2bcac39be923
- git.kernel.org/stable/c/093a42a31ae8bb26da7f4a358f83300d76d0c46b
- git.kernel.org/stable/c/4bc20a4ccdbdbe14e8628073109c52a22d7512d1
- git.kernel.org/stable/c/72367dacb5c9d8bd486b2fcaf56b6d3086d57250
- git.kernel.org/stable/c/8069935474b1502459ab50f75a67d7394a93cd5d
- git.kernel.org/stable/c/d88e3e844fad0f6b9fbeb8c8862f9272a7c26a99
Affected
- Linux
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is 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.
How severe is CVE-2026-99525?
CVE-2026-99525 has not been given a CVSS score yet.
Is CVE-2026-99525 being exploited?
Not as far as is known: CVE-2026-99525 is not in CISA's Known Exploited Vulnerabilities catalog as of December 1, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-99525?
Linux ≥ 6.1.178, < 6.1.193 (fixed in 6.1.193); Linux ≥ 6.6.15, < 6.6.163 (fixed in 6.6.163); Linux 6.7 and later (fixed in 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1).
How do I fix CVE-2026-99525?
Update to a fixed release: Linux 6.1.193; Linux 6.6.163; Linux 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1.
Timeline & sources
References
Related vulnerabilities & news
- USN-9305-1: POCO vulnerabilities
- Ubuntu USN-9225-2 Blocks Two More emSign Root Certificates Through ca-certificates Update
- EDK II PXE Pre-Boot Flaw CVE-2026-97631 Gets Patches, Rollout Uneven Across Vendors
- Ubuntu Patches OpenEXR Flaws Including Heap Overflow (CVE-2021-45942)
- Ubuntu Issues libgit2 Fix for TLS IP Address Certificate Validation Flaw on 14.04 LTS