Linux Kernel CIFS Client Use-After-Free Vulnerability in Oplock Break Handling

Vulnerability

A use-after-free vulnerability has been identified in the Linux kernel's CIFS (Common Internet File System) client, specifically within the 'cifs_oplock_break' function. This vulnerability arises from a race condition that can lead to the premature release of the 'cinode' structure when unmounting a CIFS file. The issue occurs because the 'cifs_oplock_break' function continues to access the 'cinode' after the associated superblock has been released, causing a use-after-free condition. The vulnerability affects several versions of the Linux kernel.

Impact

Exploitation of this vulnerability leads to a use-after-free condition, where a memory resource is accessed after it has been freed, potentially allowing for arbitrary code execution or memory corruption.

Reproduction

To reproduce this vulnerability, mount a CIFS share and then initiate an oplock break operation while unmounting the file system. The 'cifs_oplock_break' function will access the 'cinode' structure after the superblock has been released, creating a use-after-free condition.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for upgrading the Linux kernel can be found in the official Linux kernel documentation.

Added: Aug 16, 2025, 12:44 PM
Updated: Aug 16, 2025, 12:44 PM

Vulnerability Rating

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