Skip to content
Threat Brief

← All advisories

CVE-2026-99525

Severity unknownNo known exploitationFix available

smb: client: fix use-after-free in cifs_ses_add_channel()

Record last updated

CVSS score

None

No score published yet

EPSS, chance of exploitation in 30 days

0.2%

Higher than 6% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Patching and mitigation

Patch status
Fix available (source: CVE record (Linux))
Fix documented (source date)
Mitigation
None documented
Vendor guidance
No vendor link on record

Affected products

VendorProductAffected versionsFixed inPer
LinuxLinuxfrom 6.1.178 before 6.26.2CVE Program
LinuxLinuxfrom 6.6.15 before 6.76.7CVE Program
LinuxLinuxfrom ee1d21794e55ab76505745d24101331552182002 before 72367dacb5c9d8bd486b2fcaf56b6d3086d5725072367dacb5c9d8bd486b2fcaf56b6d3086d57250CVE Program
LinuxLinuxfrom ee1d21794e55ab76505745d24101331552182002 before 031278577380e7875d95aed81a2b2bcac39be923031278577380e7875d95aed81a2b2bcac39be923CVE Program
LinuxLinuxfrom ee1d21794e55ab76505745d24101331552182002 before d88e3e844fad0f6b9fbeb8c8862f9272a7c26a99d88e3e844fad0f6b9fbeb8c8862f9272a7c26a99CVE Program
LinuxLinuxfrom ee1d21794e55ab76505745d24101331552182002 before 8069935474b1502459ab50f75a67d7394a93cd5d8069935474b1502459ab50f75a67d7394a93cd5dCVE Program
LinuxLinux3e1615361b6fa6e6e0bfae0efb3a8c2255ac101fNot documentedCVE Program
LinuxLinux6.7Not documentedCVE Program
LinuxLinuxe341b7975bd72d3ebda92b8d747d0aad15ce8717Not documentedCVE Program
LinuxLinux (unaffected)from 6.12.117 up to and including 6.12.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.18.61 up to and including 6.18.*Not documentedCVE Program
LinuxLinux (unaffected)from 7.3.2 up to and including 7.3.*Not documentedCVE Program
LinuxLinux (unaffected)7.4-rc1Not documentedCVE Program
LinuxLinux (unaffected)all versions before 6.7Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by Linux

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by CVE record (Linux)

    Source: CVE record (Linux) (opens in a new tab)

Vendor guidance and references