CVE-2025-21947: Linux kernel · ksmbd: fix type confusion via race condition when using ipc_msg_send_request
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 8.1 High · fixed in 6.8.0-1039.41~22.04.1 : patch Linux kernel soon.
Data as of 26 Oct 2026, 11:42 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 33% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.8.0-1039.41~22.04.1, 6.8.0-1036.42~22.04.1, 6.8.0-1040.42~22.04.1 +34
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux@6.8.0-84.84?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws@6.8.0-1039.41?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure@6.8.0-1038.44?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11@6.11.0-1018.18~24.04.1?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia@6.8.0-1025.27?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp@6.8.0-1040.42?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied to affected linux-hwe-edge kernel versions. The vendor advisory from Ubuntu (USN-7605-1) confirms that this and other kernel vulnerabilities have been fixed. Users should update to the fixed kernel versions as provided by their distribution.
Description
A type confusion vulnerability in the Linux kernel's ksmbd component was resolved. The flaw arises from a race condition in ipc_msg_send_request where the same handle can be reused, causing type confusion between IPC messages and potentially allowing access to unintended memory areas. This issue affects multiple specific linux-hwe-edge kernel versions. A patch is available to address this vulnerability.
References
- ubuntu.com/security/CVE-2025-21947 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-21947 (opens in a new tab)
- git.kernel.org/linus/e2ff19f0b7a30e03516e6eb73b948e27a55bc9d2 (opens in a new tab)
- git.kernel.org/stable/c/1e8833c03a38e1d5d5df6484e3f670a2fd38fb76 (opens in a new tab)
- git.kernel.org/stable/c/3cb2b2e41541fe6f9cc55ca22d4c0bd260498aea (opens in a new tab)
- git.kernel.org/stable/c/6321bbda4244b93802d61cfe0887883aae322f4b (opens in a new tab)
- git.kernel.org/stable/c/76861630b29e51373e73e7b00ad0d467b6941162 (opens in a new tab)
- git.kernel.org/stable/c/e2ff19f0b7a30e03516e6eb73b948e27a55bc9d2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7605-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7606-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7605-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7628-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7764-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7765-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7766-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7767-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7779-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7767-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7764-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7790-1 (opens in a new tab)