CVE-2026-93210: smb: client: harden DFS cache against invalid target hints
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
smb: client: harden DFS cache against invalid target hints
Currently, get_tgt_name() returns ERR_PTR(-ENOENT) when ce->tgthint is NULL, and dfs_cache_noreq_update_tgthint() assumes ce->tgthint is always valid.
In preparation for clearing ce->tgthint in free_tgts(), harden callers of get_tgt_name() against ERR_PTR results and harden dfs_cache_noreq_update_tgthint() against NULL pointer dereferences.
The Linux kernel CVE team has assigned CVE-2026-93210 to this issue.
Affected and fixed versions
===========================
Fixed in 6.1.188 with commit a48328afbc3f63e3b9de8827e2e16c15b17976f7 Fixed in 6.6.157 with commit 6cb7f9fed8f40f28fbd464ca99c946951afc0952 Fixed in 6.12.109 with commit 66dbcdbb0cadffd12eb8f2b115fd57d384c5109d Fixed in 6.18.50 with commit 846f0709559b9e27024e126a80bc7afb76516912 Fixed in 7.2.4 with commit 7e32da6047d9afdae8dd17b87b4c8d97363c4ee2 Fixed in 7.3-rc1 with commit bf86c08123c6ab8c61cc0be1dad7540db93738ff
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-93210
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
fs/smb/client/dfs_cache.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/a48328afbc3f63e3b9de8827e2e16c15b17976f7 https://git.kernel.org/stable/c/6cb7f9fed8f40f28fbd464ca99c946951afc0952 https://git.kernel.org/stable/c/66dbcdbb0cadffd12eb8f2b115fd57d384c5109d https://git.kernel.org/stable/c/846f0709559b9e27024e126a80bc7afb76516912 https://git.kernel.org/stable/c/7e32da6047d9afdae8dd17b87b4c8d97363c4ee2 https://git.kernel.org/stable/c/bf86c08123c6ab8c61cc0be1dad7540db93738ff