Bug 2356676 (CVE-2025-21947) - CVE-2025-21947 kernel: ksmbd: fix type confusion via race condition when using ipc_msg_send_request
Summary: CVE-2025-21947 kernel: ksmbd: fix type confusion via race condition when usin...
Keywords:
Status: NEW
Alias: CVE-2025-21947
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-01 16:05 UTC by OSIDB Bzimport
Modified: 2025-04-20 18:18 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-04-01 16:05:33 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.