---
id: CVE-2026-89636
title: 'smb: client: clear ce->tgthint in free_tgts()'
summary: |-
  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 struct…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-825
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 54be1f6c1c37498bba557049df646cc239fa37e3 <
    14f60e959b5ac813715ff72e127beb3584ddabf6
  - >-
    Linux >= 54be1f6c1c37498bba557049df646cc239fa37e3 <
    3ff9462bb7a06d8d32a1dc02d39580b078ec9e55
  - >-
    Linux >= 54be1f6c1c37498bba557049df646cc239fa37e3 <
    7507bd1885643d0461a6017767492450af1ce2a3
  - >-
    Linux >= 54be1f6c1c37498bba557049df646cc239fa37e3 <
    9ab46a13798a61d9d020b01d4e57efdabe6624fa
  - >-
    Linux >= 54be1f6c1c37498bba557049df646cc239fa37e3 <
    5baab40404a9393bcc0b7b8f1950bf2c307e0984
  - >-
    Linux >= 54be1f6c1c37498bba557049df646cc239fa37e3 <
    b1b741cf8e7ce1b91d937e23decd3d3358748700
  - Linux 5.0
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-10-16T19:24:47.621556Z'
published: '2026-09-11'
updated: '2026-10-19'
sourceUpdated: '2026-10-19T08:50:08.281Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-89636'
references:
  - url: 'https://git.kernel.org/stable/c/14f60e959b5ac813715ff72e127beb3584ddabf6'
  - url: 'https://git.kernel.org/stable/c/3ff9462bb7a06d8d32a1dc02d39580b078ec9e55'
  - url: 'https://git.kernel.org/stable/c/7507bd1885643d0461a6017767492450af1ce2a3'
  - url: 'https://git.kernel.org/stable/c/9ab46a13798a61d9d020b01d4e57efdabe6624fa'
  - url: 'https://git.kernel.org/stable/c/5baab40404a9393bcc0b7b8f1950bf2c307e0984'
  - url: 'https://git.kernel.org/stable/c/b1b741cf8e7ce1b91d937e23decd3d3358748700'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89636.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-89636'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2532294'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-89636'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-89636'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-89636.mbox
tags:
  - cve.org
  - csaf
  - vex
  - red-hat
  - score-dispute
epss: 0.00663
epssPercentile: 0.51477
scores:
  cna: 9.8
  vendor: 7
ingestedAt: '2026-09-14T15:23:07.450Z'
---

## Overview

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

- `Linux >= 54be1f6c1c37498bba557049df646cc239fa37e3 < 14f60e959b5ac813715ff72e127beb3584ddabf6`
- `Linux >= 54be1f6c1c37498bba557049df646cc239fa37e3 < 3ff9462bb7a06d8d32a1dc02d39580b078ec9e55`
- `Linux >= 54be1f6c1c37498bba557049df646cc239fa37e3 < 7507bd1885643d0461a6017767492450af1ce2a3`
- `Linux >= 54be1f6c1c37498bba557049df646cc239fa37e3 < 9ab46a13798a61d9d020b01d4e57efdabe6624fa`
- `Linux >= 54be1f6c1c37498bba557049df646cc239fa37e3 < 5baab40404a9393bcc0b7b8f1950bf2c307e0984`
- `Linux >= 54be1f6c1c37498bba557049df646cc239fa37e3 < b1b741cf8e7ce1b91d937e23decd3d3358748700`
- `Linux 5.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · updated 2026-09-18 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89636.json)
