Description
In the Linux kernel, the following vulnerability has been resolved:

smb: client: protect tc_count increment in smb2_find_smb_sess_tcon_unlocked()

Commit 96c4af418586 ("cifs: Fix locking usage for tcon fields")
refactored cifs code to change cifs_tcp_ses_lock for tc_lock around
tc_count changes.

There was missing lock around tc_count increment inside
smb2_find_smb_sess_tcon_unlocked().
Published: 2026-07-19
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A missing lock around the tc_count increment in the Linux kernel SMB client, specifically inside smb2_find_smb_sess_tcon_unlocked(), creates a race condition. This synchronization flaw, identified as CWE-414, can allow an attacker to corrupt kernel memory or cause an out-of-bounds state during SMB session handling, potentially resulting in arbitrary code execution or a kernel panic.

Affected Systems

All Linux distributions running a kernel version that lacks the 96c4af418586 patch and its successors are affected. The vulnerability resides in the core SMB (CIFS) client module of the kernel, impacting any system that mounts or accesses SMB shares using the built-in SMB client.

Risk and Exploitability

The CVSS score of 9.8 signals a severe risk while the EPSS score of less than 1% indicates the current probability of exploitation is low. The flaw is not listed in the CISA KEV catalog. Based on the description, it is inferred that an attacker might try to orchestrate concurrent SMB traffic to trigger the race condition, but this remains speculative.

Generated by OpenCVE AI on July 30, 2026 at 20:18 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the 96c4af418586 commit or any later release where the fix has been merged.
  • If a kernel upgrade cannot be performed immediately, disable the CIFS/SMB client on the affected host to prevent the vulnerable code path from executing.
  • Until a patch is available, constrain SMB client usage to trusted shares only and monitor for anomalous SMB activity that could indicate an attempt to exploit the race condition.

Generated by OpenCVE AI on July 30, 2026 at 20:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Tue, 21 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-414
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Sun, 19 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: smb: client: protect tc_count increment in smb2_find_smb_sess_tcon_unlocked() Commit 96c4af418586 ("cifs: Fix locking usage for tcon fields") refactored cifs code to change cifs_tcp_ses_lock for tc_lock around tc_count changes. There was missing lock around tc_count increment inside smb2_find_smb_sess_tcon_unlocked().
Title smb: client: protect tc_count increment in smb2_find_smb_sess_tcon_unlocked()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:39:37.286Z

Reserved: 2026-07-19T07:54:57.036Z

Link: CVE-2026-64136

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-64136 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T20:30:04Z

Weaknesses