Skip to main content

Linux CVE-2025-68263

CRITICAL
2025-12-16 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Critical
Disputed · 9.8 Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Vulnerability Assessment

Impact

The CVSS 9.8 rating reflects worst-case network exploitability (AV:N, AC:L, PR:N, UI:N) with full CIA impact, indicating remote unauthenticated attackers could potentially achieve code execution, information disclosure, or denial of service. However, real-world risk requires contextualization: exploitation demands precise race condition timing in high-concurrency SMB/RPC scenarios, significantly raising practical complexity beyond the AC:L rating. The vulnerability is confined to systems running ksmbd (kernel SMB server), which is not enabled by default in most distributions and sees limited deployment compared to userspace Samba. No public exploit code identified at time of analysis, and no confirmed actively exploited status per available data. The KASAN detection suggests the issue was found through kernel fuzzing rather than observed exploitation. While the technical impact is severe (memory corruption primitive), the attack surface is limited to environments specifically deploying ksmbd with high concurrent load. Priority should align with ksmbd deployment: critical for affected systems, but lower urgency for the vast majority of Linux installations using traditional Samba.

Exploit ScenarioDerived

An attacker targets a Linux file server running ksmbd with multiple concurrent SMB client connections performing RPC operations (e.g., authenticated session establishment, share enumeration). By crafting multiple simultaneous SMB requests that trigger ksmbd_rpc_open pathways, the attacker creates high concurrency in the IPC layer where ipc_msg_send_request() and handle_response() race to access the same response buffer. Precise timing causes handle_response() to write netlink reply data into memory just freed by ipc_msg_send_request(), corrupting kernel heap structures. Depending on heap layout and attacker control over freed/reallocated objects, this memory corruption could be leveraged for information disclosure (reading freed buffer contents), denial of service (kernel crash), or potentially privilege escalation if controllable function pointers or critical data structures are corrupted. The network attack vector requires no authentication per CVSS PR:N, though practical exploitation complexity is higher than CVSS AC:L suggests due to race timing requirements.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 02, 2026

Use-after-free in Linux ksmbd IPC handler allows remote unauthenticated attackers to trigger memory corruption via race condition in generic netlink reply processing. The flaw (CVSS 9.8 critical, network-reachable) affects ksmbd's ipc_msg_send_request() function where concurrent access to response buffers occurs without proper locking. EPSS data not provided; no CISA KEV listing identified at time of analysis. Multiple upstream kernel commits available across stable branches indicate vendor-released patches exist.

RemediationAI

Update to patched Linux kernel versions containing the fixes referenced in commits 1fab1fa091f5aa97265648b53ea031deedd26235, 5ac763713a1ef8f9a8bda1dbd81f0318d67baa4e, 708a620b471a14466f1f52c90bf3f65ebdb31460, 759c8c30cfa8706c518e56f67971b1f0932f4b9b, 8229c6ca50cea701e25a7ee25f48441b582ec5fa, or de85fb58f9967ba024bb08e0041613d37b57b4d1 available at https://git.kernel.org/stable/. Consult your Linux distribution's security advisories for specific patched kernel package versions (e.g., Ubuntu, RHEL, SUSE kernels incorporate upstream stable fixes with distribution-specific versioning). As an immediate risk-reduction measure, systems not requiring in-kernel SMB server functionality should disable ksmbd module loading via kernel command line or module blacklisting. Organizations using SMB file sharing can migrate to userspace Samba as a workaround, which is unaffected by this kernel-specific vulnerability. Monitor distribution security channels for backported fixes to deployed kernel versions.

Affected ProductsAI

Linux kernel versions running the ksmbd module are affected, specifically stable kernel branches as evidenced by commits to multiple stable trees (commit hashes 1fab1fa091f5, 5ac763713a1e, 708a620b471a, 759c8c30cfa8, 8229c6ca50ce, de85fb58f996 across different branches). The ksmbd feature was introduced in Linux 5.15 and is present in subsequent mainline and long-term support kernels. Exact vulnerable version ranges are not explicitly provided in available data, but the presence of patches across multiple stable branches suggests the vulnerability existed in ksmbd since its introduction and affects 5.15+ kernels prior to patched versions. Only systems with ksmbd enabled and actively serving SMB traffic are exploitable. Vendor advisories available at the provided kernel.org git stable references.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability resides in ksmbd, the Linux kernel's in-kernel SMB3 server implementation introduced in kernel 5.15. The flaw occurs in the inter-process communication (IPC) layer that uses generic netlink sockets for communication between kernel and userspace components. Specifically, ipc_msg_send_request() allocates an ipc_msg_table_entry structure on the stack and waits for replies from generic netlink handlers. The race condition emerges because handle_response() writes to entry->response while holding ipc_msg_table_lock, but ipc_msg_send_request() validated and freed entry->response without acquiring the same lock. Under high concurrency (multiple SMB sessions/RPC operations), this creates a classic time-of-check-time-of-use window where one thread frees memory that another thread is actively writing to, triggering KASAN slab-use-after-free detection. The root cause is inadequate synchronization in concurrent memory management, representing a CWE-416 class vulnerability (Use After Free) though no CWE was formally assigned.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Medium–Critical)
Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SUSE CRITICAL
Red Hat MEDIUM

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch released
Apr 02, 2026 - 09:31 nvd
Patch available
CVE Published
Dec 16, 2025 - 15:15 nvd
CRITICAL 9.8

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: ipc: fix use-after-free in ipc_msg_send_request

ipc_msg_send_request() waits for a generic netlink reply using an ipc_msg_table_entry on the stack. The generic netlink handler (handle_generic_event()/handle_response()) fills entry->response under ipc_msg_table_lock, but ipc_msg_send_request() used to validate and free entry->response without holding the same lock.

Under high concurrency this allows a race where handle_response() is copying data into entry->response while ipc_msg_send_request() has just freed it, leading to a slab-use-after-free reported by KASAN in handle_generic_event():

BUG: KASAN: slab-use-after-free in handle_generic_event+0x3c4/0x5f0 [ksmbd] Write of size 12 at addr ffff888198ee6e20 by task pool/109349 ... Freed by task: kvfree ipc_msg_send_request [ksmbd] ksmbd_rpc_open -> ksmbd_session_rpc_open [ksmbd]

Fix by:

  • Taking ipc_msg_table_lock in ipc_msg_send_request() while validating

entry->response, freeing it when invalid, and removing the entry from ipc_msg_table.

  • Returning the final entry->response pointer to the caller only after

the hash entry is removed under the lock.

  • Returning NULL in the error path, preserving the original API

semantics.

This makes all accesses to entry->response consistent with handle_response(), which already updates and fills the response buffer under ipc_msg_table_lock, and closes the race that allowed the UAF.

Executive ViewAI

Why It Matters

CVE-2025-68263 is a critical remote code execution vulnerability in Linux ksmbd (the in-kernel SMB server) that allows unauthenticated network attackers to trigger memory corruption through a race condition in IPC message handling. This affects any organization running vulnerable Linux kernel versions with ksmbd enabled, potentially enabling complete system compromise without authentication or user interaction.

Business Impact: Severe
Compensating Controls

Vendor-released patch available through Linux distribution kernel updates. Until patching: disable ksmbd kernel module if operationally feasible; restrict network access to SMB ports (139, 445) via firewall rules to trusted subnets only; monitor for unexpected SMB connection attempts via network IDS/IPS.

Threat Intelligence Overview

EPSS Score
0.1%
Top 83% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy