CVE-2025-21724: Linux kernel · iommufd/iova_bitmap: Fix shift-out-of-bounds in iova_bitmap_offset_to_index()
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 6.8.0-1032.34~22.04.1 : patch Linux kernel soon.
Data as of 24 Nov 2026, 19:52 UTC
Thin evidence
One scorer or none- Patch
- Available – fixed in 6.8.0-1032.34~22.04.1, 6.8.0-1034.39~22.04.1, 6.8.0-1033.35~22.04.1 +30
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Feb 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: 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 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7521-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7521-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7521-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7651-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7652-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7653-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7651-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7651-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7651-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7651-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-7651-6 (opens in a new tab)
- ubuntu.com/security/notices/USN-7737-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?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 by upgrading to Linux kernel versions 6.8.0 or later as listed in the fixedVersions. The Ubuntu advisory USN-7521-1 provides official updates addressing this and other kernel vulnerabilities. Systems running affected versions should update promptly to mitigate this issue.
Description
CVE-2025-21724 is a high-severity vulnerability in the Linux kernel's iommufd/iova_bitmap component. It involves a shift-out-of-bounds error in the function iova_bitmap_offset_to_index(), where a 32-bit integer constant is shifted by a value that can exceed 31 bits, causing undefined behavior. This issue was fixed by changing the constant to an unsigned long type to match the operand's type. The vulnerability affects multiple Linux kernel versions prior to 6.8.0 and specific older versions. A patch is available in Linux kernel versions 6.8.0 and later.
References
- ubuntu.com/security/CVE-2025-21724 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-21724 (opens in a new tab)
- git.kernel.org/linus/e24c1551059268b37f6f40639883eafb281b8b9c (opens in a new tab)
- git.kernel.org/stable/c/38ac76fc06bc6826a3e4b12a98efbe98432380a9 (opens in a new tab)
- git.kernel.org/stable/c/44d9c94b7a3f29a3e07c4753603a35e9b28842a3 (opens in a new tab)
- git.kernel.org/stable/c/b1f8453b8ff1ab79a03820ef608256c499769cb6 (opens in a new tab)
- git.kernel.org/stable/c/d5d33f01b86af44b23eea61ee309e4ef22c0cdfe (opens in a new tab)
- git.kernel.org/stable/c/e24c1551059268b37f6f40639883eafb281b8b9c (opens in a new tab)
- ubuntu.com/security/notices/USN-7521-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7521-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7521-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7651-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7652-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7653-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7651-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7651-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7651-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7651-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-7651-6 (opens in a new tab)
- ubuntu.com/security/notices/USN-7737-1 (opens in a new tab)