We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-21947

ksmbd: fix type confusion via race condition when using ipc_msg_send_request



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.

Reserved 2024-12-29 | Published 2025-04-01 | Updated 2025-05-04 | Assigner Linux

Product status

Default status
unaffected

0626e6641f6b467447c81dd7678a69c66f7746cf before 6321bbda4244b93802d61cfe0887883aae322f4b
affected

0626e6641f6b467447c81dd7678a69c66f7746cf before 76861630b29e51373e73e7b00ad0d467b6941162
affected

0626e6641f6b467447c81dd7678a69c66f7746cf before 3cb2b2e41541fe6f9cc55ca22d4c0bd260498aea
affected

0626e6641f6b467447c81dd7678a69c66f7746cf before 1e8833c03a38e1d5d5df6484e3f670a2fd38fb76
affected

0626e6641f6b467447c81dd7678a69c66f7746cf before e2ff19f0b7a30e03516e6eb73b948e27a55bc9d2
affected

Default status
affected

5.15
affected

Any version before 5.15
unaffected

6.1.131
unaffected

6.6.83
unaffected

6.12.19
unaffected

6.13.7
unaffected

6.14
unaffected

References

git.kernel.org/...c/6321bbda4244b93802d61cfe0887883aae322f4b

git.kernel.org/...c/76861630b29e51373e73e7b00ad0d467b6941162

git.kernel.org/...c/3cb2b2e41541fe6f9cc55ca22d4c0bd260498aea

git.kernel.org/...c/1e8833c03a38e1d5d5df6484e3f670a2fd38fb76

git.kernel.org/...c/e2ff19f0b7a30e03516e6eb73b948e27a55bc9d2

cve.org (CVE-2025-21947)

nvd.nist.gov (CVE-2025-21947)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-21947

Support options

Helpdesk Chat, Email, Knowledgebase