KernelScan.io

HIGH Introduced in 5.0

smb TargetHint Deref

CVE-2026-93210

CVSS 7.5 / 10.0 KernelScan AI

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

01

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.

02

Engine v0.6.0

Risk summary

This vulnerability affects systems using the kernel CIFS/SMB client with DFS mounts. A malicious or man-in-the-middle SMB server can cause a kernel panic by sending DFS referral data that leaves the cache without a valid target hint. The impact is denial of service only — no data disclosure or code execution.

Affectedfs/smb/client/dfs_cache.c (smb client dfs cache)

Vulnerability analysis

The SMB client's DFS cache can dereference a NULL pointer when processing referral responses from a server. The cache lookup and hint-update routines assume a cached target hint is always present, but if it was never set or has been cleared during teardown, the kernel takes a NULL-pointer fault and panics. The fix adds validity checks at each call site so the operations return an error instead of dereferencing a missing hint. This path is reached only when the kernel CIFS client has an active DFS mount, so a malicious or man-in-the-middle SMB server can trigger the crash by sending referral responses that leave the cache without a valid target hint.

03

BranchIntroducedFixed inPatch commit
6.15.06.1.188a48328afbc3f
6.125.06.12.10966dbcdbb0cad
6.185.06.18.50846f0709559b
6.65.06.6.1576cb7f9fed8f4
7.25.07.2.47e32da6047d9
mainline5.07.3bf86c08123c6
cip/6.15.06.1.189-cip61a48328afbc3f
cip/6.1-rt5.06.1.189-cip61-rt32a48328afbc3f
cip/6.125.06.12.111-cip3266dbcdbb0cad

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.111-cip32
cip/6.1Fixed in 6.1.189-cip61
cip/6.1-rtFixed in 6.1.189-cip61-rt32
cip/5.10Affected — no CIP fix yet (latest 5.10.271-cip78)
cip/5.10-rtAffected — no CIP fix yet (latest 5.10.268-cip77-rt34)