CVE-2025-68263: 
Linux Debian vulnerability analysis and mitigation

Overview

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).

Technical details

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.

Impact

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).

Exploitability

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).

Indicators of compromise

  • Logs: Kernel logs containing KASAN warnings such as 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.
  • Process: Unexpected crashes or kernel panics on systems with ksmbd enabled, particularly under high SMB concurrency load.
  • Network: Anomalous or high-volume SMB (TCP port 445) connection attempts to systems running ksmbd, potentially indicative of attempts to trigger the race condition.

Mitigation and workarounds

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.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.162-1

Fixed

sid

linux: 6.17.12-1

Fixed

trixie

linux: 6.12.63-1

Fixed

Ubuntu

Fixed

bionic

linux

Not Affected

bionic (esm-infra)

linux

Not Affected

bionic (fips-updates)

linux-fips

Not Affected

bionic (fips)

linux-fips

Not Affected

devel

linux

Not Affected

focal

linux

Not Affected

focal (esm-infra)

linux-hwe-5.15: 5.15.0-185.195~20.04.1

Fixed

focal (fips-updates)

linux-fips

Not Affected

RHEL / CentOS

Affected

RHEL 8

Not Affected

RHEL 9

Not Affected

RHEL 10

Not Affected

Source: This report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-116612HIGH7.8
  • Linux Debian logoLinux Debian
  • gstreamer-editing-services1.0
NoYesOct 26, 2026
CVE-2026-115909HIGH7.5
  • Linux Debian logoLinux Debian
  • rust-zip
NoNoOct 26, 2026
CVE-2026-115907HIGH7.5
  • Linux Debian logoLinux Debian
  • rust-zip
NoNoOct 26, 2026
CVE-2026-115910MEDIUM6.8
  • Python logoPython
  • social-auth-core
NoYesOct 26, 2026
CVE-2026-2270MEDIUM5.9
  • NixOS logoNixOS
  • kubernetes
NoYesOct 26, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management