CVE-2025-21947

High

Description

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.

SeverityHigh
CVSS8.1
Exploit probability—
ProductLinux Kernel
PublishedApr 1, 2025
First seenApr 1, 2025

How to fix

Update
  • linux linux_kernel6.1.131, 6.6.83, 6.12.19, 6.13.7 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.15 ≤ v < 6.1.131, 6.2 ≤ v < 6.6.83, 6.7 ≤ v < 6.12.19, 6.13 ≤ v < 6.13.7, 6.146.1.131, 6.6.83, 6.12.19, 6.13.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-21947 · Linux Kernel · Dark Radar