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

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-2015-1328 HIGH POC
7.8 Nov 28

The overlayfs implementation in the linux (aka Linux kernel) package before 3.19.0-21.21 in Ubuntu through 15.04 does no

CVE-2017-7308 HIGH POC
7.8 Mar 29

The packet_set_ring function in net/packet/af_packet.c in the Linux kernel through 4.10.6 does not properly validate cer

CVE-2017-16995 HIGH POC
7.8 Dec 27

The check_alu_op function in kernel/bpf/verifier.c in the Linux kernel through 4.4 allows local users to cause a denial

CVE-2017-1000112 HIGH POC
7.0 Oct 05

Linux kernel: Exploitable memory corruption due to UFO to non-UFO path switch. Rated high severity (CVSS 7.0). Public ex

CVE-2015-8660 MEDIUM POC
6.7 Dec 28

The ovl_setattr function in fs/overlayfs/inode.c in the Linux kernel through 4.3.3 attempts to merge distinct setattr op

CVE-2012-0056 MEDIUM POC
6.9 Jan 27

The mem_write function in the Linux kernel before 3.2.2, when ASLR is disabled, does not properly check permissions when

CVE-2014-0038 MEDIUM POC
6.9 Feb 06

The compat_sys_recvmmsg function in net/compat.c in the Linux kernel before 3.13.2, when CONFIG_X86_X32 is enabled, allo

CVE-2016-8655 HIGH POC
7.8 Dec 08

Race condition in net/packet/af_packet.c in the Linux kernel through 4.8.12 allows local users to gain privileges or cau

CVE-2016-0728 HIGH POC
7.8 Feb 08

The join_session_keyring function in security/keys/process_keys.c in the Linux kernel before 4.4.1 mishandles object ref

CVE-2017-0561 CRITICAL POC
9.8 Apr 07

A remote code execution vulnerability in the Broadcom Wi-Fi firmware could enable a remote attacker to execute arbitrary

CVE-2022-2588 MEDIUM POC
5.3 Jan 08

It was discovered that the cls_route filter implementation in the Linux kernel would not remove an old filter from the h

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