๐Ÿ” CVE Alert

CVE-2025-21947

HIGH 8.1

ksmbd: fix type confusion via race condition when using ipc_msg_send_request

CVSS Score
8.1
EPSS Score
0.1%
EPSS Percentile
22th

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.

Vendor linux
Product linux
Ecosystems
Industries
Technology
Published Apr 1, 2025
Last Updated Apr 2, 2026
Stay Ahead of the Next One

Get instant alerts for linux linux

Be the first to know when new high vulnerabilities affecting linux linux are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

Linux / Linux
0626e6641f6b467447c81dd7678a69c66f7746cf < 6321bbda4244b93802d61cfe0887883aae322f4b 0626e6641f6b467447c81dd7678a69c66f7746cf < 76861630b29e51373e73e7b00ad0d467b6941162 0626e6641f6b467447c81dd7678a69c66f7746cf < 3cb2b2e41541fe6f9cc55ca22d4c0bd260498aea 0626e6641f6b467447c81dd7678a69c66f7746cf < 1e8833c03a38e1d5d5df6484e3f670a2fd38fb76 0626e6641f6b467447c81dd7678a69c66f7746cf < e2ff19f0b7a30e03516e6eb73b948e27a55bc9d2
Linux / Linux
5.15

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
git.kernel.org: https://git.kernel.org/stable/c/6321bbda4244b93802d61cfe0887883aae322f4b git.kernel.org: https://git.kernel.org/stable/c/76861630b29e51373e73e7b00ad0d467b6941162 git.kernel.org: https://git.kernel.org/stable/c/3cb2b2e41541fe6f9cc55ca22d4c0bd260498aea git.kernel.org: https://git.kernel.org/stable/c/1e8833c03a38e1d5d5df6484e3f670a2fd38fb76 git.kernel.org: https://git.kernel.org/stable/c/e2ff19f0b7a30e03516e6eb73b948e27a55bc9d2 lists.debian.org: https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html