Linux Kernel ksmbd Use-After-Free Vulnerability in Session RPC Handling

Vulnerability

A use-after-free vulnerability has been identified in the Linux kernel's ksmbd component, specifically within the session RPC handling. This issue arises from a race condition between the functions ksmbd_session_rpc_open() and __session_rpc_close(), which can lead to improper memory management. The vulnerability has been addressed by adding a lock to the session to prevent this race condition.

Impact

Exploitation of this vulnerability could lead to a use-after-free condition, potentially allowing for memory corruption or arbitrary code execution.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
7.5
exploitability
3.5
remediation
0.0
relevance
0.0
threat
3.2
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.