LiveActive security incident?Get immediate response
CVE Record

CVE-2024-50286: ksmbd: fix slab-use-after-free in ksmbd_smb2_session_create

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.

CriticalCVSS 9.8Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

A race condition in the Linux kernel’s ksmbd SMB server can access freed memory while sessions are created and expired. The supplied assessment rates potential confidentiality, integrity, and availability impact as high, without authentication or user interaction. Systems not using ksmbd are less likely to reach the vulnerable path.

Executive priority

Prioritize urgent review of internet-facing or broadly reachable Linux SMB servers. Patch confirmed ksmbd deployments promptly. Systems without ksmbd exposure can be handled through normal vulnerability management after documenting why the vulnerable path is unreachable.

Technical view

CVE-2024-50286 is a CWE-416 slab use-after-free caused by concurrent ksmbd_smb2_session_create and ksmbd_expire_session operations. The correction adds the missing sessions_table_lock when sessions are added to or removed from the global session table. The supplied CVSS 3.1 score is 9.8.

Likely exposure

Exposure is most concerning where an affected Linux kernel runs ksmbd and accepts untrusted SMB connections. The supplied affected-version data names several kernel versions but does not provide sufficiently clear range boundaries for reliable inventory decisions. Confirm status through the applicable distribution or vendor advisory.

Exploitation context

The supplied record is not in KEV, and no provided source establishes active exploitation or a publicly weaponized exploit. The network-accessible, unauthenticated CVSS vector indicates serious theoretical reachability, but it does not by itself demonstrate practical exploitation.

Researcher notes

The source establishes a session-table locking defect and use-after-free, but does not document triggering reliability, crash evidence, code execution, or exploitation in the wild. Exact affected ranges should not be inferred from the flattened version list; use distribution package advisories and the cited stable commits.

Mitigation direction

  • Install a vendor-supported kernel update containing the applicable stable fix.
  • Check Linux distribution guidance for exact fixed package versions.
  • Reduce untrusted network access to ksmbd until remediation is verified.
  • Disable ksmbd where SMB server functionality is unnecessary, following vendor guidance.

Validation and detection

  • Determine whether ksmbd is installed, loaded, enabled, or configured.
  • Identify the running kernel and distribution package version.
  • Compare that version with the distribution’s CVE advisory and fixed package.
  • Confirm the installed kernel contains the applicable cited stable commit.
  • Verify SMB exposure is limited to intended networks after remediation.
Prepared
Confidence
high
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-416: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2024-50286 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.8 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
3Timeline events
2ADP providers
6Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.8CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H3.95.9Linux
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

9.8Critical
CVSS 3.1 vector shape for CVE-2024-50286Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cfunaffected
LinuxLinux5.15, 0, 6.1.117, 6.6.61, 6.11.8, 6.12affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-416 · source CWE mapping

Use After Free

Use After Free represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.