CVE-2025-21947: Linux Kernel
Medium severity, CVSS 4.7. EPSS: 0.4% chance of exploitation in the next 30 days.
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix type confusion via race condition when using ipc_msg_send_request req->handle is allocated using ksmbd_acquire_id(&ipc_ida), based on ida_alloc. req->handle from ksmbd_ipc_login_request and FSCTL_PIPE_TRANSCEIVE ioctl can be same and it could lead to type confusion between messages, resulting in access to unexpected parts of memory after an incorrect delivery. ksmbd check type of ipc response but missing add continue to check next ipc reponse.
Affected products
- Linux Linux Kernel: from 5.15, before 6.1.131 (fixed in 6.1.131); from 6.2, before 6.6.83 (fixed in 6.6.83); from 6.7, before 6.12.19 (fixed in 6.12.19); from 6.13, before 6.13.7 (fixed in 6.13.7); version 6.14 only
Published 2025-04-01. Last modified 2026-06-17.