CVE-2026-99525

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.

Package Linux Kernel
Published 2026-11-19
Last modified 2026-11-23
Patch available
Yes

Affected versions

Linux kernel versions 6.1.178, 6.6.15, 6.7 and later are affected. Fixed in 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1 and their respective stable series.

Affected from
≥ 6.1.178 ≥ 6.6.15 ≥ 6.7
Fixed in
✓ 6.1.193 6.1.x ✓ 6.6.163 6.6.x ✓ 6.12.117 6.12.x ✓ 6.18.61 6.18.x ✓ 7.3.2 7.3.x ✓ 7.4-rc1

Frequently asked questions

  • What is CVE-2026-99525?

    CVE-2026-99525 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.1.178 onward and has been patched in 6.1.193, 6.6.163, 6.12.117 and others. CVE-2026-99525 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2026-99525?

    Yes. CVE-2026-99525 has been patched. Fixed versions include 6.1.193, 6.6.163, 6.12.117 and others. If you are running Linux kernel 6.1.178 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-99525 actively exploited?

    No. CVE-2026-99525 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.