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 Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 7 | 7 | 9.8 |
| Attack Vector | Local | Local | Network |
| Attack Complexity | High | High | Low |
| Privileges Required | Low | Low | None |
| User Interaction | None | None | None |
| Scope | Unchanged | Unchanged | Unchanged |
| Confidentiality | High | High | High |
| Integrity Impact | High | High | High |
| Availability Impact | High | High | High |
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
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.