Linux Kernel CIFS Component Use-After-Free Vulnerability

Vulnerability

A use-after-free vulnerability has been identified in the CIFS (Common Internet File System) component of the Linux kernel, specifically within the SMB2 (Server Message Block) protocol handling. This vulnerability was discovered during stress testing with the Kernel Address Sanitizer (KASAN) enabled, and it has the potential to cause hard-to-debug issues later on. The problem arises because a file structure, referred to as 'cfile', is freed before it is no longer needed, creating a window where the memory can be accessed after it has been released.

Impact

Exploitation of this vulnerability can lead to a use-after-free condition, which may be exploited to cause memory corruption or arbitrary code execution.

Reproduction

The vulnerability can be reproduced by performing stress tests on the Linux kernel with KASAN enabled. During these tests, the SMB2 compound operation can be observed to exhibit the use-after-free behavior, where the 'cfile' is freed before its last usage, potentially leading to memory corruption issues.

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: Sep 18, 2025, 3:18 PM
Updated: Sep 18, 2025, 3:18 PM

Vulnerability Rating

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