CVE-2026-89636
Critical · 9.8CVSS
9.8
EPSS
0.7%
Published
Sep 11, 2026
CISA due date
—
Cloudanix analysis
A bug in handling network file sharing targets on Linux systems could let remote attackers take over machines or crash them without any login required.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Full Compromise
- Component
- OS kernel
- Class
- Use After Free
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Low
What it actually does
Use-after-free caused by ce->tgthint retaining a pointer to a freed cache_dfs_tgt structure after free_tgts() empties ce->tlist, enabling memory corruption or arbitrary code execution on later dereference in the Linux SMB client.
Why it matters to the business
Remote attackers can crash Linux systems or execute code with kernel privileges, disrupting file sharing, network storage access, and any services relying on SMB/CIFS mounts; stable low EPSS indicates limited current exploitation but high CVSS demands prompt attention.
How an attack unfolds
An attacker interacts with an SMB server that triggers DFS target list freeing (via mount, referral, or connection teardown), leaving tgthint dangling; subsequent SMB operations dereference the freed memory, leading to UAF that can be groomed for code execution.
How to fix it
Apply the upstream kernel patch that sets ce->tgthint to NULL inside free_tgts() after freeing list elements; upgrade to a kernel containing the fix for the affected SMB client code.
How to confirm the fix worked
Verify the presence of the NULL assignment to tgthint in free_tgts() via source inspection or kernel version check; confirm no dangling pointer remains after list free operations.
Typical attack path
- Establish SMB connection or trigger DFS referral handling
- Force conditions that call free_tgts() on the target list
- Reuse the stale tgthint pointer in later SMB client code paths
- Leverage UAF for memory corruption and privilege escalation or DoS
How to detect it
Review kernel logs and SMB client traces for crashes or oops involving cache_dfs_tgt or tgthint structures; look for unexpected memory corruption patterns during SMB DFS operations.
What your security team should do
- Prioritize kernel updates for all Linux systems using SMB client mounts
- Monitor for new kernel releases addressing this UseAfterFree
- Restrict untrusted SMB servers or disable DFS referrals where feasible until patched
The record
In the Linux kernel, the following vulnerability has been resolved: smb: client: clear ce->tgthint in free_tgts() When free_tgts() frees all structures in ce->tlist, ce->tgthint is left pointing to one of the freed cache_dfs_tgt structures. If ce->tgthint is not reset before it is used later, it results in a use-after-free. Set ce->tgthint to NULL in free_tgts() after the elements are freed to reflect that no elements remain.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|