Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2025-21947
PUBLISHED
More InfoOfficial Page
Assigner-Linux
Assigner Org ID-416baaa9-dc9f-4396-8d5f-8c081fb06d67
View Known Exploited Vulnerability (KEV) details
Published At-01 Apr, 2025 | 15:41
Updated At-04 May, 2025 | 07:25
Rejected At-
▼CVE Numbering Authority (CNA)
ksmbd: fix type confusion via race condition when using ipc_msg_send_request

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.

Affected Products
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • fs/smb/server/transport_ipc.c
Default Status
unaffected
Versions
Affected
  • From 0626e6641f6b467447c81dd7678a69c66f7746cf before 6321bbda4244b93802d61cfe0887883aae322f4b (git)
  • From 0626e6641f6b467447c81dd7678a69c66f7746cf before 76861630b29e51373e73e7b00ad0d467b6941162 (git)
  • From 0626e6641f6b467447c81dd7678a69c66f7746cf before 3cb2b2e41541fe6f9cc55ca22d4c0bd260498aea (git)
  • From 0626e6641f6b467447c81dd7678a69c66f7746cf before 1e8833c03a38e1d5d5df6484e3f670a2fd38fb76 (git)
  • From 0626e6641f6b467447c81dd7678a69c66f7746cf before e2ff19f0b7a30e03516e6eb73b948e27a55bc9d2 (git)
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • fs/smb/server/transport_ipc.c
Default Status
affected
Versions
Affected
  • 5.15
Unaffected
  • From 0 before 5.15 (semver)
  • From 6.1.131 through 6.1.* (semver)
  • From 6.6.83 through 6.6.* (semver)
  • From 6.12.19 through 6.12.* (semver)
  • From 6.13.7 through 6.13.* (semver)
  • From 6.14 through * (original_commit_for_fix)
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://git.kernel.org/stable/c/6321bbda4244b93802d61cfe0887883aae322f4b
N/A
https://git.kernel.org/stable/c/76861630b29e51373e73e7b00ad0d467b6941162
N/A
https://git.kernel.org/stable/c/3cb2b2e41541fe6f9cc55ca22d4c0bd260498aea
N/A
https://git.kernel.org/stable/c/1e8833c03a38e1d5d5df6484e3f670a2fd38fb76
N/A
https://git.kernel.org/stable/c/e2ff19f0b7a30e03516e6eb73b948e27a55bc9d2
N/A
Details not found