
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-50086 affects the Linux kernel's ksmbd component, specifically related to a race condition between SMB2 session log off and session setup operations. The vulnerability was discovered and reported by Trend Micro's Zero Day Initiative (ZDI-CAN-25282) and was fixed in October 2024. The issue affects Linux kernel versions up to (excluding) 6.1.114, versions from 6.2 up to (excluding) 6.6.58, and versions from 6.7 up to (excluding) 6.11.5 (NVD).
The vulnerability is a race condition in the Linux kernel's ksmbd (kernel SMB server) implementation that can lead to a use-after-free condition during session management. The issue occurs between SMB2 session log off and session setup operations, where a session structure could be freed while still in use. The fix implements session locking when setting SMB2_SESSION_EXPIRED and adds reference counting to the session structure to prevent premature deallocation. The vulnerability has been assigned a CVSS v3.1 base score of 7.0 (High) with vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).
The use-after-free vulnerability could potentially lead to memory corruption, allowing an attacker to execute arbitrary code with kernel privileges, cause system crashes, or escalate privileges. The vulnerability requires local access and high complexity to exploit, but could result in complete compromise of confidentiality, integrity, and availability of the affected system (NVD).
The vulnerability has been patched in various Linux kernel versions. The fix includes adding session locking and reference counting mechanisms to prevent the use-after-free condition. Users should update their Linux kernel to versions that include the fix: 6.1.114 or later for the 6.1 series, 6.6.58 or later for the 6.6 series, and 6.11.5 or later for the 6.11 series. Ubuntu has released fixes for affected versions in their security updates (Ubuntu Security).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."