CVE-2026-97562

Description

A flaw was found in the Linux kernel's SMB (Server Message Block) client. A race condition occurs when a Distributed File System (DFS) automount expires while the client processes active filesystem references, resulting in a use-after-free memory flaw. A local user could exploit this timing issue during automount operations to cause a system crash, resulting in a Denial of Service (DoS), or potentially execute arbitrary code.

Statement

A use-after-free flaw was found in the Linux kernel's SMB client Distributed File System (DFS) automount handling. The tcon_super_cb() iterator callback stores a raw superblock pointer, but the active reference is only acquired by __cifs_get_super() after iterate_supers_type() has dropped s_umount and its passive reference. If DFS automount expiry runs concurrently, it can free the superblock before cifs_sb_active() uses it, resulting in a kernel slab use-after-free. A local user able to trigger this timing race during DFS automount and failover operations on a system with SMB/DFS mounts could crash the kernel, causing a denial of service; arbitrary code execution is theoretically possible but no practical exploitation primitive has been demonstrated. Red Hat rates this issue as Moderate severity because exploitation requires local access to a host with existing SMB/DFS mounts and winning a narrow timing race, and the practical impact is limited to availability. This is lower than the CVE.org Important rating (7.5, network attack vector), which assumes a malicious or compromised DFS server can drive the vulnerable path remotely. The affected Red Hat Enterprise Linux 8, 9, and 10 kernel and kernel-rt, Red Hat In-Vehicle OS, and OpenShift Container Platform RHEL CoreOS versions are resolved as deferred: the upstream fix will be applied in a future product update rather than an immediate erratum. The residual risk until the fix ships is a local denial of service (kernel crash) on systems that mount SMB/DFS shares. Red Hat Enterprise Linux 6 and 7 Extended Life Cycle Support are not affected because the vulnerable code is not present in those kernels.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.5N/A7.5
Attack VectorLocalN/ANetwork
Attack ComplexityLowN/AHigh
Privileges RequiredLowN/ANone
User InteractionNoneN/ARequired
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/AHigh
Integrity ImpactNoneN/AHigh
Availability ImpactHighN/AHigh

Vector

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

cve.org: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Resource Consumption (Memory); DoS: Resource Consumption (Other)

If an adversary can prevent a reference count from reaching zero, then resources might not be released when they are supposed to, thus causing resources to become scarce for future needs.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

If an adversary can cause a reference count to reach zero when the resource is still in use, then a resource might be released before it is supposed to be, possibly forcing an error that causes the product to crash or exit out of its current operation.

Frequently Asked Questions

Want to get errata notifications? Sign up here.