9.8
CRITICAL CVSS 3.1
CVE-2025-68263
ksmbd: ipc: fix use-after-free in ipc_msg_send_request
Description

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.

INFO

Published Date :

Dec. 16, 2025, 3:15 p.m.

Last Modified :

Oct. 15, 2026, 10:19 p.m.

Remotely Exploit :

Yes !

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2025-68263 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 CRITICAL 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
Resolve use-after-free by acquiring the correct lock during response validation and freeing.
  • Acquire ipc_msg_table_lock before validating entry->response.
  • Free entry->response and remove it from the table under the lock.
  • Return entry->response pointer only after removing the entry.
  • Return NULL in error paths to maintain API semantics.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-68263 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-68263 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-68263 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-68263 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 15, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2025-68263', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-10-15T22:00:31.238576Z'}
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 15, 2026

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/1fab1fa091f5aa97265648b53ea031deedd26235
    Added Reference https://git.kernel.org/stable/c/5ac763713a1ef8f9a8bda1dbd81f0318d67baa4e
    Added Reference https://git.kernel.org/stable/c/708a620b471a14466f1f52c90bf3f65ebdb31460
    Added Reference https://git.kernel.org/stable/c/759c8c30cfa8706c518e56f67971b1f0932f4b9b
    Added Reference https://git.kernel.org/stable/c/8229c6ca50cea701e25a7ee25f48441b582ec5fa
    Added Reference https://git.kernel.org/stable/c/de85fb58f9967ba024bb08e0041613d37b57b4d1
    Removed Reference https://git.kernel.org/stable/c/1fab1fa091f5aa97265648b53ea031deedd26235
    Removed Reference https://git.kernel.org/stable/c/5ac763713a1ef8f9a8bda1dbd81f0318d67baa4e
    Removed Reference https://git.kernel.org/stable/c/708a620b471a14466f1f52c90bf3f65ebdb31460
    Removed Reference https://git.kernel.org/stable/c/759c8c30cfa8706c518e56f67971b1f0932f4b9b
    Removed Reference https://git.kernel.org/stable/c/8229c6ca50cea701e25a7ee25f48441b582ec5fa
    Removed Reference https://git.kernel.org/stable/c/de85fb58f9967ba024bb08e0041613d37b57b4d1
  • CVE Translated by [email protected]

    Oct. 14, 2026

    Action Type Old Value New Value
    Added Translation Title: Linux, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ksmbd: ipc: corrección de uso después de liberación en ipc_msg_send_request ipc_msg_send_request() espera una respuesta genérica de netlink utilizando una entrada ipc_msg_table_entry en la pila. El gestor genérico de netlink (handle_generic_event()/handle_response()) rellena entry -> response bajo ipc_msg_table_lock, pero ipc_msg_send_request() solía validar y liberar entry -> response sin mantener el mismo bloqueo. Bajo alta concurrencia, esto permite una condición de carrera donde handle_response() está copiando datos en entry -> response mientras ipc_msg_send_request() acaba de liberarlo, lo que lleva a un uso después de liberación de slab reportado por KASAN en 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] Solución mediante: - Tomando ipc_msg_table_lock en ipc_msg_send_request() mientras se valida entry -> response, liberándolo cuando es inválido y eliminando la entrada de ipc_msg_table. - Devolviendo el puntero final entry -> response al llamador solo después de que la entrada hash sea eliminada bajo el bloqueo. - Devolviendo NULL en la ruta de error, preservando la semántica original de la API. Esto hace que todos los accesos a entry -> response sean consistentes con handle_response(), que ya actualiza y rellena el búfer de respuesta bajo ipc_msg_table_lock, y cierra la condición de carrera que permitía el UAF.
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '0626e6641f6b467447c81dd7678a69c66f7746cf', 'lessThan': 'de85fb58f9967ba024bb08e0041613d37b57b4d1', 'versionType': 'git'}, {'status': 'affected', 'version': '0626e6641f6b467447c81dd7678a69c66f7746cf', 'lessThan': '708a620b471a14466f1f52c90bf3f65ebdb31460', 'versionType': 'git'}, {'status': 'affected', 'version': '0626e6641f6b467447c81dd7678a69c66f7746cf', 'lessThan': '5ac763713a1ef8f9a8bda1dbd81f0318d67baa4e', 'versionType': 'git'}, {'status': 'affected', 'version': '0626e6641f6b467447c81dd7678a69c66f7746cf', 'lessThan': '759c8c30cfa8706c518e56f67971b1f0932f4b9b', 'versionType': 'git'}, {'status': 'affected', 'version': '0626e6641f6b467447c81dd7678a69c66f7746cf', 'lessThan': '8229c6ca50cea701e25a7ee25f48441b582ec5fa', 'versionType': 'git'}, {'status': 'affected', 'version': '0626e6641f6b467447c81dd7678a69c66f7746cf', 'lessThan': '1fab1fa091f5aa97265648b53ea031deedd26235', 'versionType': 'git'}], 'programFiles': ['fs/smb/server/transport_ipc.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.15'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.15', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.160', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.120', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.62', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.17.12', 'versionType': 'semver', 'lessThanOrEqual': '6.17.*'}, {'status': 'unaffected', 'version': '6.18.1', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/smb/server/transport_ipc.c'], 'defaultStatus': 'affected'}]
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Apr. 02, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jan. 11, 2026

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/708a620b471a14466f1f52c90bf3f65ebdb31460
    Added Reference https://git.kernel.org/stable/c/de85fb58f9967ba024bb08e0041613d37b57b4d1
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Dec. 16, 2025

    Action Type Old Value New Value
    Added Description 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.
    Added Reference https://git.kernel.org/stable/c/1fab1fa091f5aa97265648b53ea031deedd26235
    Added Reference https://git.kernel.org/stable/c/5ac763713a1ef8f9a8bda1dbd81f0318d67baa4e
    Added Reference https://git.kernel.org/stable/c/759c8c30cfa8706c518e56f67971b1f0932f4b9b
    Added Reference https://git.kernel.org/stable/c/8229c6ca50cea701e25a7ee25f48441b582ec5fa
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.