CWE data temporarily unavailableCWE data is currently experiencing intermittent outages, which may cause incomplete section loading on CVE pages. We are actively working on a fix.

CVE-2024-50286

Description

From CVE.org

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix slab-use-after-free in ksmbd_smb2_session_create There is a race condition between ksmbd_smb2_session_create and ksmbd_expire_session. This patch add missing sessions_table_lock while adding/deleting session from global session table.

Statement

A LOW impact slab-use-after-free vulnerability was found in the ksmbd SMB server subsystem of the Linux kernel (fs/smb/server/mgmt/user_session.c). A race condition between ksmbd_smb2_session_create and ksmbd_expire_session, caused by a missing sessions_table_lock when adding or deleting sessions from the global session table, can lead to a use-after-free on a session object. Red Hat rated this flaw LOW impact with a CVSS 3.1 score of 7.0 (AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H), which reflects a local attack vector with high attack complexity and privileges required; this differs significantly from the CVE.org record, which scores 9.8 assuming an unauthenticated network attack vector. Within the current Red Hat product scope, all Red Hat Enterprise Linux kernel and kernel-rt streams are marked not affected; only the Fedora community kernel is affected, and a fix there is being pursued through the community (delegated) update process.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score779.8
Attack VectorLocalLocalNetwork
Attack ComplexityHighHighLow
Privileges RequiredLowLowNone
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityHighHighHigh
Integrity ImpactHighHighHigh
Availability ImpactHighHighHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

NVD: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

Want to get errata notifications? Sign up here.