CVE-2025-21947: linux Race Condition
Vulnerability summary
CVE-2025-21947 is a high (CVSS 8.1) Race Condition vulnerability in linux. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 30.5% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 20 · Related 18Timeline
- 01-04-2025PublishedVulnerability first disclosed.
- 05-08-2026Last 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- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.38%
Chance of exploitation in the next 30 days
Percentile
31%
Versus all other CVEs
30-day change
+0.01 pp
From 0.37% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu126 products
- linuxAll versions (No fix recorded) | < 6.8.0-84.84
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 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 · 129 products