Linux Kernel CIFS Channel Management XID Leak Vulnerability

Vulnerability

A vulnerability exists in the Linux kernel's CIFS (Common Internet File System) implementation, specifically within the session management code. The issue arises in the function 'cifs_ses_add_channel()', where a channel identifier (XID) is not properly released before the function returns. This oversight leads to an XID leak, which can accumulate and potentially cause issues over time.

Impact

The vulnerability causes a resource leak by failing to free allocated channel identifiers, which can lead to increased memory usage and potential exhaustion of available resources.

Reproduction

The vulnerability can be reproduced by adding channels to a CIFS session without properly managing the XID, allowing the identifier to leak. This can be done by mounting a CIFS share and then opening channels, which triggers the 'cifs_ses_add_channel()' function. The leaked XIDs can be observed by monitoring the system's resource usage, particularly the memory allocated for CIFS sessions.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. The specific commit that fixes this issue is available in the Linux kernel stable tree.

Added: Dec 30, 2025, 5:11 PM
Updated: Dec 30, 2025, 5:11 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.7
remediation
7.7
relevance
1.6
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.