CVE-2025-21947ksmbd: fix type confusion via race condition when using ipc_msg_send_request
- 8.1HighCVSS base score
- 0.39%Exploitation in 30 daysEPSS · top 66% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 3 months later
· 3 months later
Published
- 16 months later
· 16 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADPADP (enrichment) | 3.1 | Medium4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.39% · top 66% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.1.
Affected products
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 6321bbda4244b93802d61cfe0887883aae322f4b
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 76861630b29e51373e73e7b00ad0d467b6941162
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 3cb2b2e41541fe6f9cc55ca22d4c0bd260498aea
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 1e8833c03a38e1d5d5df6484e3f670a2fd38fb76
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < e2ff19f0b7a30e03516e6eb73b948e27a55bc9d2
- affected 5.15
- unaffected < 5.15
- unaffected 6.1.131 – ≤ 6.1.*
- unaffected 6.6.83 – ≤ 6.6.*
- unaffected 6.12.19 – ≤ 6.12.*
- unaffected 6.13.7 – ≤ 6.13.*
- unaffected 6.14 – ≤ *
References
References6
- https://git.kernel.org/stable/c/6321bbda4244b93802d61cfe0887883aae322f4b (opens in a new tab)
- https://git.kernel.org/stable/c/76861630b29e51373e73e7b00ad0d467b6941162 (opens in a new tab)
- https://git.kernel.org/stable/c/3cb2b2e41541fe6f9cc55ca22d4c0bd260498aea (opens in a new tab)
- https://git.kernel.org/stable/c/1e8833c03a38e1d5d5df6484e3f670a2fd38fb76 (opens in a new tab)
- https://git.kernel.org/stable/c/e2ff19f0b7a30e03516e6eb73b948e27a55bc9d2 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-9374 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-21947)Record last updated .