CVE-2025-21947

ksmbd: fix type confusion via race condition when using ipc_msg_send_request

High · published April 1, 2025

CVSS v3.1
8.1
EPSS
0%
Percentile
30.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00381 · 30.9th percentile
Published
2025-04-01T15:41Z
EPSS history
Timeline
  • 01 APR 15:41Z
    ksmbd: fix type confusion via race condition when using ipc_msg_send_request
    cvelistv5