Linux Kernel Deadlock Vulnerability in CIFS SMB Client

Vulnerability

A potential deadlock vulnerability has been identified in the Linux kernel's CIFS SMB client, specifically in versions through 6.16.0-rc3-build2+. The issue arises when reconnecting channels, as the function cifs_signal_cifsd_for_reconnect() does not follow the correct lock order. This mismanagement can lead to a circular locking dependency, causing a deadlock scenario where multiple locks are held simultaneously by the same task, halting further execution.

Impact

Exploitation of this vulnerability can lead to a deadlock, where the system becomes unresponsive due to circular locking dependencies.

Reproduction

The vulnerability can be reproduced by initiating a CIFS SMB3 mount operation that requires session reconnection. This process involves the CIFS client acquiring multiple locks in a specific order. If the cifs_signal_cifsd_for_reconnect() function is called during this operation, it can disrupt the lock sequence, creating a circular dependency that causes a deadlock.

Remediation

Users can upgrade to the latest stable version of the Linux kernel where this vulnerability has been addressed.

Added: Jul 9, 2025, 11:57 AM
Updated: Jul 9, 2025, 11:57 AM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.3
remediation
0.0
relevance
0.2
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.