Skip to main content

Linux Kernel CVE-2025-68263

CRITICAL
2025-12-16 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Critical
Disputed · 9.8 NVD
Share

Severity by source

Sources disagree (Medium–Critical)
NVD PRIMARY
9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SUSE
CRITICAL
qualitative
Red Hat
MEDIUM
qualitative

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 VectorNVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch released
Apr 02, 2026 - 09:31 nvd
Patch available
Analysis Generated
Apr 02, 2026 - 09:22 vuln.today
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.

AnalysisAI

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.

Technical ContextAI

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.

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.

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.

CVE-2022-0847 HIGH POC
7.8 Mar 10

Linux kernel contains a flaw known as 'Dirty Pipe' where improper pipe buffer flag initialization allows unprivileged lo

CVE-2025-2073 HIGH POC
8.8 Apr 16

Out-of-Bounds Read in netfilter/ipset in Linux Kernel ChromeOS [6.1, 5.15, 5.10, 5.4, 4.19] allows a local attacker with

CVE-2026-23233 HIGH POC
7.8 Mar 04

F2FS swapfile memory corruption in Linux kernel 6.6+ allows local attackers with user privileges to cause data corruptio

CVE-2025-39945 HIGH POC
7.8 Oct 04

In the Linux kernel, the following vulnerability has been resolved: cnic: Fix use-after-free bugs in cnic_delete_task

CVE-2025-39939 HIGH POC
7.8 Oct 04

In the Linux kernel, the following vulnerability has been resolved: iommu/s390: Fix memory corruption when using identit

CVE-2021-47107 HIGH POC
7.8 Mar 04

Buffer overflow in the Linux kernel NFS server (NFSD) READDIR handler allows a malicious NFS client to trigger an out-of

CVE-2025-38002 MEDIUM POC
5.5 Jun 06

CVE-2025-38002 is a security vulnerability (CVSS 5.5). Risk factors: public PoC available. Vendor patch is available.

CVE-2025-71106 MEDIUM POC
5.5 Jan 14

In the Linux kernel, the following vulnerability has been resolved: fs: PM: Fix reverse check in filesystems_freeze_cal

CVE-2025-71107 MEDIUM POC
5.5 Jan 14

In the Linux kernel, the following vulnerability has been resolved: f2fs: ensure node page reads complete before f2fs_p

CVE-2025-38089 MEDIUM POC
5.5 Jun 30

In the Linux kernel, the following vulnerability has been resolved: sunrpc: handle SVC_GARBAGE during svc auth processi

CVE-2023-53609 MEDIUM POC
5.5 Oct 04

CVE-2023-53609 is a security vulnerability (CVSS 5.5). Risk factors: public PoC available. Vendor patch is available.

CVE-2025-39949 MEDIUM POC
5.5 Oct 04

CVE-2025-39949 is a security vulnerability (CVSS 5.5). Risk factors: public PoC available. Vendor patch is available.

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

Share

CVE-2025-68263 vulnerability details – vuln.today

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