8.1

CVE-2025-21947: ksmbd: fix type confusion via race condition when using ipc_msg_send_request

Modified
AliasesUBUNTU-CVE-2025-21947DEBIAN-CVE-2025-21947
Published 01-04-2025Last modified 05-08-2026

Vulnerability summary

CVE-2025-21947 is a high (CVSS 8.1) vulnerability in linux. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 35.4% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 8.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
8.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.39%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 24 · Related 22

Timeline

  1. 01-04-2025
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.39%

Chance of exploitation in the next 30 days

Percentile

35%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.39% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu127 products
  • linuxAll versions (No fix recorded) | < 5.15.0-202.212 | < 6.8.0-84.84
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1119.126 | < 6.8.0-1039.41
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 6321bbda4244b93802d61cfe0887883aae322f4b | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 76861630b29e51373e73e7b00ad0d467b6941162 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 3cb2b2e41541fe6f9cc55ca22d4c0bd260498aea | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 1e8833c03a38e1d5d5df6484e3f670a2fd38fb76 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < e2ff19f0b7a30e03516e6eb73b948e27a55bc9d2 | 5.15
  • linux_kernel≥ 5.15, < 6.1.131 | ≥ 6.2, < 6.6.83 | ≥ 6.7, < 6.12.19 | ≥ 6.13, < 6.13.7 | 6.14:rc1 | 6.14:rc2 | 6.14:rc3 | 6.14:rc4 | 6.14:rc5
Debian1 product
  • linux< 6.1.133-1 | < 6.12.19-1

3 vendors · 130 products

References

33 links
Show all 33 references