
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-68263 is a use-after-free vulnerability in the Linux kernel's ksmbd IPC handler, specifically in the ipc_msg_send_request() function. The flaw arises from a race condition where ipc_msg_send_request() frees entry->response without holding ipc_msg_table_lock, while handle_response() may simultaneously write to the same memory under that lock. It was published on December 16, 2025, and affects Linux kernel versions with ksmbd enabled. The vulnerability carries a CVSS v3.1 base score of 9.8 (Critical) (Feedly).
The root cause is a concurrency flaw classified as CWE-416 (Use After Free). In ipc_msg_send_request(), a stack-allocated ipc_msg_table_entry is used to wait for a generic netlink reply; handle_response() fills entry->response while holding ipc_msg_table_lock, but the caller previously validated and freed entry->response without acquiring the same lock. Under high concurrency, this creates a window where handle_response() writes into already-freed slab memory, triggering a KASAN-detected slab-use-after-free in handle_generic_event(). The call chain leading to the bug is: ksmbd_rpc_open → ksmbd_session_rpc_open → ipc_msg_send_request → kvfree (Feedly). The fix ensures all accesses to entry->response are protected by ipc_msg_table_lock and that the hash entry is removed under the lock before returning the pointer to the caller.
Successful exploitation can result in memory corruption leading to denial of service, information disclosure, or arbitrary code execution on the affected host. Because the attack vector is network-based and requires no authentication or user interaction, a remote attacker could potentially compromise systems running a vulnerable Linux kernel with ksmbd enabled without any prior access. The CVSS v3.1 score reflects critical impacts across confidentiality, integrity, and availability (Feedly).
There is currently no public proof-of-concept exploit and no evidence of in-the-wild exploitation (Feedly). The EPSS score is approximately 0.018%, indicating a low current probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported. Detection plugins are available from Qualys and Tenable Nessus for identifying affected systems (Feedly).
BUG: KASAN: slab-use-after-free in handle_generic_event in the ksmbd module; stack traces referencing kvfree, ipc_msg_send_request, ksmbd_rpc_open, or ksmbd_session_rpc_open.Apply the upstream kernel patches available via the stable kernel tree (commits 1fab1fa091f5, 5ac763713a1e, 708a620b471a, 759c8c30cfa8, 8229c6ca50ce). Downstream distributions have issued advisories and updated packages: Debian addressed this in linux 6.1.162-1 (Debian LTS), and Ubuntu has released fixes across multiple USN advisories including USN-8094-1 through USN-8094-5, USN-8152-1, USN-8179-1 through USN-8179-4, USN-8184-1, USN-8185-1, USN-8185-2, USN-8203-1, USN-8258-1, USN-8260-1, and USN-8265-1 (Ubuntu Security). As an interim workaround where patching is not immediately possible, disable ksmbd if it is not required for operations, or restrict network access to SMB services.
Fix availability across major Linux distributions and their releases.
bionic
linux
bionic (esm-infra)
linux
bionic (fips-updates)
linux-fips
bionic (fips)
linux-fips
devel
linux
focal
linux
focal (esm-infra)
linux-hwe-5.15: 5.15.0-185.195~20.04.1
focal (fips-updates)
linux-fips
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."