cbcvebase.
CVE-2025-21947
published 2025-04-01

CVE-2025-21947: 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…

PriorityP417medium4.7CVSS 3.1
AVLACHPRLUINSUCNINAH
EPSS
0.36%
28.8th percentile
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

22 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.133-1 (bookworm)linux 6.1.133-1 (bookworm)
debianlinux-6.1< linux 6.1.133-1 (bookworm)linux 6.1.133-1 (bookworm)
linuxlinux
linuxlinux>= 0626e6641f6b467447c81dd7678a69c66f7746cf < 6321bbda4244b93802d61cfe0887883aae322f4b6321bbda4244b93802d61cfe0887883aae322f4b
linuxlinux>= 0626e6641f6b467447c81dd7678a69c66f7746cf < 76861630b29e51373e73e7b00ad0d467b694116276861630b29e51373e73e7b00ad0d467b6941162
linuxlinux>= 0626e6641f6b467447c81dd7678a69c66f7746cf < 3cb2b2e41541fe6f9cc55ca22d4c0bd260498aea3cb2b2e41541fe6f9cc55ca22d4c0bd260498aea
linuxlinux>= 0626e6641f6b467447c81dd7678a69c66f7746cf < 1e8833c03a38e1d5d5df6484e3f670a2fd38fb761e8833c03a38e1d5d5df6484e3f670a2fd38fb76
linuxlinux>= 0626e6641f6b467447c81dd7678a69c66f7746cf < e2ff19f0b7a30e03516e6eb73b948e27a55bc9d2e2ff19f0b7a30e03516e6eb73b948e27a55bc9d2
linuxlinux_kernel
linuxlinux_kernel>= 0 < 6.1.133-16.1.133-1
linuxlinux_kernel>= 0 < 6.12.19-16.12.19-1
linuxlinux_kernel>= 0 < 6.12.19-16.12.19-1
linuxlinux_kernel>= 0 < 6.8.0-84.846.8.0-84.84
linuxlinux_kernel>= 5.15 < 6.1.1316.1.131
linuxlinux_kernel>= 6.13 < 6.13.76.13.7
linuxlinux_kernel>= 6.2 < 6.6.836.6.83
linuxlinux_kernel>= 6.7 < 6.12.196.12.19
msrcazl3_kernel_6.6.82.1-1_on_azure_linux_3.0
msrcazl3_kernel_6.6.85.1-2_on_azure_linux_3.0
msrccbl2_kernel_5.15.186.1-1_on_cbl_mariner_2.0
msrccbl2_kernel_5.15.200.1-1_on_cbl_mariner_2.0
msrccbl2_kernel_5.15.202.1-1_on_cbl_mariner_2.0

CVSS provenance

nvdv3.14.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.9MEDIUM
vendor_debian8.1HIGH
vendor_redhat8.1HIGH
vendor_ubuntu5.9MEDIUM
vendor_msrc4.7MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.