CVE-2025-68263 in the critical feed json
ksmbd: ipc: fix use-after-free in ipc_msg_send_request
published 2025-12-16 10 mo ago modified 2026-10-15 24 d ago also EUVD-2025-203745
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 38%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 6.1.160, 6.6.120, 6.12.62, 6.17.12, 6.18.1, 6.19
- linux Debian 12 6.1.162-1
- linux Debian 13 6.12.63-1
- linux Debian 14 6.17.12-1
debian advisories DEBIAN-CVE-2025-68263
- linux Ubuntu 22.04 LTS 5.15.0-185.195
- linux Ubuntu 24.04 LTS 6.8.0-110.110
- linux Ubuntu 25.10 6.17.0-19.19
- linux-aws Ubuntu 22.04 LTS 5.15.0-1111.118
- linux-aws Ubuntu 24.04 LTS 6.8.0-1052.55
- linux-aws Ubuntu 25.10 6.17.0-1009.9
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1111.121
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1054.57
ubuntu advisories UBUNTU-CVE-2025-68263
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-source-longterm openSUSE Tumbleweed 6.18.16-1.1
- kernel-source openSUSE Tumbleweed 6.18.2-1.1
opensuse advisories openSUSE-SU-2026:10301-1openSUSE-SU-2025:15836-1
- git.kernel.org/stable/c/de85fb58f9967ba024bb08e0041613d37b57b4d1 commit
- git.kernel.org/stable/c/708a620b471a14466f1f52c90bf3f65ebdb31460 commit
- git.kernel.org/stable/c/5ac763713a1ef8f9a8bda1dbd81f0318d67baa4e commit
- git.kernel.org/stable/c/759c8c30cfa8706c518e56f67971b1f0932f4b9b commit
- git.kernel.org/stable/c/8229c6ca50cea701e25a7ee25f48441b582ec5fa commit
- git.kernel.org/stable/c/1fab1fa091f5aa97265648b53ea031deedd26235 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-68263 updated cvss 8.1
kernel: Linux kernel ksmbd: Use-after-free vulnerability allows arbitrary code execution
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 24 d ago
Exploit prediction
0.44% chance of exploitation in the next 30 days, higher than 38% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/de85fb58f9967ba024bb08e0041613d37b57b4d1
- git.kernel.org /stable/c/708a620b471a14466f1f52c90bf3f65ebdb31460
- git.kernel.org /stable/c/5ac763713a1ef8f9a8bda1dbd81f0318d67baa4e
- git.kernel.org /stable/c/759c8c30cfa8706c518e56f67971b1f0932f4b9b
- git.kernel.org /stable/c/8229c6ca50cea701e25a7ee25f48441b582ec5fa
- git.kernel.org /stable/c/1fab1fa091f5aa97265648b53ea031deedd26235
Sources
- CVE List CVE-2025-68263
- NVD CVE-2025-68263
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.