Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
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.
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.
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.
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.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.